Hey all,
I know that the ‘‘invalid presence type’’ problem has been fixed in release 2.2.0, but I’'m curious if that ‘‘warning’’ could be causing bigger problems in the server. We have 2.1.5 installled on a RHEL box (kernel version: 2.4.21-27.0.2.ELsmp), with JVM version: 1.5.0_02 Sun Microsystems Inc. – Java HotSpot™ Server VM. The stack trace below shows a lot of the ‘‘invalid presence type’’ errors. I originally thought that these were just ‘‘warnings’’ (as seems to be indicated by the comments in the fix), but after less than a month running the server with these errors, we eventually get into a ‘‘semi-frozen’’ state.
The server is still running, however, some new connections are not fully ‘‘accepted’’, and we also are not able to send messages to anyone (including admin broadcast messages in the admin console). In addition, trying to kill the server from the admin console or through the ‘‘messenger stop’’ command also fails. We have to kill -9 the JVM process itself. Other than the stack trace below, we are seeing nothing that would indicate what the problem is. Has anyone else seen this? Note - we average about 700-800 online users on a consistent basis. Thanks.
java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Presence$Type.invisible
at java.lang.Enum.valueOf(Unknown Source)
at org.xmpp.packet.Presence$Type.valueOf(Presence.java:308)
at org.xmpp.packet.Presence.getType(Presence.java:93)
at org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:77)
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.09.06 11:08:33 org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:114)
Could not route packet
java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Presence$Type.invisible
at java.lang.Enum.valueOf(Unknown Source)
at org.xmpp.packet.Presence$Type.valueOf(Presence.java:308)
at org.xmpp.packet.Presence.getType(Presence.java:93)
at org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:77)
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.09.06 11:08:41 org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:114)
Could not route packet