Skip navigation
All Places > Ignite Realtime Blog > 2011 > July
2011

Image2.jpg

 

 

I have received a couple of emails about Jappix MiniChat not working properly with Openfire BOSH.  The main issue seems to be that the Openfire BOSH is not handling the reconnection properly as the user browses from page to page.

 

I'll be surprised if it did as the implementation was a few years ago and the BOSH specification has moved on since. More importantly was that it was designed to work with SparkWeb which was always resident on the web page until the user logged off. In this mode, Openfire BOSH works very well.

 

A possible solution for using Jappix MiniChat with Openfire is to use this same approach and keep Jappix resident on the web page as the user browses from page to page. My way of doing this is to use a main top page container with the Jappix MiniChat which puts the content web page in an <iframe> tag. I then call JavaScript on the main top page from within the iframe to control Jappix.

 

Of course, this does not always work especially if the content page promotes itself to be the top main page for security purposes like Goole Mail for example. In practice, I use Jappix MiniChat with my own web applications and even if my web page is hijacked, cross domain security will stop malicious JavaScript controlling my application.

 

If this solution will work for you, then use the attached HTML file and adapt it to your needs.

rcollier

Release of Smack 3.2.1

Posted by rcollier Champion Jul 4, 2011

Since several defects have been fixed, including a rather serious issue dealing with file transfers.   The 3.2.1 version of Smack is released as of July 4th. 

 

Although more issues were planned for this release, due to number of people having issues with SMACK-338 and the slower than expected resolution rate on the planned issues, the release will go ahead with the 6 issues that have already been resolved.

 

  • [SMACK-129] - MultiUserChat will Store Messages in its PacketCollector irregardless of whether or not they are being read
  • [SMACK-230] - Disconnect Can Cause Null Pointer Exception
  • [SMACK-273] - Bug in RoomListenerMultiplexor.java
  • [SMACK-324] - Investigate SASL issue with jabberd2 servers
  • [SMACK-329] - XHTMLText uses improper format for br tag
  • [SMACK-338] - IBB filetransfer doesn't work as expected

 

The rest of the planned issues have been pushed to a 3.2.2 release.

 

Robin Collier

Filter Blog

By date: By tag: