Openfire and JWChat integration question

I need a http-bind url for JWChat. On Openfire I only see ports, but not directories.

So where is this http-bind url on Openfire ?

When I go to www.domain.com:8080 it says “http binding service”

So is this service right at the root url just at port 8080 ?

On http://www.domain.com:8080/http-bind/ I get the error:

HTTP ERROR: 404NOT_FOUND

RequestURI=/http-bind/

Powered by Jetty://

I have been looking for a solution now since yesterday - but all texts I could find assumed there was a url such as :8080/http-binding

But this url does not exist

Hi,

I`m not sure which version of JWchat are you using but you might need to edit the files. JWchat is based on jsjac :

http://zeank.in-berlin.de/2007/08/31/jsjac-v10-is-out/

If you don`t want to deal with proxy problems (openfire and jwchat have to think they are at the same domain), then put JWchat somewhere in the spank library and openfire will take care of the proxy stuff for you. There are several posts in the forums that explains how to deal with the proxy and jwchat on openfire if you still having truble.

Hope that helps a bit

I don’t know what Spank is etc… I was hoping to find an easier solution.

I have looked at all other posts here. The problem is they are all having problems at a later stage…I can not even get to to the point where you can access

the virtual “http-binding” directory.

What is this “http-binding” URL and why is it not documented ? On the settings page you can only specify ports, and not configure this URL anywhere…

Now it is just an Apache problem I think:

*<VirtualHost >

  • ServerName messenger.domain.com*

  •    ServerAdmin webmaster@domain.com*
    
  • DocumentRoot /home/www/messenger/html*

  •    ProxyPass /http-bind/ http://127.0.0.1:8080*
    
  •    ProxyPassReverse /http-bind/ http://127.0.0.1:8080*
    
  • ErrorLog /home/www/messenger/log/error.log*

  • CustomLog /home/www/messenger/log/access.log combined*

I get this error:

client denied by server configuration: proxy:http://127.0.0.1:8080


toby78 wrote:

Now it is just an Apache problem I think:

*<VirtualHost >

  •    ServerAdmin webmaster@domain.com*
    
  • DocumentRoot /home/www/messenger/html*
  •    ProxyPass /http-bind/ http://127.0.0.1:8080*
    
  •    ProxyPassReverse /http-bind/ http://127.0.0.1:8080*
    
  • ErrorLog /home/www/messenger/log/error.log*
  • CustomLog /home/www/messenger/log/access.log combined*

You need to use

ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/

It doesn’t matter that the server will give you a 404 on a http request, since that URL is only for XMPP requests.

Had this problem also. I guess it doesnt matter if it gives you a 404 error or not? I have no idea, mixed opinion.

HTTP ERROR 400

Problem accessing /http-bind/. Reason:

Bad Request

Powered by Jetty://

This means that all work?