powered by Jive Software

Jive Crash Windows 2000 server

I am running the latest version of Jive server on windows 2000 server with all it’s updates. It seems to crash over night and I have to re-launch it ever morning. What could be the root of this problem? Below is the error log after I restarted.

-log—

at java.util.AbstractMap.remove(Unknown Source)

at org.jivesoftware.messenger.spi.PresenceManagerImpl.deleteLastUnavailablePresenc e(PresenceManagerImpl.java:179)

at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdate Handler.java:103)

at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdate Handler.java:150)

at org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:86)

at org.jivesoftware.messenger.PresenceRouter.route(PresenceRouter.java:59)

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

at org.jivesoftware.messenger.net.SocketReadThread.readStream(SocketReadThread.jav a:240)

at org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:105)

2005.05.31 20:30:36 [org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdat eHandler.java:139)

] Internal server error

java.lang.IllegalStateException: Entry was removed

at java.util.concurrent.ConcurrentHashMap$EntryIterator.getKey(Unknown Source)

at org.jivesoftware.messenger.user.User$PropertiesEntrySet$1.remove(User.java:355)

at java.util.AbstractMap.remove(Unknown Source)

at org.jivesoftware.messenger.spi.PresenceManagerImpl.deleteLastUnavailablePresenc e(PresenceManagerImpl.java:179)

at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdate Handler.java:103)

at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdate Handler.java:150)

at org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:86)

at org.jivesoftware.messenger.PresenceRouter.route(PresenceRouter.java:59)

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

at org.jivesoftware.messenger.net.SocketReadThread.readStream(SocketReadThread.jav a:240)

at org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:105)

2005.06.01 13:45:13 [org.jivesoftware.messenger.spi.ConnectionManagerImpl.createSocket(ConnectionMa nagerImpl.java:85)

] Could not setup a server socket

java.net.BindException: Address already in use: JVM_Bind

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(Unknown Source)

at java.net.ServerSocket.bind(Unknown Source)

at java.net.ServerSocket.(Unknown Source)

at org.jivesoftware.messenger.net.SocketAcceptThread.(SocketAcceptThread.jav a:70)

at org.jivesoftware.messenger.spi.ConnectionManagerImpl.createSocket(ConnectionMan agerImpl.java:71)

at org.jivesoftware.messenger.spi.ConnectionManagerImpl.start(ConnectionManagerImp l.java:152)

at org.jivesoftware.messenger.XMPPServer.startModules(XMPPServer.java:313)

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

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)

Hey zendiagrams,

From the stack trace it seems to me that you are not using the latest nightly build. In the logs I found 2 issues. The first one was already fixed so you should try with the nightly build and let me know how it goes. The second problem is that another application is already using port 5222. Is it possible that you have another instance of JM running? You can use the netstat command or a tool like this one http://www.codeproject.com/tools/wnetstat.asp.

Regards,

– Gato

In my opinion, this tool is easier to use: http://www.sysinternals.com/ntw2k/source/tcpview.shtml

Hey Cameron,

I was just looking for your link but couldn’'t find the thread where you posted it. Thanks for posting it again.

Regards,

– Gto