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

Packet filter plugin corrupted

$
0
0

Hello Guys,

 

I installed packet filter plugin but somehow it didn't work properly. I wanted to delete it from Plugins and reinstall it but it doesn't appear in my Plugins again.

I receive this 'Plugin uploaded successfully. It may take a short time for the plugin to appear in the list of installed plugins. ' message in green but minutes later nothing happens.

The plugin stil missing a swell as my rules.

 

My Openfire version is 4.0.2

My .jar of packet plugin is the latest 3.3.0.

 

Is the packet filter plugin corrupted ? How can we restore the rules if it is ?

 

Thank you guys,

Dave


Hazelcast will not start on either server

$
0
0

@Tom Evans

 

Hey Tom, maybe you can help. I've had the Hazelcast Clustering plugin working for a while. I recently upgraded Openfire from 3.10.3 to 4.0.2 and at some point last night I had to force OpenFire to shut down via task manager on Windows 2012 R2. The server would not stop when I tried to make it stop, so I had to kill the task manually. Ever since then, I cannot get the Hazelcast plugin to work. I get it installed on both servers and when I try to enable it and click save, it just sits there thinking and thinking and never does anything. \

 

I tried removing the plugin and then reinstalling it on both servers but this keeps happening.

 

My LAN IPs match what the default config file is set to use: 10.10.1.10 and 10.10.1.11 for those 2 servers. I also tried editing that file and making the following changes:

 

        <join>              
    <multicast enabled="false"/>

              
    <tcp-ip enabled="true">

              
      <member>10.10.1.10:5701</member>

              
      <member>10.10.1.11:5701</member>

    </tcp-ip>

              
    <aws enabled="false"/>

     </join>

        <interfaces enabled="true">

           <interface>10.10.1.*</interface>

       </interfaces>

Monitoring plugin

$
0
0

Since installing OF 4.0.2 the server stopped archiving messages. I have updated to the latest version (1.5.1) of the Monitoring plugin and still no success. Has anyone come across this yet, or have a suggestion for a fix?

 

Thanks

Error connecting Spectrum2 with OpenFire 4

$
0
0

Hello experts,

 

I have setup Openfire with Spectrum2 as per the document but Spectrum2 is unable to connect to Openfire due to below error in the OF logs.

 

2016.05.31 18:09:37 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: <stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to="x.y.com" version="1.0">

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

        at java.lang.String.substring(String.java:1911)

        at org.jivesoftware.openfire.session.LocalComponentSession.createSession(LocalComp onentSession.java:115)

        at org.jivesoftware.openfire.net.ComponentStanzaHandler.createSession(ComponentSta nzaHandler.java:218)

        at org.jivesoftware.openfire.net.StanzaHandler.createSession(StanzaHandler.java:64 1)

        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:134)

        at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceive d(DefaultIoFilterChain.java:690)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

        at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapte r.java:109)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

        at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flus h(ProtocolCodecFilter.java:407)

        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:236)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

        at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)

        at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)

        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(Ordere dThreadPoolExecutor.java:769)

        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(Order edThreadPoolExecutor.java:761)

        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThr eadPoolExecutor.java:703)

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

 

Can someone help me out on this?. I am clueless here.

 

This is the error in Spectrum2 logs

2016-05-31 18:09:52,878 INFO  XMPPFrontend: Connecting XMPP server 127.0.0.1 port 5275

2016-05-31 18:09:52,878 INFO  Component.RAW: RAW DATA OUT <?xml version="1.0"?><stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to="x.y.com" version="1.0">

2016-05-31 18:09:52,882 INFO  Component: Disconnected from Frontend server. Error: Connection read error

 

My Server is Ubuntu 14.04, Thanks              

Openfire 4.0.2 and REST API Plugin 1.2.3. Unable to Authenticate.

$
0
0

Hi All,

 

I am new to Openfire. Currently installed the version 4.0.2 on Ubuntu 14.04 LTS along side I have the REST API plugin installed.

 

I am trying to do a simple GET to fetch the current users in the system of which only exists the admin at the moment.

 

The following is the response I am getting

 

class Guzzle\Http\Message\Response#1606 (10) {  protected $body =>  class Guzzle\Http\EntityBody#1596 (6) {    protected $contentEncoding =>    bool(false)    protected $rewindFunction =>    NULL    protected $stream =>    resource(1407) of type (stream)    protected $size =>    int(4046)    protected $cache =>    array(9) {      'wrapper_type' =>      string(3) "PHP"      'stream_type' =>      string(4) "TEMP"      'mode' =>      string(3) "w+b"      'unread_bytes' =>      int(0)      'seekable' =>      bool(true)      'uri' =>      string(10) "php://temp"      'is_local' =>      bool(true)      'is_readable' =>      bool(true)      'is_writable' =>      bool(true)    }    protected $customData =>    array(1) {      'default' =>      bool(true)    }  }  protected $reasonPhrase =>  string(2) "OK"  protected $statusCode =>  int(200)  protected $info =>  array(26) {    'url' =>    string(67) "https://127.0.0.1:9091/login.jsp?url=%2Fplugins%2Frest%2Fv1%2Fusers"    'content_type' =>    string(24) "text/html; charset=UTF-8"    'http_code' =>    int(200)    'header_size' =>    int(253)    'request_size' =>    int(187)    'filetime' =>    int(-1)    'ssl_verify_result' =>    int(18)    'redirect_count' =>    int(0)    'total_time' =>    double(0.03786)    'namelookup_time' =>    double(1.4E-5)    'connect_time' =>    double(6.9E-5)    'pretransfer_time' =>    double(0.036041)    'size_upload' =>    double(0)    'size_download' =>    double(4046)    'speed_download' =>    double(106867)    'speed_upload' =>    double(0)    'download_content_length' =>    double(4046)    'upload_content_length' =>    double(0)    'starttransfer_time' =>    double(0.037609)    'redirect_time' =>    double(0)    'redirect_url' =>    string(0) ""    'primary_ip' =>    string(9) "127.0.0.1"    'certinfo' =>    array(0) {    }    'primary_port' =>    int(9091)    'local_ip' =>    string(9) "127.0.0.1"    'local_port' =>    int(43806)  }  protected $effectiveUrl =>  string(67) "https://127.0.0.1:9091/login.jsp?url=%2Fplugins%2Frest%2Fv1%2Fusers"  protected $headers =>  class Guzzle\Http\Message\Header\HeaderCollection#1609 (1) {    protected $headers =>    array(6) {      'date' =>      class Guzzle\Http\Message\Header#1610 (3) {        ...      }      'content-type' =>      class Guzzle\Http\Message\Header#1611 (3) {        ...      }      'set-cookie' =>      class Guzzle\Http\Message\Header#1612 (3) {        ...      }      'expires' =>      class Guzzle\Http\Message\Header#1613 (3) {        ...      }      'content-language' =>      class Guzzle\Http\Message\Header#1614 (3) {        ...      }      'content-length' =>      class Guzzle\Http\Message\Header#1615 (3) {        ...      }    }  }  protected $headerFactory =>  class Guzzle\Http\Message\Header\HeaderFactory#1608 (1) {    protected $mapping =>    array(2) {      'cache-control' =>      string(39) "Guzzle\Http\Message\Header\CacheControl"      'link' =>      string(31) "Guzzle\Http\Message\Header\Link"    }  }  protected $params =>  class Guzzle\Common\Collection#1607 (1) {    protected $data =>    array(1) {      'redirect.count' =>      int(1)    }  }  protected $protocol =>  string(4) "HTTP"  protected $protocolVersion =>  string(3) "1.1"
}

 

 

As you can see.. it seems to be redirecting to the login.jsp . I have no idea why. The calling script is super simple.

 

<?php  public function test() {      $openfire = $this->getOpenfire();      $request = $openfire->get('users', array(), array(      'auth' => array('admin', 'zaq12wsx', 'Basic'),      'verify' => false      ));          $res = $request->send();      var_dump($res);  }


?>

 

Hopefully someone can offer some insight?

 

Thanks

Websocket plugin MessageTooLargeException

$
0
0

I'm trying to send 50kb groupchat message connected by websoсket, it causes this error.

Can I somehow to change buffers sizes or other ways to fix this??

 

2016.06.04 19:22:44 org.jivesoftware.openfire.websocket.XmppWebSocket - Error detected; session: WebSocketSession[websocket=JettyAnnotatedEventDriver[org.jivesoftware.openfire. websocket.XmppWebSocket@7da445],behavior=SERVER,connection=WebSocketServerConnec tion@1cd4bf9{FILLING}{f=Flusher[queueSize=0,aggregateSize=0,failure=null],g=Gene rator[SERVER,validating,+rsv1],p=Parser@1bdcac[ExtensionStack,s=START,c=0,len=52 596,f=TEXT[len=0,fin=false,rsv=1..,masked=true],p=WebSocketPolicy@1878804[behavi or=SERVER,maxTextMessageSize=65536,maxTextMessageBufferSize=32768,maxBinaryMessa geSize=65536,maxBinaryMessageBufferSize=32768,asyncWriteTimeout=60000,idleTimeou t=300000,inputBufferSize=4096]]},remote=WebSocketRemoteEndpoint@e1467d[batching= true],incoming=JettyAnnotatedEventDriver[org.jivesoftware.openfire.websocket.Xmp pWebSocket@7da445],outgoing=ExtensionStack[queueSize=0,extensions=[permessage-de flate],incoming=org.eclipse.jetty.websocket.common.extensions.compress.PerMessag eDeflateExtension,outgoing=org.eclipse.jetty.websocket.common.extensions.compres s.PerMessageDeflateExtension]]

org.eclipse.jetty.websocket.api.MessageTooLargeException: Frame is too large

  at org.eclipse.jetty.websocket.common.extensions.compress.ByteAccumulator.addChunk (ByteAccumulator.java:43)

  at org.eclipse.jetty.websocket.common.extensions.compress.CompressExtension.decomp ress(CompressExtension.java:166)

  at org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtensi on.incomingFrame(PerMessageDeflateExtension.java:78)

  at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(Exte nsionStack.java:214)

  at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)

  at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)

  at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(Abs tractWebSocketConnection.java:628)

  at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(Ab stractWebSocketConnection.java:476)

  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(Thread.java:745)

STUN plugin not working

$
0
0

I'm using the latest release of the Openfire service and the STUN plugin, but don't seem to be able to get the STUN service to work.

 

>stunclient.exe working.stun

Binding test: success

Local address: 192.168.1.179:54626

Mapped address: 41.144.XXX.XXX:54626

 

>stunclient.exe using.openfire.stun

Binding test: fail

 

These are my settings...

stun.address.primary 41.XX.XX.XX

stun.address.secondary 41.XX.XX.XX

stun.external.addresses

stun.local.enabled true

stun.port.primary 3478

stun.port.secondary 3479

 

Anyone have any idea?

REST API create chat room cant add users

$
0
0

the request i make is

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<chatRoom>

  <naturalName>thename</naturalName>

  <roomName>76892329574cdee4b7b49a7453b6af70</roomName>

  <description>thename</description>

  <members>

  <member>aaaaaa@example.net</member>

  <member>bbbbbb@example.net</member>

  <member>cccccc@example.net</member>

  </members>

</chatRoom>

 

it creates the room but there are no users in it...am i missing something?


Openfire 4.0.2 & Import Export Users Plugin Issue

$
0
0

Hi,

 

We have been using open fire for the last 3 years upgrading the system was the new releases gets posted. We are currently on V4.0.2.

We were requested to do a fresh installation of Openfire on Ubuntu 15.10 Export the users from the current system and import them on a fresh install of Openfire 4.0.2.

 

I am unable to import the user list exported from the running system

Error: The import file does not match the user schema

I initially thought there might be an issue with the export on the old system due to the upgrades done. So I connected onto the new server and created 2 users that I exported without any issues. But on importing the users I was yet again met with the same error message.

 

Here is an extract of the Error Log file:

2016.06.07 12:21:29 org.jivesoftware.openfire.plugin.UserSchemaValidator - ERROR: element "xs:schema" is not allowed here

2016.06.07 12:21:29 org.jivesoftware.openfire.plugin.UserSchemaValidator - ERROR: perhaps namespace URI "http://www.w3c.org/2001/XMLSchema" is incorrect?

2016.06.07 12:21:29 org.jivesoftware.openfire.plugin.UserSchemaValidator -

java.lang.NullPointerException

at com.sun.msv.verifier.Verifier.startDocument(Verifier.java:364)

at org.dom4j.io.SAXWriter.startDocument(SAXWriter.java:720)

at org.dom4j.io.SAXWriter.write(SAXWriter.java:198)

at org.jivesoftware.openfire.plugin.UserSchemaValidator.validate(UserSchemaValidat or.java:63)

at org.jivesoftware.openfire.plugin.ImportExportPlugin.validateImportFile(ImportEx portPlugin.java:149)

at org.jivesoftware.openfire.plugin.userImportExport.import_002duser_002ddata_jsp. _jspService(import_002duser_002ddata_jsp.java:100)

 

Other info that might be pertinent:

Java Version: 1.8.0_91 Oracle Corporation - OpenJDK 64-Bit Server VM

 

If any one can please assist with a resolution to this issue?

 

Kind Regards,

Viaan Snyman

 

Message was edited by: Viaan Snyman Never mind. Found the Resolution just after posting. If you edit the wildfire-user-schema.xds.xml file located in the plugins/userimportexport/classes folder and change the following line: <xs:schema xmlns:xs="http://www.w3c.org/2001/XMLSchema" elementFormDefault="qualified"> to <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> And you will be able to import your users.xml file

Unable to see the uploaded plugin [RESTAPI] in Openfire 3.10.2

$
0
0

Hello,

 

in our installed version I can't see 'Rest-API' plugin in available plugins, hence downloaded from igniterealtime.org/downloads and uploaded it in plugins section.   It shows the successful message "Plugin uploaded successfully. It may take a short time for the plugin to appear in the list of installed plugins."  However it does not appear in list even after few hours.

 

Can somebody help?

 

Regards,

motD plugin insert rss feed

$
0
0

Good Day Guys,

 

is it possible to use an rss feed link ?

 

Thanks,

How to Add Dependency for Plugins

$
0
0

I am working on a Plugin that will receive a request from client at a sub domain and perform some basic SQL Transactions and return the result in JSON format. I have learn't all the components that are required to build this plugin. I have learn't how to build a RESTFUL API using Spring. I have learn't how to use database and Prepared Statements. Now I need to put all these together to make a functional plugin. Sql requires a JDBC driver which I imported using NetBeans during pratcise. I also used some Maven Dependency during Spring Practice.

<groupId>org.clinton</groupId>    <artifactId>gs-rest-greeting</artifactId>    <version>0.1.0</version>    <parent>        <groupId>org.springframework.boot</groupId>        <artifactId>spring-boot-starter-parent</artifactId>        <version>1.3.5.RELEASE</version>    </parent>    <dependencies>        <dependency>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-starter-web</artifactId>        </dependency>        <dependency>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-starter-test</artifactId>            <scope>test</scope>        </dependency>        <dependency>            <groupId>com.jayway.jsonpath</groupId>            <artifactId>json-path</artifactId>            <scope>test</scope>        </dependency>    </dependencies>    <properties>        <java.version>1.8</java.version>    </properties>

 

Problem:

Now how do I add this to my plugin as a dependency. I went through a the default plugins and found out that Bookmarks plugins uses DataBase. But I didn't see any libraries. According to the Plugin Documentation, Libraries and Dependency should live in the lib/ folder. How come I don't see this for the Bookmark Plugin. I am missing something.. And I need help!

Openfire 4.1.0 alpha Hazelcast 2.2 HAProxy Docker

$
0
0

Setup: Two node Openfire cluster using Hazelcast with HAProxy load balancer and each component is running in its own Docker container

- openfire1 in Docker container

- openfire2 in Docker container

- haproxy in Docker container in front of two node cluster using TCP mode

- Hazelcast plugin used to create cluster between openfire1 and openfire2

 

My web client is able to connect to both Openfire instances and create client sessions fine.  I can view them in Admin Consoles of both Openfire nodes.  Clustering is enabled and I can see some client sessions are local whereas others are remote depending on which Openfire node the client connects to.

 

Problem: For testing, I manually take down openfire1 in the cluster and notice that the client that is locally connected to that Openfire immediately loses their connection and then attempts to reconnect.  I would expect that Hazelcast would handle notifying the other Openfire node that it must take over the client's session.  That seems to happen, but not before a very long delay occurs.  During this delay, I cannot view Client Sessions in the remaining Openfire node using Admin Console.  Nor will any new client sessions be able to be created, connected to the remaining node.

 

Question:  Anyone know where this problem might be coming from ... Hazelcast, Openfire, HAProxy, Docker??  It would seem like during the loss of the first Openfire node, openfire1, the second node, openfire2, seems stuck trying to process, or figure out that it is now the sole node remaining, and is trying to process the transition?  This is my theory since when navigating to the surviving node's Admin Console, I cannot view Server or Client Sessions, however I can view Plugins tab, and Group Chat tab.  After some long time, say more than a minute, the second Openfire node, openfire2, then reconnects the client sessions, and is able to accept new connections as well.  Maybe there is a configuration setting which decreases this long delay of failover?

 

Additional info:

 

It takes approximately 1 minute 14 seconds for the remaining node to pick up all client sessions and allow them to reconnect.

 

In the log file, as soon as openfire1 node is brought down, the following messages appear, and they appear over and over until the cluster removes the node that was taken down.  Seems like once the node that was taken down is officially removed, then the remaining up node is able to recover client sessions.

 

2016.06.09 20:11:14 INFO  [hz.openfire.IO.thread-in-0]: com.hazelcast.nio.tcp.TcpIpConnection - [172.17.0.5]:5701 [openfire] [3.5.1] Connection [Address[172.17.0.8]:5701] lost. Reason: java.io.EOFException[Remote socket closed!]

2016.06.09 20:11:14 WARN  [hz.openfire.IO.thread-in-0]: com.hazelcast.nio.tcp.ReadHandler - [172.17.0.5]:5701 [openfire] [3.5.1] hz.openfire.IO.thread-in-0 Closing socket to endpoint Address[172.17.0.8]:5701, Cause:java.io.EOFException: Remote socket closed!

2016.06.09 20:11:16 INFO  [cached3]: com.hazelcast.nio.tcp.SocketConnector - [172.17.0.5]:5701 [openfire] [3.5.1] Connecting to /172.17.0.8:5701, timeout: 0, bind-any: true

2016.06.09 20:11:20 WARN  [cached1]: com.hazelcast.cluster.ClusterService - [172.17.0.5]:5701 [openfire] [3.5.1] This node does not have a connection to Member [172.17.0.8]:5701

2016.06.09 20:11:25 WARN  [cached2]: com.hazelcast.cluster.ClusterService - [172.17.0.5]:5701 [openfire] [3.5.1] This node does not have a connection to Member [172.17.0.8]:5701

2016.06.09 20:11:28 INFO  [hz.openfire.InspectInvocationsThread]: com.hazelcast.spi.OperationService - [172.17.0.5]:5701 [openfire] [3.5.1] Handled 0 invocation timeouts and 1 backupTimeouts

2016.06.09 20:11:30 WARN  [cached1]: com.hazelcast.cluster.ClusterService - [172.17.0.5]:5701 [openfire] [3.5.1] This node does not have a connection to Member [172.17.0.8]:5701

2016.06.09 20:11:35 WARN  [cached1]: com.hazelcast.cluster.ClusterService - [172.17.0.5]:5701 [openfire] [3.5.1] This node does not have a connection to Member [172.17.0.8]:5701

2016.06.09 20:11:40 WARN  [cached4]: com.hazelcast.cluster.ClusterService - [172.17.0.5]:5701 [openfire] [3.5.1] This node does not have a connection to Member [172.17.0.8]:5701

2016.06.09 20:11:44 INFO  [hz.openfire.InspectInvocationsThread]: com.hazelcast.spi.OperationService - [172.17.0.5]:5701 [openfire] [3.5.1] Handled 0 invocation timeouts and 1 backupTimeouts

2016.06.09 20:11:45 WARN  [cached1]: com.hazelcast.cluster.ClusterService - [172.17.0.5]:5701 [openfire] [3.5.1] This node does not have a connection to Member [172.17.0.8]:5701

2016.06.09 20:11:50 WARN  [cached1]: com.hazelcast.cluster.ClusterService - [172.17.0.5]:5701 [openfire] [3.5.1] This node does not have a connection to Member [172.17.0.8]:5701

2016.06.09 20:11:55 WARN  [cached1]: com.hazelcast.cluster.ClusterService - [172.17.0.5]:5701 [openfire] [3.5.1] This node does not have a connection to Member [172.17.0.8]:5701

2016.06.09 20:11:57 ERROR [socket_c2s-thread-2]: org.jivesoftware.openfire.plugin.util.cache.ClusteredCacheFactory - Failed to execute cluster task within 30 seconds

java.util.concurrent.TimeoutException: Call Invocation{ serviceName='hz:impl:executorService', op=com.hazelcast.executor.impl.operations.MemberCallableTaskOperation{serviceNa me='null', partitionId=-1, callId=0, invocationTime=1465503117330, waitTimeout=-1, callTimeout=30000}, partitionId=-1, replicaIndex=0, tryCount=250, tryPauseMillis=500, invokeCount=64, callTimeout=30000, target=Address[172.17.0.8]:5701, backupsExpected=0, backupsCompleted=0} encountered a timeout

        at com.hazelcast.spi.impl.operationservice.impl.InvocationFuture.resolveApplicatio nResponse(InvocationFuture.java:366)

        at com.hazelcast.spi.impl.operationservice.impl.InvocationFuture.resolveApplicatio nResponseOrThrowException(InvocationFuture.java:334)

        at com.hazelcast.spi.impl.operationservice.impl.InvocationFuture.get(InvocationFut ure.java:225)

        at com.hazelcast.util.executor.DelegatingFuture.get(DelegatingFuture.java:71)

        at org.jivesoftware.openfire.plugin.util.cache.ClusteredCacheFactory.doSynchronous ClusterTask(ClusteredCacheFactory.java:374)

        at org.jivesoftware.util.cache.CacheFactory.doSynchronousClusterTask(CacheFactory. java:596)

        at org.jivesoftware.openfire.plugin.session.RemoteSession.doSynchronousClusterTask (RemoteSession.java:193)

        at org.jivesoftware.openfire.plugin.session.RemoteClientSession.incrementConflictC ount(RemoteClientSession.java:157)

Jersey error

$
0
0

Attached is an error I get after updating my openfire app on the server. I added the kraken plugin and got rid of the old gateway plugin. Please help I hope this can be fixed.

Where in Openfire DB can I find the column for read/unread flag?

$
0
0

Hi, I am currently developing iOS/Android application.

I would like to know where in Openfire DB I can find any field/column for “read/unread” flag.

I have searched the entire Openfire DB but could not find out.

I have also read the following two posts but I want to neither install plugin nor upgrade because I have already added my own function to my application.

It would be greatly appreciated if you guys could tell me some options that requires no additional plugin installation!

(I am using Openfire ver.3.10 on CentOS 6.3)

 

How to Check if a Message is Unread? | Ignite Realtime

https://community.igniterealtime.org/thread/51955

openfire - XMPP: count of unread messages - Stack Overflow

http://stackoverflow.com/questions/30437866/xmpp-count-of-unread-messages


Older version of Hazelcast Plugin ?

$
0
0

Please let me know where I can find the older versions of Hazelcast plugin. I have Openfire 3.9.3 and am trying find a version of Hazelcast plugin that is compatible. Thanks for your help.

Mapping Openfire Custom plugin with aSmack Client

$
0
0

I'm a newbie to XMPP so forgive me if this question sounds silly. I want to create a custom plugin and map it with my aSmack client on Android. aSmack has namespaces for example what is the equivalent on the Server side? I'm trying to apply my knowledge of Web Services but I'm not winning. So please guide my thinking toward the best approach, an example will be really helpful. Thanx in advance.

Voice Chatting Options

$
0
0

Hey,

 

I have 2 remote locations each running their own openfire server. The 2 servers are connected by a private vpn, so users on both sides can chat with each other. All the users dont have an internet connection. Just connections to their local openfire servers.

 

I wanted to know what are the best options for voice calling or voice chatting between the users locally and over the vpn?

 

If there are 3rd party options that can integrate with the openfire users that is ok also. We are currently using Spark as our chat client.

Percona Multi-Master replication and Openfire

$
0
0

Hello I would like to know if a percona multi-master replication in three regions (servers)  A, B et C will work with openfire ?

Basically, I would like to install three openfire servers in three regions (offices) sharing the same database that percona replicates over these these three servers or locations.

I would like to know if that would work and allow a user in office A on server A to chat with a second user locates in office B on server B as if they were on the same server.

I am planing on manually configure the database on two server by editing the file conf/openfire.xml

 

"

<defaultProvider>

      <driver>com.mysql.jdbc.Driver</driver>

      <serverURL>jdbc:mysql://172.68.25.211:3306/openfire2?rewriteBatchedStat$

      <username encrypted="true">19e11dd4a2c68678fff69940d731b521695c437cf08887$

      <password encrypted="true">755368eabf6cc8af0e689d5ea330dedcb249d87fe7aa7c$

      <testSQL>select 1</testSQL> "

 

Is there a plugin or another approach to achieve this ?

Thanks.

Monitoring Service issues

$
0
0

I am setting up a new openfire installation (version4.0.2) pointing to SQL server 2014. this all worked fine and now I'm trying to add and use the monitoring service (version 1.5.1). Once adding said service I started getting errors in the log and nothing monitored regardless of the archiving settings I have added. Initially it looked like all the tables that needed to be added to the SQL database were nto being added. I eventually found this article openfire 3.9.1 with monitoring service 1.4 stack overflow 1824 which has a SQL script that created the tables. Ran this and started to get this error java.sql.SQLException: The ntext data type cannot be selected as DISTINCT because it is not comparable. Agian I found this article OpenFire MSSQL error using DISTINCT with ntext which suggested try to change in table "ofMessageArchive" the "body" field from ntext to nvarchar(MAX),  So dropping the table and recreating it with this change removed this error as well. now however when I send messages to and from any of my test accoutns I get the following error:-

 

2016.07.01 11:17:14 org.jivesoftware.openfire.archive.ConversationManager - Invalid column name 'messageID'.

java.sql.BatchUpdateException: Invalid column name 'messageID'.

  at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.java:1069)

  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 org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)

  at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)

  at $java.lang.AutoCloseable$$EnhancerByProxool$$aeff9554.executeBatch(<generated>)

  at org.jivesoftware.openfire.archive.ConversationManager$ArchivingTask.run(Convers ationManager.java:1010)

  at org.jivesoftware.openfire.archive.ConversationManager$1.run(ConversationManager .java:190)

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

  at java.util.concurrent.FutureTask.run(Unknown 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)

2016.07.01 11:18:14 org.jivesoftware.openfire.archive.ConversationManager - Invalid column name 'messageID'.

java.sql.BatchUpdateException: Invalid column name 'messageID'.

  at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.java:1069)

  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 org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)

  at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)

  at $java.lang.AutoCloseable$$EnhancerByProxool$$aeff9554.executeBatch(<generated>)

  at org.jivesoftware.openfire.archive.ConversationManager$ArchivingTask.run(Convers ationManager.java:1010)

  at org.jivesoftware.openfire.archive.ConversationManager$1.run(ConversationManager .java:190)

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

  at java.util.concurrent.FutureTask.run(Unknown 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)

 

 

MessageID is a little too common a column for searching to be of much use now on google. my ofMucConversationLog and ofmessageArchive are both empty. I am however getting data in ofConversation. Has anyone come across this issue or can tell me where I am going wrong with getting the monitoring service working and populating the SQL tables?

 

Thanks

 

Si

 

Viewing all 531 articles
Browse latest View live