Problem using with OpenFire (XMPP)

Jan 31, 2012 at 5:39 PM

I am working on an XMPP ( library that supports data compression.  I am specifically using Zlib compression.  However, when I use the Zlibstream to compress the byte array and send it to the XMPP server (OpenFire) I get nothing back.  I checked the log of the server and I see this: Unknown error. Error code : 1
at org.apache.mina.filter.CompressionFilter.messageReceived(
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(
at org.apache.mina.filter.executor.ExecutorFilter$
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)

That seems to tell me that the data can't be inflated and I am not sure why not.  As I mentioned, I have a byte array that I am compressing.  The byte array was a string that I converted using GetBytes.  The data I am sending must be a byte array, which it is.  I initially created this as an issue but it might be more appropriate here.