Quantcast
Channel: Ignite Realtime : Discussion List - Openfire Plugins
Viewing all 531 articles
Browse latest View live

Need OpenArchive 1.0.5 jar file

$
0
0

Hi All,

 

I have installed monitoring.jar file. Now I am able to store chat messages in "ofMessageArchive" table. I am using openfire 4.0.2. Please provide me  OpenArchive 1.0.5 to get chat history of the two users.

Presently what every code i am using i am getting "service-unavailable". Please help me on this.

 

thank you

Vijaya


Ofmeet with APP Android SDK - URL Server

$
0
0

Hi,

 

I am configuring the app to jitsi.

 

I have Openfire 4.1.5 and Ofmeet 0.9.1

 

Have you the steps to configuring these app for mobile?

 

Thanks very much.

Custom Interceptor Plugin - Configuring caches

$
0
0

Hi guys, (urgent issue)

    I have a problem here i think.

    I was given a project related with openfire server, and one of them includes custom plugin(say PluginA). So this plugin intercepts messages and writes to database(custom tables that were added, group tables, message related tables and etc, basically it kinda similar to default tables provided by openfire).

   Problem is current project performance is really low, and that is definitely related to this plugin. I assume even i configure cashes( How to configure Openfire's caches ) related to roster, groups,messages and etc, that won't help.

   So i was wondering if there is any way to say/command/configure openfire to take control of plugin write/reads from database? So that i can define custom caches related to plugin.

  I probably lost you guys, basically what i need is to configure caches of custom plugin. Is there any way? Or do i need to redo the project?

 

regards,

smarty

Getting ClassNotFoundException when accessing object across cluster

$
0
0

Hi,

I'm trying to develop my own plugin which makes use of Openfire's caching. In my plugin, I create a Cache (org.jivesoftware.util.cache), myMap, mapping types String to MyClass. MyClass implements Externalizable, overwriting writeExternal() and readExternal(). I'm able to succesfully cluster my Openfire servers, but when I call myMap.get(...), I get the following error stack in Openfire's log every time:

 

...exception...

...

Caused by: java.io.IOException: Problem reading Externalizable class : com.mypackage.MyClass, exception: java.lang.ClassNotFoundException: com.mypackage.MyClass

at com.hazelcast.nio.DefaultSerializer$Externalizer.read(DefaultSerializer.java:35 1)

at com.hazelcast.nio.DefaultSerializer$Externalizer.read(DefaultSerializer.java:33 1)

at com.hazelcast.nio.DefaultSerializer.read(DefaultSerializer.java:138)

at com.hazelcast.nio.CustomSerializerAdapter.read(CustomSerializerAdapter.java:32)

at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:121)

... 43 more

 

...

...

 

I'm trying to figure out what I'm doing wrong and was wondering if anyone knew what I would need to do to fix this issue. Thanks in advance for any help.

Websocket plugin fails to build

$
0
0

Hi guys,

   I am trying to build existing websocket plugin myself. So i cloned openfire(GitHub - igniterealtime/Openfire: A XMPP server licensed under the Open Source Apache License. ), then went to /src/plugins/websocket. (using ubuntu 16.04 OS). Then executed 'mvn clean install'. Here is the error i got:

   [ERROR] Failed to execute goal on project websocket: Could not resolve dependencies for project org.igniterealtime.openfire.plugins:websocket:jar:1.2.0: The following artifacts could not be resolved: org.apache.mina:mina-core:bundle:2.0.7, org.apache.mina:mina-integration-beans:bundle:2.0.7, org.apache.mina:mina-integration-ognl:bundle:2.0.7: Failure to find org.apache.mina:mina-core:bundle:2.0.7 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

Monitoring Plugin duplicates

$
0
0

Hi everyone,

we have been using Openfire for several years and are generally fond of the monitoring plugin, recently our company started using XEP-0203 delayed delivery, but we found that on the occasions when a message gets delivered more than once due to delay resends the monitoring plugin registers the delay stanzas as separate messages.

Whereas it would seem more appropriate to check the contained message stanza and forego saving if the message is already present in the database with the same data.

This could also be done by checking the passed message id of course.

.For example:

given the query:

 select  from ofMessageArchive where body LIKE 'prova2'\G

 

   I get these results:

 

mysql> select from ofMessageArchive where body LIKE 'prova2'\G ** 1. row *       messageID: 11 conversationID: 4         fromJID: exampleSender@server.com fromJIDResource: 7fia6mub8l           toJID: exampleRecipient@server.com   toJIDResource: NULL        sentDate: 1500990939036          stanza: <message to="exampleRecipient@server.com" type="chat" id="1500990929951:msg" from="exampleSender@server.com/7fia6mub8l"><body>prova2</body><request xmlns="urn:xmpp:receipts"/><active xmlns="http://jabber.org/protocol/chatstates"/></message>            body: prova2 * 2. row *       messageID: 13 conversationID: 4         fromJID: exampleSender@server.com fromJIDResource: 7fia6mub8l           toJID: exampleRecipient@server.com  toJIDResource: NULL        sentDate: 1500990952939          stanza: <message to="exampleRecipient@server.com" type="chat" id="1500990929951:msg" from="exampleSender@server.com/7fia6mub8l"><body>prova2</body><request xmlns="urn:xmpp:receipts"/><active xmlns="http://jabber.org/protocol/chatstates"/><delay xmlns="urn:xmpp:delay" stamp="2017-07-25T13:55:39.036Z" from="liveboxcloud.com"/></message>            body: prova2 2 rows in set (0.00 sec)

 

The plugin also registers exact duplicate messages on occasion (Probably due to misinterpreting forwarded messages (XEP 0198).

 

On a separate note, I understand the need to bundle, but it would be a lot easier to customize/rebuild said plugin if it belonged to a separate repository, nor is there any easy way to check that if I am running Openfire 4.0.4 I would have to use version 1.53? 1.54 unless I checkout the entire project at the openfire version tag.

Or is there a separate recommended approach?

 

As a last request, would it be possible to make the DB persistence task schedule customizable? There is no reason to keep at a minute on lightly loaded servers and heavily loaded servers get stuck with it.

 

Thanks in advance and I look forward to your input,

Paolo

 

Edited due to formatting issues Messaggio modificato da Paolo Manili

OfMeet 0.9.1, Openfire 4.1.5, Chrome 59 : No video

$
0
0

Hi all,

 

I have some problem with last version of OFMeet (LAN and WAN access).

I can create a new conference on url "https://<host>:7443/ofmeet/jitsi-meet/<confName>" and connect to it.

I can see all participants in chat room and chat with them. But I can't see their video. Everything is OK on my localhost, i can see my video but not the others.

My configuration and tests :

- Windows Server 2016, Openfire 4.1.5, OfMeeting 0.9.1
- AD authentification
- I create (in AD) a new user called "focus". I put his password in "Focus Password" field of Openfire Meeting module.

- Anonymous connections are allowed (Server settings)

- In "Meeting > Summary", I never see conferences in array.

- In "Chatroom" i can see the room. Number of participants never include "focus user".

 

Openfire infos events logs :

2017.07.28 09:37:15 org.jitsi.jicofo.xmpp.FocusComponent - Focus request for room: test10@conference.<myhost>.fr

2017.07.28 09:37:15 org.jitsi.jicofo.FocusManager - Created new focus for test10@conference.<myhost>.fr@<myhost>.fr conferences count: 1 options:

channelLastN: -1

enableLipSync: false

useRoomAsSharedDocumentName: false

startAudioMuted: 9

stereo: false

startBitrate: 800

startVideoMuted: 9

enforcedBridge: jitsi-videobridge.<myhost>.fr

openSctp: true

disableRtx: true

2017.07.28 09:37:30 org.jitsi.jicofo.FocusManager - Focus idle timeout for test10@conference.<myhost>.fr

2017.07.28 09:37:30 org.jitsi.jicofo.FocusManager - Disposed conference for room: test10@conference.<myhost>.fr conference count: 0

 

What is wrong ?

 

Thanks for help.

Openfire Meetings 0.9.1 install error

$
0
0

Trying to install openfire Meetings and Openfire Focus Provider on openfire 4.1.5 get unzip error

 

2017.07.21 18:29:25 org.jivesoftware.openfire.container.PluginMonitor - An exception occurred while trying to extract plugin 'ofmeet':

java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:219)

at java.util.zip.ZipFile.<init>(ZipFile.java:149)

at java.util.jar.JarFile.<init>(JarFile.java:166)

at java.util.jar.JarFile.<init>(JarFile.java:130)

at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.unzipPlugin(Plugi nMonitor.java:347)

at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor .java:184)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (ScheduledThreadPoolExecutor.java:180)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:294)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:748)

2017.07.21 18:29:25 org.jivesoftware.openfire.container.PluginMonitor - An exception occurred while trying to extract plugin 'offocus':

java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:219)

at java.util.zip.ZipFile.<init>(ZipFile.java:149)

at java.util.jar.JarFile.<init>(JarFile.java:166)

at java.util.jar.JarFile.<init>(JarFile.java:130)

at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.unzipPlugin(Plugi nMonitor.java:347)

at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor .java:184)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (ScheduledThreadPoolExecutor.java:180)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:294)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:748)


Openfire admin console not login after changing the domain ip address for active directory

$
0
0

Hi ,

 

Could you please suggest us the process to fix the issue.

 

We have changed AD IP address, due to this we are unable to login to open fire server console and spark client not able to login.

 

AD IP address : 192.168.1.50 changed to 192.168.4.8

 

Open fire server ip address : 192.168.4.4

 

Regards,

Ramesh Akula@

Openfire does not Synchronize Multi-User-Chat Rooms created by the Rest-API

$
0
0

Hi,

I have 2 Openfire clustered with the Halzelcast-plugin. Additionally I have installed the Rest-API plugin.

 

So I have this behaviour: If I trigger a multi-user-chat-room create with the RestApi plugin the room is created correctly in the Openfire on which I executed the rest call.

The created group is also available in the second Openfire but it seems that not all properties have been synchronised.

 

Below I attached some screenshots for the node where I created the room:

nodeA.PNG

And this is a Picture for the Node the secound Node:

NodeB.PNG

It seems that the room is created correctly but after the room is created, some properties are not synchronized via the hazelcast plugin.

If the group gets created via the admin GUI, everything works fine across the whole cluster.

 

Is this a bug?

openfire ofmeet

$
0
0

Who has ofmeet 0.1.7 version of the resources, I can not find this resource, trouble sent me, thank you very much!

Viewing all 531 articles
Browse latest View live