Hi:
Down this note is the thread I´ve been reading, I have the same problem…to make it clearer: suppose two users, user1 and user2. First user1 is online, user2 not. user1 adds user2, exodus indicates (pending).user2 logs later he gets a message from jives messenger indicating user1 has added him to his roster, user2 can deny or accept (doesn´t matter); from this point user2 won´t be able to log. Jives messenger in installed on a Windows 2000 SP3 server, v 1.0.6 with jre. My knowledge on Java is poor…please if you indicate any kind of procedure, make it in full extension. Thanks
Alfredo
Topic: Can’'t login to the server
Replies: 5 Pages: 1 Last Post: Aug 18, 2003 12:22 PM by: iain
Welcome, Guest
Login / Register
Guest Settings
Help
Reply to this Topic
Search Forum
Back to Topic List Topics: Previous
Replies: 5 Pages: 1
dombiak_gaston
Posts: 110
From: Argentina
Registered: Sep 26, 2001
Can’'t login to the server
Posted: Aug 2, 2003 10:21 AM Reply
Jive Messenger Server 1.0.6
Exodus 0.8.6.0
Jajc 0.0.6.98
Hi. I was playing with the roster of several users (adding new contacts, moving to categories, etc) and suddenly I cannot connect/login to the server with some users.
Below is an example of what I did and at the end of the post you can find the errors log.
. I have 3 user (gato1, gato2 and gato3)
. I logged in with gato2 and removed all the roster entries
. I logged in with gato3 and removed all the roster entries
. I logged in again with gato3 and added gato1 and gato2 to the roster (and they appeared with a question mark sign in Exodus)
. I logged in with gato2 and accepted the authorization request
. I logged in with gato3 and all the roster entries still appear with the question mark sign
. I logged in with gato2 again but didn’'t work
. I logged in with gato1 again but didn’'t work
. I can only log in with gato3
Using Jajc I get a socket error #10053 trying to login.
Errors that appear in jive.error.log:
003.08.02 10:57 [com.jivesoftware.xmpp.spi.BasicChannel$ChannelWorker.run(BasicChannel.java:362 )
] Internal server error
java.lang.NullPointerException
at com.jivesoftware.xmpp.spi.PresenceManagerImpl.probePresence(PresenceManagerImpl .java:326)
at com.jivesoftware.xmpp.handler.IQRosterHandler.manageRoster(IQRosterHandler.java :166)
at com.jivesoftware.xmpp.handler.IQRosterHandler.handleIQ(IQRosterHandler.java:97)
at com.jivesoftware.xmpp.spi.IQHandler.handleMessages(IQHandler.java:48)
at com.jivesoftware.xmpp.spi.BasicChannel$ChannelWorker.run(BasicChannel.java:340)
003.08.02 10:58 [com.jivesoftware.xmpp.spi.BasicChannel$ChannelWorker.run(BasicChannel.java:362 )
] Internal server error
java.lang.NullPointerException
at com.jivesoftware.xmpp.XMPPAddress.hashCode(XMPPAddress.java:332)
at com.jivesoftware.xmpp.XMPPAddress.generateCachedJID(XMPPAddress.java:210)
at com.jivesoftware.xmpp.XMPPAddress.getUserJID(XMPPAddress.java:247)
at com.jivesoftware.xmpp.user.spi.DbRoster.getRosterItem(DbRoster.java:96)
at com.jivesoftware.xmpp.handler.IQRosterHandler.updateItem(IQRosterHandler.java:2 38)
at com.jivesoftware.xmpp.handler.IQRosterHandler.manageRoster(IQRosterHandler.java :178)
at com.jivesoftware.xmpp.handler.IQRosterHandler.handleIQ(IQRosterHandler.java:97)
at com.jivesoftware.xmpp.spi.IQHandler.handleMessages(IQHandler.java:48)
at com.jivesoftware.xmpp.spi.BasicChannel$ChannelWorker.run(BasicChannel.java:340)
Regards,
– Gato
iain
Posts: 174
From: San Diego, CA, USA
Registered: Jan 10, 2003
Re: Can’'t login to the server
Posted: Aug 4, 2003 5:55 PM Reply
Hi,
Can you send me the XML from the sessions (paste it into the forum or attach them to your post)? Also, the scenario seems pretty complex so if you could try and find the simplest process that creates this behavior it would help a lot. it is also important to note in your description when you log out during the steps. I don’'t think the steps you outlined actually works for me.
Oh, and just for completeness, the jvm, os, and db you’'re using.
Thanks
-iain
dombiak_gaston
Posts: 110
From: Argentina
Registered: Sep 26, 2001
Re: Can’'t login to the server
Posted: Aug 9, 2003 3:26 PM Reply
Hey Iain,
JVM = 1.4.1_02
OS: XP
DB= embedded db (HSQL) / mysql
I could actually reproduce the problem in a few steps. I think that the problem is with Exodus and not with Messenger although Messenger could behave more defensive in situations like this.
Steps to reproduce the problem:
. Start Jive Messenger (fresh installation)
. Create several users (lets say gato1, gato2, gato4)
. Open Exodus 0.8.6.0
. Verify that you can login with the new users
. Now log in with gato4 (always using exodus)
. Add gato1 to the roster
. log out
. Log in with gato1
. A Subscription request dialog popus with nickname and group empty
. You can accept or deny (it’'s the same)
. log out
. try to login with gato1 and you can’'t
In Exodus’'s debug window I can see that when you try to login with gato1 (the first time) Exodus cannot parse the received XML.
ECV:
rivate">
Server could not be reached
rivate">
Unknown notify event: /presence/subscription
That’‘s probably why the Subscription request dialog is empty. I tried the same process with JAJC and there weren’'t any problems.
BTW, in the debug window I always see that whenever I try to login with any user I get the error code=“504”. Same behavior with exodus and JAJC. However, the application seems to work fine.
Regards,
– Gato
iain
Posts: 174
From: San Diego, CA, USA
Registered: Jan 10, 2003
Re: Can’'t login to the server
Posted: Aug 10, 2003 2:11 PM Reply
Hi Gato,
Could you check your config/jive_messenger.xml file for the property hostname</ jive> and see if it matches the name your client’‘s use for the server name (’‘gato.home’’ from your example)? The 504 error should be a result of a routing error when trying to reach a host the server doesn’‘t think is ‘‘local’’. Since Messenger is standalone right now (no s2s connections) I’‘ve been very liberal with accepting packets and assuming they are for the local server. However, private storage is one area where I couldn’‘t be liberal so this is where the mismatch between what the server thinks is it’‘s name, and what a client thinks is the server’'s name will emerge.
You can also see this problem in the mismatch between what the client connects to in it’‘s opening tag, and what the server sends in it’'s opening tag.
As for the subscription problem, the subscription behavior is consistent and valid (a pending subscription request will be resent when the user logs in). So the main problem is why it won’'t let your gato1 user log back in later. I suspect the problem is the host name, and Exodus freaking on the iqrivate error message (Exodus is very fragile with respect to iqrivate behavior).
-iain
dombiak_gaston
Posts: 110
From: Argentina
Registered: Sep 26, 2001
Re: Can’'t login to the server
Posted: Aug 17, 2003 10:15 AM Reply
Hey Iain,
Sorry for the late reply. FYI, I replaced gato.home with localhost and the error 504 stopped but the login problem still exits. Since I stopped playing with the rosters I don’'t care anymore about this problem. Anyway, if you want we can pursue this problem…
Best regards,
– Gato
iain
Posts: 174
From: San Diego, CA, USA
Registered: Jan 10, 2003
Re: Can’'t login to the server
Posted: Aug 18, 2003 12:22 PM Reply
OK. Well, just let me know if you do run into it again.
-iain