Quantcast
Channel: Ignite Realtime : All Content - Openfire Plugins
Viewing all 488 articles
Browse latest View live

Content Filter Plugin not working

$
0
0

Hello,

 

 

I have recently installed OpenFire 3.10.2 and Spark 2.7.2.  I installed the content filter plugin, but can't get it to trigger even with the simple example of "fox,dog". 

 

 

Content Filer Settings:

 

Filter: Enabled

Pattern:  "fox,dog"

On Content Match:  Reject

Rejection Notification:  Disabled

Content Match Notification:  Disabled

 

 

As a test I send a colleague a single message of fox (or dog) but nothing happens, the message is sent and received normally. 

 

 

Can anyone assist, let me know what can possible be wrong?

 

 

Thanks,

Luis


Openfire dans elastix

$
0
0

salut,

je suis débutant de voip. j'ai installé elastix et openfire après. mais mon problème est que je ne trouve aucun plugin après avoir cliqué su available plugins.

s'il vous plait. aidez moi

Get/Set user Private Storage via REST API

$
0
0

It would be nice to have ability to read and write user private storage via REST api.

It would help make flex scripts to add chat rooms for users.

Or It is possible now?

I've tried "GET /users/{username}" but properties are empty.

Client management: Nick in Group Chat Bookmarks

$
0
0

There is an optional attribute "nick" in XEP-0048. It is very useful because it is better see "John Doe" instead of "doe.j" in chat room.

It would be nice to have ability to point nick then creating "Group Chat Bookmark" (actually field of user properties, like "username", "Name" or may be "Email") that will be replaced by real value of users properties.

REST API , get sessions of resource name.

Parse a Custom Extension from Message

$
0
0

I am developing an XMPP based application, where I am sending and receiving custom xml extensions on Android devices as Extension with Message stanzas. As of now they are working fine. Now I am developing a Plug-In (Offline Message Listener) for sending notifications to device from Open Fire. So is it Possible to parse the get extension from Message packets in my plug-in?

 

I have gone through org.xmpp.packet.PacketExtension but, not very clear of how to add it and there is no toXML, Provider implementations as like I had in Smack. Thanks in advance..

Multiple administrators on Openfire

$
0
0

I want to develop a plugin for Openfire to differ users as :

   - Super Admin : who can manage everythinh (Already exists as the normal administrator of Openfire)

   - Administrators  who can manage THEIR users, chatrooms, conference services; ..

PS : Administrators can't manage server configuration like ports, memory; ..

Any suggestions are welcome, Thanks

NullPointerException charsetName using maven openfire plugin

$
0
0

Hello everybody,

I want to create an Openfire plugin. When I add a jsp file in my plugin project and launch a build using the maven openfire plugin, the following error occured:

 

java.lang.NullPointerException: charsetName

        at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:99)

        at org.apache.jasper.compiler.JDTJavaCompiler.getJavaWriter(JDTJavaCompiler.java:1 20)

        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362)

        at org.apache.jasper.JspC.processFile(JspC.java:1137)

        at org.apache.jasper.JspC.execute(JspC.java:1306)

        at com.reucon.maven.plugin.openfire.jspc.JspcMojo.compile(JspcMojo.java:279)

        at com.reucon.maven.plugin.openfire.jspc.JspcMojo.execute(JspcMojo.java:196)

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPlugi nManager.java:132)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lifecyc leModuleBuilder.java:116)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lifecyc leModuleBuilder.java:80)

        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilde r.build(SingleThreadedBuilder.java:51)

        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.j ava:120)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)

        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java: 289)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.jav a:415)

        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

[ERROR] Failed to execute goal com.reucon.maven.plugins:maven-openfire-plugin:1.0.2:jspc (default-jspc) on project cle-openfire-pl

ugins-check-msg: Failure processing jsps -> [Help 1]

 

Could you tell me how can I do to resolve this problem, please?


Not working voice/video in app.

$
0
0

Hi all!

 

I have problem in start video\voice talk on my OpenFire/borsh & Apache2/Jappix server.

I install stun-plagin on OpenFire and launch him.

When I start a call, and we passed the time with a colleague did not hear or see only a black screen (if video)

I try check logs, but not found problems.

Next i try install Jappix plagin. If i give hime rules openfire:openfire him deliting in folder /plugins.

Then i try not give 777 or give user him and work on root:root

i instal this plagin. but not found admin panel. Voice\video too not work.

In page plugins in OpenFire he periodically appears and disappears.

 

Yesterday I asked a question on open_channel, and I suggested using Openfire Meetings. I have installed the plug-in and plug-on chrome, but unfortunately it does not work the sound and video. Connected users, and I see the same outgoing traffic from them. He show the fact that the screen resolution -1 -1.(black screen)

 

What me can make, for work voice/video in this app?

Client Control Plugin install issue

$
0
0

I'm running into a curious issue installing the client control plugin and was hoping for some feedback.

I'm getting a warning: org.jivesoftware.openfire.container.PluginManager - Ignoring plugin clientcontrol: requires server version org.jivesoftware.util.Version@1c8ab1e

 

Which is kind of a strange warning. I'm not sure if it's implying it doesn't recognize the plugin as designed for a server rather than a client or rather that client control version 1.3.1 isn't supported on Openfire 3.10.2 which seems equally strange since this plugin was just released a few weeks ago.

 

There doesn't appear to be any thing in the error log regarding this.

 

Anyone happen to have any thoughts on this?

 

Thanks!

 

Alex

REST API Plugin issues

$
0
0

Greetings,

 

I am writing a client on Python, and found these issues:

 

  • When "update a chat room" endpoint used, if optional parameters are not specified explicitly, they are reset to default. But, in contrast, "update user" endpoint works better. If parameter not given, or value is None, then old value used.
  • No shared groups functionality
  • No delayed lockouts support

 

I'm not an expert in Java, and will be happy if you pay attention to these defects, and add them to your TODO

Thank you for your work!

RestAPI development environment problem

$
0
0

Hi,

 

We want so setup a development environment with openfire and the restAPI plugin.

we followed this setup manual as to how to setup the environment and it worked perfectly.

Openfire Plugins Setup Guide For Eclipse

 

We moved on to working on the plugin and followed the restAPI tutorial plugin.

However upon running the plugin we started getting some errors.

we first got a null pointer exception here:

(line 51 of the class JerseyWrapper --- > JerseyWrapper.class.getPackage().getName())

we read online that some classloaders might fail using this on the initiation phase, so we just replaced it with the text it should have returned.

 

Upon doing that we reached a new exception (listed below).

All our instinct are saying that this is probably something in our setup that is wrong, however we can't seem to find it, any chance you have a lead for us?

 

2015.11.16 11:01:30 org.jivesoftware.openfire.container.PluginServlet - Cannot cast com.sun.jersey.server.impl.container.WebApplicationProviderImpl to com.sun.jersey.spi.container.WebApplicationProvider

java.lang.ClassCastException: Cannot cast com.sun.jersey.server.impl.container.WebApplicationProviderImpl to com.sun.jersey.spi.container.WebApplicationProvider

  at java.lang.Class.cast(Unknown Source)

  at com.sun.jersey.spi.service.ServiceFinder$LazyObjectIterator.hasNext(ServiceFind er.java:833)

  at com.sun.jersey.spi.container.WebApplicationFactory.createWebApplication(WebAppl icationFactory.java:64)

  at com.sun.jersey.spi.container.servlet.ServletContainer.create(ServletContainer.j ava:394)

  at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.crea te(ServletContainer.java:309)

  at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:603)

  at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207)

  at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.jav a:376)

  at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.jav a:559)

  at javax.servlet.GenericServlet.init(GenericServlet.java:244)

  at org.jivesoftware.openfire.plugin.rest.service.JerseyWrapper.init(JerseyWrapper. java:154)

  at org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServle t.java:179)

  at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :464)

  at org.jivesoftware.openfire.container.PluginManager.access$1(PluginManager.java:2 78)

  at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1072)

  at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

  at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (Unknown Source)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n Source)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

  at java.lang.Thread.run(Unknown Source)

Fastpath integration with mobile app

$
0
0

Hi,

I have openfire configured and it's working fine for desktop chat using my custom application and Spark. I am trying to explore the options if we can use any existing mobile app to get the agent chat notifications directly on mobile so that we can use mobile to respond the chat.

 

I have tried many android XMPP chat apps but I was not able to connect with any of them.  At last I installed IM+ on my adnriod device and atleast I was able to connect to my openfire server using my IM+ app on my android device. In openfire we are using FastPath for routing.

 

Now my problem is - when I logged in from mobile I can see the user in my open fire user and sessions list as ONLINE. But the same user is not showing in the FastPath/Workgroup as ONLINE.

 

Question:

 

Is there anyway that if the user is online then he should be online in workgroup as well. In Spark client its working fine but in IM+ its not working. I am trying to find out if I can use IM+ for my agent chat. Please help. If you know any other mobile app which support fastpath then please share. I would really appreciate this. For reference I have attached the screenshot of openfire's users and fastpath page.

 

Thanks,

Salk

remote-server-not-found

$
0
0

Hello everybody,
I'm new here...

 

I have a question : What am I doing wrong ... I can start the meeting in a conference room and see me .. but if I want to send a message I get the message that the message was not sent. Other users I can not invite , the space will created stands

 

 

Log in I see this error message:

"<message to=\"ofmeet441@chat.inspiredweb.ch/ofmeet441\" from=\"conference@conference.chat.inspiredweb.ch\" type=\"error\"><error code=\"404\" type=\"cancel\"><remote-server-not-found xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\"/></error></message>"

 

Can someone please help me?

client control plugin ignored not showing in my available plugins.

$
0
0

client control plugin ignored not showing in my available plugins.It says ignoring client control ,req version .I tried to download a previous version 1.2 but still no change.

 

 

I am using windows 8 plz help anyone


completely disabling adding new user, save security audits to custom database

$
0
0

hi everybody,

 

I recently set up a new openfire server with a custom database but I am new to openfire and have two questions (searched forum for two days found nothing);

1.Is it possible to prevent both user registeration and admin to create new accounts? so only existing users from an existing custom datatable could be join to server.

2.Can I save security audits to custom datatable.

 

thanks in advance

Blank page In Server Settings -> Rest API plugin

$
0
0

Hi,

 

We have installed Openfire 3.101.13.

We have installed plugin Rest API.

We need to consume rest api for adding roster entry, creating room and adding users to room.

 

but when are navigating to server settings -> REST API for setting secure key; only blank page occurs.

same case when we tried to open .../restapi/v1/users url, it's also blank.

 

we tried to consume rest api using one of the rest clients, then it throws 404 NOT found exception.

 

if anyone knows, please help.

 

I think, below error gets logged in debug / error

 

2015.11.25 20:21:58 org.jivesoftware.openfire.container.PluginServlet - javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletCon text;)Ljavax/servlet/jsp/JspApplicationContext;

java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletCon text;)Ljavax/servlet/jsp/JspApplicationContext;

  at org.jivesoftware.openfire.plugin.restAPI.rest_002dapi_jsp._jspInit(rest_002dapi _jsp.java:47)

  at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:79)

  at org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServle t.java:179)

  at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :458)

  at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :76)

  at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1068)

  at org.jivesoftware.openfire.container.PluginManager.installPlugin(PluginManager.j ava:191)

  at org.jivesoftware.openfire.update.UpdateManager.downloadPlugin(UpdateManager.jav a:285)

  at org.jivesoftware.openfire.update.PluginDownloadManager.installPlugin(PluginDown loadManager.java:68)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at uk.ltd.getahead.dwr.impl.ExecuteQuery.execute(ExecuteQuery.java:248)

  at uk.ltd.getahead.dwr.impl.DefaultExecProcessor.handle(DefaultExecProcessor.java: 48)

  at uk.ltd.getahead.dwr.impl.DefaultProcessor.handle(DefaultProcessor.java:81)

  at uk.ltd.getahead.dwr.AbstractDWRServlet.doPost(AbstractDWRServlet.java:162)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1669)

  at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:159)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

  at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

  at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)

  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

  at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 3)

  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:11 27)

  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

  at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185 )

  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:106 1)

  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

  at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:215)

  at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:110)

  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

  at org.eclipse.jetty.server.Server.handle(Server.java:497)

  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)

  at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

  at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)

  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )

  at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

  at java.lang.Thread.run(Unknown Source)

 

Regards,

Sachin Shinde

REST API Installation Problem

$
0
0

Hi everybody, I am new in OPENFIRE and I need help with the installation of the RESTAPI plugin.

 

I have installed the last stable version of the Openfire server (3.10.3) on a Windows platform and everything works great. Now I need to install the rest api plugin but I have some issues:

 

I have installed the last version of the REST Api plugin (1.2.1) through the admin control.

 

The installation of the plugin has not produced any error. After the plugin installation, I have checked that a new file "restAPI.jar" and a new folder "restapi" have been created in  "C:\Program Files\Openfire\plugins\restapi", and I also see that a new menu item "REST API" has been added under the menu "Server->Server Settings" in the admin control website.

 

The problem is that when I click on this REST API item, I am forwarded correctly forwarded to  http://127.0.0.1:9090/plugins/restapi/rest-api.jsp but instead of getting a page to configure the plugin I get a blank page : <html><head><style type="text/css"></style></head><body></body></html>. Furthermore, the REST/HTTP requests that I send to the  Openfire server do not seem to work.

 

Am I missing something? I have installed other plugins on the server(Monitoring Service, DB Access ,...) without any issue.

 

PS: I have seen in the changelog file of the Api plugin (1.2.1) the following information:

 

"1.2.0 -- October 12th, 2015

  • [OF-953] - Updated JSP libraries.
  • Requires Openfire 3.11.0."

The version of Openfire that I have installed is 3.10.3. Could there be an incompatibility between Openfire 3.10.3 and the REST Api plugin 1.2.1?

How long openfire(XMPP) server maintains user's chat history?

$
0
0

I am new to openfire server. I need to know how long openfire(XMPP) server maintains user's chat history ?

Missing "presenceStatus" from Rest API plugin (.../v1/sessions)

$
0
0

Hello,

 

I am on Openfire 3.10.3 and using REST Api plugin (1.1.6).

I want to list all available sessions with call ...http://example.org:9090/plugins/restapi/v1/sessions

It works fine, except one thing, it is not returning "presenceStatus" in Json response, even in documentation this field is not marked as optional.

The same situation is with "node" response parameter. All other fields are returned, even "resource" which is optional.

 

Is there something which is affecting if "presenceStatus" is available in the response ? (some configuration, environment setup).

Or is just documentation wrong and it is not implemented at all ?

 

Thanks

Viewing all 488 articles
Browse latest View live