powered by Jive Software

Server to Server Communication

I have set up 2 servers, one locally and one remotely. I want users of one server to be able to communicate with users of another server. The local server ip is 10.12.1.11 and host name is cormessenger. Remote server ip is 10.14.1.8 and host name is central.

The errors i get are

on remote server -


this is debug information and 10.14.1.8 is remote server ip

2005.11.23 11:55:27 Connect Socket[addr=/10.12.1.11,port=48993,localport=5269]

2005.11.23 11:55:27 RS - Received dialback key from host: cormessenger to: 10.14.1.8

2005.11.23 11:55:27 RS - Error, hostname not recognized: 10.14.1.8


this is error information

2005.11.23 11:55:27 org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:153) Connection closed before session established

Socket[addr=/10.12.1.11,port=48993,localport=5269]

On local Server –

– error information

2005.11.23 12:01:05 org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:153) Connection closed before session established

Socket[addr=/10.12.1.11,port=46049,localport=5269]

2005.11.23 12:01:05 org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:153) Connection closed before session established

Socket[addr=/10.12.1.11,port=46050,localport=5269]

2005.11.23 12:01:10 org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:153) Connection closed before session established

Socket[addr=/10.12.1.11,port=46051,localport=5269]

– debug information

2005.11.23 12:08:14 OS - Connection to 10.12.1.11:5269 successful

2005.11.23 12:08:14 Connect Socket[addr=/10.12.1.11,port=56714,localport=5269]

2005.11.23 12:08:14 OS - Sent dialback key to host: 10.12.1.11 id: 60f6ced6 from domain: cormessenger

2005.11.23 12:08:14 RS - Received dialback key from host: cormessenger to: 10.12.1.11

2005.11.23 12:08:14 RS - Error, hostname not recognized: 10.12.1.11

2005.11.23 12:08:14 OS - Unexpected answer in validation from: 10.12.1.11 id: 60f6ced6 for domain: cormessenger answer:

java.lang.Exception: Failed to create connection to remote server

at org.jivesoftware.messenger.server.OutgoingSessionPromise.createSessionAndSendPa cket(OutgoingSessionPromise.java:136)

at org.jivesoftware.messenger.server.OutgoingSessionPromise.access$300(OutgoingSes sionPromise.java:40)

at org.jivesoftware.messenger.server.OutgoingSessionPromise$1$1.run(OutgoingSessio nPromise.java:94)

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

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

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

2005.11.23 12:08:14 Finishing Outgoing Server Reader. No session to close.

java.net.SocketException: Socket closed

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)

at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)

at sun.nio.cs.StreamDecoder.read(Unknown Source)

at java.io.InputStreamReader.read(Unknown Source)

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2971)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3025)

at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)

at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)

at org.dom4j.io.XPPPacketReader.parseDocument(XPPPacketReader.java:268)

at org.jivesoftware.messenger.server.OutgoingServerSocketReader$1.run(OutgoingServ erSocketReader.java:91)

pl help me in configuring servers

Have you tried using the hostname instead of the IP addresses? Are the host names resolveable through DNS? also, if you are using host names, try making them lower case.

Hey booy,

As toetag said you should use the hostname since that seems to be the server name that you set to Jive Messenger. That means that if your server name is “central” (check in the admin console) then packets from cormessenger users should be sent to central and not the IP address. E.g. user: user1@cormessenger sends a message to user2@central.

Regards,

– Gato

Thank U very much . Problem is solved as suggested