Wildfire Crashed This Morning

Hey guy-

Wildfire crashed this morning, and disallowed all logins. Here are the logs. This error appears over and over and over.

2007.03.26 08:38:31 org.jivesoftware.wildfire.nio.ConnectionHandler.exceptionCaught(ConnectionHandle r.java:109)

java.lang.NoClassDefFoundError: Could not initialize class com.mysql.jdbc.Messages

at com.mysql.jdbc.Util.stackTraceToString(Util.java:270)

at com.mysql.jdbc.Connection.checkClosed(Connection.java:1840)

at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4306)

at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4272)

at org.jivesoftware.database.AbstractConnection.prepareStatement(AbstractConnectio n.java:36)

at org.jivesoftware.wildfire.group.Group.getSharedGroupsNames(Group.java:76)

at org.jivesoftware.wildfire.group.GroupManager.getSharedGroups(GroupManager.java: 284)

at org.jivesoftware.wildfire.roster.RosterManager.getSharedGroups(RosterManager.ja va:167)

at org.jivesoftware.wildfire.roster.Roster.(Roster.java:93)

at org.jivesoftware.wildfire.roster.RosterManager.getRoster(RosterManager.java:92)

at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.broadcastUpdate(Presenc eUpdateHandler.java:255)

at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:113)

at org.jivesoftware.wildfire.SessionManager$ClientSessionListener.onConnectionClos e(SessionManager.java:1493)

at org.jivesoftware.wildfire.nio.NIOConnection.notifyCloseListeners(NIOConnection. java:161)

at org.jivesoftware.wildfire.nio.NIOConnection.close(NIOConnection.java:140)

at org.jivesoftware.wildfire.nio.ConnectionHandler.sessionClosed(ConnectionHandler .java:86)

at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.sessionClosed(A bstractIoFilterChain.java:677)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(Abst ractIoFilterChain.java:321)

at org.apache.mina.common.support.AbstractIoFilterChain.access$800(AbstractIoFilte rChain.java:54)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed( AbstractIoFilterChain.java:781)

at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClosed(ProtocolCodecFil ter.java:291)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(Abst ractIoFilterChain.java:321)

at org.apache.mina.common.support.AbstractIoFilterChain.access$800(AbstractIoFilte rChain.java:54)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed( AbstractIoFilterChain.java:781)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :267)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:305)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

…and in the warn logs…

2007.03.26 07:03:29 Closing session due to exception: (SOCKET, R: /10.66.209.29:48095, L: /10.66.209.29:5222, S: 0.0.0.0/0.0.0.0:5222)

org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.StringIndexOutOfBoundsException: String index out of range: 9 (Hexdump: empty)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:176)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:362)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:54)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:800)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :250)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:305)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 9

at java.lang.AbstractStringBuilder.charAt(Unknown Source)

at java.lang.StringBuilder.charAt(Unknown Source)

at org.jivesoftware.wildfire.nio.XMLLightweightParser.read(XMLLightweightParser.ja va:161)

at org.jivesoftware.wildfire.nio.XMPPDecoder.doDecode(XMPPDecoder.java:35)

at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtoco lDecoder.java:137)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:165)

… 8 more

(over and over)

Any ideas?

Hi,

“java.lang.NoClassDefFoundError: Could not initialize class com.mysql.jdbc.Messages” seems to be quite clear about a missing MySQL class in the driver but as I have no MySQL experience I wonder how one may get such an exception.

LG

And why would it work right after a restart? Or suddenly stop working?

MySQL seemed fine through all this.

Hi,

I assume that this particular class is needed only in very rare cases and thus it fails not very often.

LG