Service unavailable - Openfire 3.4.5 and JWChat-1.0beta3

I am using Openfire 3.4.5 and JWChat-1.0beta3.

I can see website at mydomain.com/jwchat, but when I try to log in a window pops up and a message “Service unavailable”.

HTTP binding is enabled on port 8080. I found that if I enable Script Syntax BOSH and log in to mydomain.com:8080/http-bind/ I get

HTTP ERROR: 400 BAD_REQUEST, but when I dissable this option I get HTTP ERROR: 404 NOT_FOUND. In either case I still get “Service unavailable” error.


/var/www/html/jwchat/config.js:

var SITENAME = “mydomain.com”;

var BACKENDS =

[

,

];


When I go to mydomain.com/jwchat/http-bind/ or mydomain.com/http-bind/ it shows me mydomain.com:8080/http-bind/ so I guess that this bit works fine.

/etc/httpd/conf/httpd.conf:

RewriteEngine On

RewriteRule /jwchat/http-bind/ http://mydomain.com:8080/http-bind/

RewriteRule /http-bind/ http://mydomain.com:8080/http-bind/

<Directory /var/www/html/jwchat>

Options +Indexes +Multiviews

</Directory>


I also tried changing those but without success:

Edit jsjac.js and set

var JSJACHBC_USE_BOSH_VER = false; /* true; */

Edit jwchat.html and just before line:

con.connect(oArg);

Add this line:

oArg.authtype = ‘nonsasl’;

Log into OpenFire as an administrator and add two server properties:

xmpp.httpbind.client.requests.polling = 0

xmpp.httpbind.client.requests.wait = 10


I have been stuck with it for a long time now. Appreciate any comments. Please help!

exactly the same problem here with a new installation of Openfire 3.4.5 on a Windows machine.

Alex

The problem nags me too. Is it a bug or something?

radek

do one thing edit it(httpbase) like this

var BACKENDS =

[

];

and make changes in the “web.xml” file of “JWChat-1.0beta3\WEB-INF” folder like this

hope it will work