I have been following the book XMPP Programming with Java Script and jQuery by Jack Moffit.
The web client works fine when used witht the http-bind url (http://bosh.metajack.im:5280/xmpp-httpbind) provided in the book and also the procedure for the connection works fine with locally installed “ejabberd” XMPP server.
However it fails when I tried to run the same code after installing Openfire 3.7.0 and the Databse as MSSQL 2008 on windows.
The http-bind url (http://127.0.0.1:7070/) shows a page saying Http Bind but from the code it is inaccessable.
I have created two user accounts from the admin web console.
This is pretty confusing.
If anyone has step by step solution for this then I will be very thankful to you.
i know this post is kind of old and they may have fixed it, i dont know…
anyhow when i ran into the same troubles as you, i discovered that openfire did not create streams the same way as everyone else. they default to flash-compatible streams - i forget the exact syntax of it.
400 Bad Request is afaik standard behaviour when you navigate to yourserver:7070 because the browser doesn’t send a valid XML (I can’t tell that for sure because I’m using punjab as the http-bind service due to stability but I think it’s correct when a 400 bad request is returned when accessing the page with a browser).
Doesn’t it work when you connect with your jabber client with http-bind?
Regarding JRE: I don’t think there’s a JRE embedded in Openfire, it uses the one on your system.