JSJaC onload unable to resume the connection

Hi all,

connection to the openfire jabber server is successfull every time when i logged in but when i load or refresh the page i am unable to resume the connection … i checked the example script (simpleclient) but still i can’t solve this problem

An error occured:
Code: 500
Type: cancel
Condition: service-unavailable

POST http://localhost/http-bind/ error 404 5ms

any help will be appreciated