Users cannot login

Hello.

I am using the win32 version of jive messenger, official release 2.1.3. Running on windows 2000.

I am able to register a user with the server through RhymBox. Upon successful registration the user is logged in and runs fine. However, after logging off, the user is never able to log back in again (says invalid password).

The server is using an embedded database. Any ideas?

my error.log:

2005.06.02 08:59:10 [org.jivesoftware.database.ConnectionPool.(ConnectionPool.java:106)

] Failed to create new connections on startup. Attempt 0 of 3

java.sql.SQLException: The database is already in use by another process: org.hsqldb.NIOLockFile@b27997b8[file =C:\Program Files\Jive Messenger\embedded-db\messenger.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file is presumably locked by another process.

at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)

at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)

at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

at org.hsqldb.jdbcDriver.connect(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

at org.jivesoftware.database.ConnectionPool.createCon(ConnectionPool.java:412)

at org.jivesoftware.database.ConnectionPool.(ConnectionPool.java:83)

at org.jivesoftware.database.EmbeddedConnectionProvider.start(EmbeddedConnectionPr ovider.java:79)

at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:263)

at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager .java:89)

at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:269)

at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:67)

at org.jivesoftware.util.JiveProperties.(JiveProperties.java:49)

at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:43)

at org.jivesoftware.util.JiveGlobals.getProperty(JiveGlobals.java:441)

at org.jivesoftware.messenger.XMPPServer.initialize(XMPPServer.java:170)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:191)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:117)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.messenger.starter.ServerStarter.start(ServerStarter.java:82)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

my info.log:

2005.06.01 15:23:18 Jive Messenger 2.1.3 Started

2005.06.01 15:23:26 Admin console listening at:

http://127.0.0.1:9090

https://127.0.0.1:9091

2005.06.01 15:26:46 Jive Messenger 2.1.3 Started

2005.06.01 15:26:53 Admin console listening at:

http://127.0.0.1:9090

https://127.0.0.1:9091

2005.06.01 15:28:49 Started plain (unencrypted) socket on port: 5222

2005.06.01 15:28:49 Multi User Chat domain: conference.devcpm4k

2005.06.01 15:28:49 Jive Messenger 2.1.3 Started

2005.06.01 15:28:57 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

2005.06.01 15:30:09 Packet sent to unreachable address

2005.06.01 15:31:05 Jive Messenger stopped

2005.06.01 15:31:08 Server halted

2005.06.01 15:31:23 Multi User Chat domain: conference.devcpm4k

2005.06.01 15:31:23 Started plain (unencrypted) socket on port: 5222

2005.06.01 15:31:23 Jive Messenger 2.1.3 Started

2005.06.01 15:31:32 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

2005.06.01 15:33:11 Started plain (unencrypted) socket on port: 5222

2005.06.01 15:33:11 Multi User Chat domain: conference.devcpm4k

2005.06.01 15:33:11 Jive Messenger 2.1.3 Started

2005.06.01 15:33:19 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

2005.06.01 15:48:00 Started plain (unencrypted) socket on port: 5222

2005.06.01 15:48:00 Multi User Chat domain: conference.devcpm4k

2005.06.01 15:48:00 Jive Messenger 2.1.3 Started

2005.06.01 15:48:08 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

2005.06.01 15:55:19 Jive Messenger 2.1.3 Started

2005.06.01 15:55:34 Admin console listening at:

http://127.0.0.1:9090

https://127.0.0.1:9091

2005.06.02 08:24:31 Multi User Chat domain: conference.devcpm4k

2005.06.02 08:24:31 Started plain (unencrypted) socket on port: 5222

2005.06.02 08:24:33 Started SSL (encrypted) socket on port: 5223

2005.06.02 08:24:33 Jive Messenger 2.1.3 Started

2005.06.02 08:24:40 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

2005.06.02 08:27:04 Jive Messenger 2.1.3 Started

2005.06.02 08:27:12 Admin console listening at:

http://127.0.0.1:9090

https://127.0.0.1:9091

2005.06.02 08:28:27 Multi User Chat domain: conference.devcpm4k

2005.06.02 08:28:28 Started plain (unencrypted) socket on port: 5222

2005.06.02 08:28:29 Started SSL (encrypted) socket on port: 5223

2005.06.02 08:28:29 Jive Messenger 2.1.3 Started

2005.06.02 08:28:35 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

2005.06.02 08:38:19 Started plain (unencrypted) socket on port: 5222

2005.06.02 08:38:21 Started SSL (encrypted) socket on port: 5223

2005.06.02 08:38:21 Multi User Chat domain: conference.devcpm4k

2005.06.02 08:38:21 Jive Messenger 2.1.3 Started

2005.06.02 08:38:27 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

2005.06.02 08:39:09 Jive Messenger 2.1.3 Started

2005.06.02 08:39:17 Admin console listening at:

http://127.0.0.1:9090

https://127.0.0.1:9091

2005.06.02 08:40:31 Multi User Chat domain: conference.10.2.183.164

2005.06.02 08:40:32 Started plain (unencrypted) socket on port: 5222

2005.06.02 08:40:32 Jive Messenger 2.1.3 Started

2005.06.02 08:40:40 Admin console listening at:

http://10.2.183.164:9090

https://10.2.183.164:9091

2005.06.02 08:42:02 Packet sent to unreachable address

2005.06.02 08:55:38 Jive Messenger 2.1.3 Started

2005.06.02 08:55:45 Admin console listening at:

http://127.0.0.1:9090

https://127.0.0.1:9091

2005.06.02 08:56:54 Multi User Chat domain: conference.devcpm4k

2005.06.02 08:56:54 Started plain (unencrypted) socket on port: 5222

2005.06.02 08:56:56 Started SSL (encrypted) socket on port: 5223

2005.06.02 08:56:56 Jive Messenger 2.1.3 Started

2005.06.02 08:57:03 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

2005.06.02 08:57:58 Packet sent to unreachable address

2005.06.02 08:59:22 Multi User Chat domain: conference.devcpm4k

2005.06.02 08:59:22 Started plain (unencrypted) socket on port: 5222

2005.06.02 08:59:22 Jive Messenger 2.1.3 Started

2005.06.02 08:59:29 Admin console listening at:

http://devcpm4k:9090

https://devcpm4k:9091

Here’'s some more info. I enabled the debug log.

– User tries to log on – 2005.06.03 08:42:29 Connect Socket[addr=/10.2.183.164,port=1859,localport=5222]

2005.06.03 08:42:30 Logging off devcpm4k/7ef49ca0 on org.jivesoftware.messenger.net.SocketConnection@234265

2005.06.03 08:42:33 Connect Socket[addr=/10.2.183.164,port=1860,localport=5222]

2005.06.03 08:42:33 Logging off devcpm4k/2fedeaff on org.jivesoftware.messenger.net.SocketConnection@dc1f04

2005.06.03 08:43:59 Connect Socket[addr=/10.2.183.164,port=1862,localport=5222]

2005.06.03 08:43:59 Logging off devcpm4k/6274ef59 on org.jivesoftware.messenger.net.SocketConnection@c272bc

– Created user ‘‘test’’ – 2005.06.03 08:44:22 Connect Socket[addr=/10.2.183.164,port=1863,localport=5222]

2005.06.03 08:44:30 Logging off test@devcpm4k/RhymBox on org.jivesoftware.messenger.net.SocketConnection@cd43ce

2005.06.03 08:44:32 Connect Socket[addr=/10.2.183.164,port=1873,localport=5222]

2005.06.03 08:44:32 Logging off devcpm4k/4f564b46 on org.jivesoftware.messenger.net.SocketConnection@1eb0c6

has anyone had any success with RhymBox?

how come no one has touched this? am i missing something?

java.sql.SQLException: The database is already in use by another process: org.hsqldb.NIOLockFile@b27997b8[file =C:\Program Files\Jive Messenger\embedded-db\messenger.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file is presumably locked by another process.

It seems there’‘s a locking problem with the database. I recently installed Jive 2.1.3 on a windows Server 2003 and MySQL database. It’‘s working fine. I’'d suggest you to install MySQL as the database Engine.

Check please if you are running multiple processes that connect to the database. I recall having similar issues when I started the server as service, stopped it from the admin console and tried to restart it again afterwards…

The message seems to be quite clear: There’'s a lockfile. If you are really, really sure that no other JM is running: Perhaps remove the lockfile manually?

Regards,

Ben

I discovered that wasn’‘t the issue. I reinstalled the entire server. Same problem is occuring. But my error.log is empty. Does RhymBox hash the password on its own or something? I’'m just storing passwords as plain text.

/bump

the truth is out there

Found out it was a problem with the Rhymbox 1.6 client. Problem fixed by using the Pandion client

I am having a simmilar problem with 2.3.0 beta 2 but on 2.2 stable its workign fine

for Jive Messenger 2.3.0 beta 2 the log says

2005.11.17 17:54:54 … search finished

2005.11.17 17:54:54 In LdapManager.checkAuthentication(userDN, password), userDN is: CN=Vidaurri,Alejandro BIP-MX-M,OU=IT,OU=Users,OU=mex…

2005.11.17 17:54:54 Created context values, attempting to create context…

2005.11.17 17:54:54 … context created successfully, returning.

2005.11.17 17:55:04 Logging off mexpc-it79/a9df6eb7 on org.jivesoftware.messenger.net.SocketConnection@15af049 socket: Socket[addr=/172.18.121.184,port=3035,localport=5222] session: org.jivesoftware.messenger.ClientSession@d2d58b status: 1 address: mexpc-it79/a9df6eb7 id: a9df6eb7 presence:

but on version 2.2.0 the log was workign fine

2005.11.17 18:23:29 … search finished

2005.11.17 18:23:29 In LdapManager.checkAuthentication(userDN, password), userDN is: CN=Vidaurri,Alejandro BIP-MX-M,OU=IT,OU=Users,OU=mex,OU=mx…

2005.11.17 18:23:29 Created context values, attempting to create context…

2005.11.17 18:23:29 … context created successfully, returning.