Combination View Flat View Tree View
Threads [ Previous | Next ]
Doug Leeper
Chat / Ejabberd
January 10, 2013 10:18 AM

Doug Leeper

Rank: New Member

Posts: 1

Join Date: August 10, 2012

Recent Posts

We are wanting to utilize the Liferay Chat with our existing ejabberd server. It appears that we are chatting with other users but there appears to be errors in our Liferay logs that concerns us. Also, we are not seeing the "chat" traffice in our ejabberd server logs which is perplexing b/c we are "chatting" with other users.

Here is the stack trace in our Liferay logs: Connection closed by remote host
at Source)
at Source)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
at sun.nio.cs.StreamEncoder.flush(Unknown Source)
at Source)
at Source)
at org.jivesoftware.smack.PacketWriter.writePackets(
at org.jivesoftware.smack.PacketWriter.access$000(
at org.jivesoftware.smack.PacketWriter$ no more data available - expected end tag </stream:stream> to close start tag <stream:stream> from line 1, parser stopped on END_TAG seen .../ejabberd/\' ver=\'nW2YyyFzR7a6uuydFkGksHPoQ8c=\'/></stream:features>... @1:449
at org.xmlpull.mxp1.MXParser.fillBuf(
at org.xmlpull.mxp1.MXParser.more(
at org.xmlpull.mxp1.MXParser.nextImpl(
at org.jivesoftware.smack.PacketReader.parsePackets(
at org.jivesoftware.smack.PacketReader.access$000(
at org.jivesoftware.smack.PacketReader$

Also, we are using CAS as our authentication mechanism into Liferay. Our ejabberd user base is authenticated against the CAS backing store as well. So our Liferay users will not need to be imported into ejabberd as both will utilize the backing store for authentication. However, we need to send the CAS authentication token to ejabberd to initialize the "chat session".

The questions I have are:
- Why is there SSL traffic?
- Any documentation to configure both Liferay Chat and ejabberd?
- How does CAS authentication work with Chat?
- what authentication token is passed to ejabberd when CAS is utilized?