jsjac openfire chat issue
Posted
by
user1246979
on Stack Overflow
See other posts from Stack Overflow
or by user1246979
Published on 2012-06-25T12:35:20Z
Indexed on
2012/06/26
3:16 UTC
Read the original article
Hit count: 146
I am trying to use openFire + jsjac for my application as chat option.
I have installed openfire in my local machine and it is running fine on http://127.0.0.1:4040/
and i have downloaded jsjac version 1-3-4.
1) when I run sampleClient.html file directly [URL: C:\tomcat\webapps\jsjac\examples\simpleclient.html] I am able to connect sampleClient with openFire.
- Select Http Binding
- http Base :
http://127.0.0.1:7070/http-bind/
- jabber server : 127.0.0.1
- username : admin
- password : **
2) But when I put jsjac folder in tomcat/webapps/ directory, I access sampleClient through http://127.0.0.1:8080/jsjac/examples/sampleClient.html
, at that time using above setting (which i have used in step 1) it is giving error "Service unavailable".
In step 1 when though I am connected with openFire, when I send a message it displays only "message received from admin@localhost", but it does not display the actual message..
I need your advice on these problems...
Thanks.
© Stack Overflow or respective owner