JabberHTTPBind
This project is being discontinued. Use at your own risk! 😉
A fork can be found at http://code.google.com/p/bosh-servlet/.
JabberHTTPBind is a java servlet implementing XMPP Over BOSH (XEP-0206) (aka HTTP Binding) thus enabling you to connect to any Jabber server by way of BOSH.
Download
- JabberHTTPBind-1.1.1.war (Servlet Binary)
- JabberHTTPBind-1.1.1.zip (Source Code)
There’s also a public subversion repository available. To get a fresh copy of the latest development code please use
svn co http://svn.jwchat.org/jhb/trunk jhb
Installation/Usage
In order to use this software you need a Java servlet container like Tomcat. Use the built in deployment tools to upload the war file or copy it manually to the appropriate directory.
Troubleshooting
Some servlet containers come with pretty restrictive security policies. E.g. debian’s tomcat package by default doesn’t allow connections to external services. To enable external connections please edit /etc/default/tomcat5.5 and set “TOMCAT5.5_SECURITY” to “no”.
There are issues with JDK1.5 which prevent the servlet from working correctly. If you see messages like javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
in your servlet container’s log here’s the solution:
JDK 1.5 doesn’t have xalan libraries and hence it throws this exception.
Copy the xalan.jar and serializer.jar, xercesImpl.jar, xml-apis.jar (this are needed as there are dependencies from xalan.jar) into the tomcat_home/common/endorsed folder.
If some of the jars are already present, there is no need to overwrite the files.
You can get the required files from the following website: http://xml.apache.org/xalan-j/
Development / Bug Reports
Development is handled by JHB’s trac site.