powered by Jive Software

Failed to obtain next ID block due to thread contention

I am frequently gettting this error… anyone know why? see the log below…

Thanks in advance

at org.jivesoftware.messenger.net.SocketReader.readStream(SocketReader.java:190)

at org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:115)

at java.lang.Thread.run(Unknown Source)

2005.12.13 15:53:27 [org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:23 5)

] WARNING: failed to obtain next ID block due to thread contention. Trying again…

2005.12.13 15:53:27 [org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:22 5)

]

java.sql.SQLException: Loading the current ID failed. The jiveID table may not be correctly populated.

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:199 )

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:243 )

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:243 )

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:243 )

at org.jivesoftware.database.SequenceManager.nextUniqueID(SequenceManager.java:164 )

at org.jivesoftware.database.SequenceManager.nextID(SequenceManager.java:73)

at org.jivesoftware.messenger.OfflineMessageStore.addMessage(OfflineMessageStore.j ava:104)

at org.jivesoftware.messenger.OfflineMessageStrategy.store(OfflineMessageStrategy. java:95)

at org.jivesoftware.messenger.OfflineMessageStrategy.storeOffline(OfflineMessageSt rategy.java:76)

at org.jivesoftware.messenger.MessageRouter.route(MessageRouter.java:84)

at org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:69)

at org.jivesoftware.messenger.net.SocketReader.processMessage(SocketReader.java:41 6)

at org.jivesoftware.messenger.net.ClientSocketReader.processMessage(ClientSocketRe ader.java:63)

at org.jivesoftware.messenger.net.SocketReader.readStream(SocketReader.java:190)

at org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:115)

at java.lang.Thread.run(Unknown Source)

2005.12.13 15:53:27 [org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:23 5)

] WARNING: failed to obtain next ID block due to thread contention. Trying again…

2005.12.13 15:53:27 [org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:22 5)

]

java.sql.SQLException: Loading the current ID failed. The jiveID table may not be correctly populated.

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:199 )

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:243 )

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:243 )

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:243 )

at org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:243 )

at org.jivesoftware.database.SequenceManager.nextUniqueID(SequenceManager.java:164 )

at org.jivesoftware.database.SequenceManager.nextID(SequenceManager.java:73)

at org.jivesoftware.messenger.OfflineMessageStore.addMessage(OfflineMessageStore.j ava:104)

at org.jivesoftware.messenger.OfflineMessageStrategy.store(OfflineMessageStrategy. java:95)

at org.jivesoftware.messenger.OfflineMessageStrategy.storeOffline(OfflineMessageSt rategy.java:76)

at org.jivesoftware.messenger.MessageRouter.route(MessageRouter.java:84)

at org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:69)

at org.jivesoftware.messenger.net.SocketReader.processMessage(SocketReader.java:41 6)

at org.jivesoftware.messenger.net.ClientSocketReader.processMessage(ClientSocketRe ader.java:63)

at org.jivesoftware.messenger.net.SocketReader.readStream(SocketReader.java:190)

at org.jivesoftware.messenger.net.SocketReader.run(SocketReader.java:115)

at java.lang.Thread.run(Unknown Source)

2005.12.13 15:53:27 [org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:23 5)

] WARNING: failed to obtain next ID block due to thread contention. Trying again…

2005.12.13 15:53:27 [org.jivesoftware.database.SequenceManager.getNextBlock(SequenceManager.java:18 3)

] Failed at last attempt to obtain an ID, aborting…

Hey Jason,

Which version of the server are you using? Is your jiveID table correctly populated? Let us know which ids do you have in that table.

Regards,

– Gato

We are using Server version 2.3.0. We are using an Oracle backend (9i) and LDAP to Active Directory authentication. How can we tell if it is populated correctly?

Is it possible we are getting this problem because a user is logging in using more than one client. For example, we’‘ve been testing JWChat, so i’'ve been logging in and out of JWChat while consistently on Trillian Pro using the same user ID.

jason