powered by Jive Software

Occur error of wildfire!

Hey All !

I am used JabLogger-0_6_0 connect to Wildfire , occur this is error !

Socket[addr=/192.168.1.2,port=3685,localport=5522]

ÄÚ²¿·þÎñÆ÷´íÎó

java.lang.NullPointerException

at org.jivesoftware.wildfire.SessionManager.sessionAvailable(SessionManager.java:5 74)

at org.jivesoftware.wildfire.ClientSession.setPresence(ClientSession.java:596)

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

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

at org.jivesoftware.wildfire.PresenceRouter.handle(PresenceRouter.java:87)

at org.jivesoftware.wildfire.PresenceRouter.route(PresenceRouter.java:61)

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

at org.jivesoftware.wildfire.net.SocketReader.processPresence(SocketReader.java:43 9)

at org.jivesoftware.wildfire.net.ClientSocketReader.processPresence(ClientSocketRe ader.java:56)

at org.jivesoftware.wildfire.net.SocketReader.readStream(SocketReader.java:233)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:118)

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

Socket[addr=/192.168.1.2,port=2999,localport=5522]

½¨Á¢»á»°Ö®Ç°Á¬½ÓÒѹرÕ

Socket[addr=/192.168.1.2,port=3005,localport=5522]

½¨Á¢»á»°Ö®Ç°Á¬½ÓÒѹرÕ

Socket[addr=/192.168.1.2,port=3008,localport=5522]

java.sql.SQLException: I/O Error: Connection reset by peer: socket write error

at net.sourceforge.jtds.jdbc.TdsCore.executeSQL(TdsCore.java:1049)

at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:478)

at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedState ment.java:421)

at org.jivesoftware.wildfire.user.User.updateProperty(User.java:420)

at org.jivesoftware.wildfire.user.User.access$200(User.java:39)

at org.jivesoftware.wildfire.user.User$PropertiesMap.put(User.java:298)

at org.jivesoftware.wildfire.spi.PresenceManagerImpl.userUnavailable(PresenceManag erImpl.java:172)

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

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

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

at org.jivesoftware.wildfire.net.SocketConnection.notifyCloseListeners(SocketConne ction.java:496)

at org.jivesoftware.wildfire.net.SocketConnection.close(SocketConnection.java:341)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:150)

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

Caused by: java.net.SocketException: Connection reset by peer: socket write error

at java.net.SocketOutputStream.socketWrite0(Native Method)

at java.net.SocketOutputStream.socketWrite(Unknown Source)

at java.net.SocketOutputStream.write(Unknown Source)

at java.io.DataOutputStream.write(Unknown Source)

at net.sourceforge.jtds.jdbc.SharedSocket.sendNetPacket(SharedSocket.java:656)

at net.sourceforge.jtds.jdbc.RequestStream.putPacket(RequestStream.java:560)

at net.sourceforge.jtds.jdbc.RequestStream.flush(RequestStream.java:508)

at net.sourceforge.jtds.jdbc.TdsCore.executeSQL(TdsCore.java:1036)

… 13 more

Message was edited by:

zhuam

Hi,

java.sql.SQLException: I/O Error: Connection reset by peer: socket write error

at net.sourceforge.jtds.jdbc.TdsCore.executeSQL(TdsCore.java:1049)

The main problem would appear to be that you do not have a database connection.

Can you verify your db settings and connection?

Conor.

Hi Conor !

Thanks for your help ,but occur java.lang.NullPointerException error !