This Question is Not Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (5 pts)
5 Replies Last post: Sep 28, 2007 12:49 AM by afatman  
Bronze 4 posts since
Sep 20, 2007
Currently Being Moderated

Sep 20, 2007 1:26 AM

SASL Authentication problem

 

I'm trying to implement a web chat but i receive some SASL Authentication error on my jsp pages.

The server i'm using is an open source XMPP server, wildfire(currently openfire).

I imported the smack api into the java bean (session) to connect and login to the XMPP server via my netbeans tomcat server.

 

 

When only a client log in at one time, there is no error. But when multiple users try to login in the same time, some of them will receive that error.

 

 

Sabine Dinis Blochberger Gold 285 posts since
Oct 21, 2005
Currently Being Moderated
Sep 20, 2007 3:39 AM in response to: afatman
Re: SASL Authentication problem

If you are using JwChat/JSJaC, then you need to use non-sasl authentication with OpenFire.

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

Sabine Dinis Blochberger Gold 285 posts since
Oct 21, 2005
Currently Being Moderated
Sep 24, 2007 4:04 AM in response to: afatman
Re: SASL Authentication problem

Well, I use smack for a client, and JSJaC/JwChat for another.

 

smack should work using SASL, but OpenFire has a bug concerning compression (JM-1115).

 

Edit: if there's anything in the logs, post excerpts. smack has a debug feature, have you used it? It allows you to see the packets sent/received. Use it as described in the documents

java -Dsmack.debugEnabled=true SomeApp

 

More Like This

  • Retrieving data ...