Results 1 to 3 of 3

Thread: Java Exception errot

  1. #1
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default Java Exception error

    Starting today, every so often I get the following Java exception error in the zimbra.log. Also getting less mail, so some may be bouncing due to this.

    Any ideas?

    2006-08-21 07:30:17,088 INFO [ImapServer-55] [] ProtocolHandler - Exception occurred while handling connection
    java.io.IOException: Connection reset by peer
    at sun.nio.ch.FileDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher. java:21)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java :233)
    at sun.nio.ch.IOUtil.read(IOUtil.java:206)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImp l.java:207)
    at sun.nio.ch.SocketAdaptor$SocketInputStream.read(So cketAdaptor.java:176)
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStr eam.java:86)
    at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStre am.java:235)
    at com.zimbra.cs.tcpserver.TcpServerInputStream.readL ine(TcpServerInputStream.java:81)
    at com.zimbra.cs.imap.ImapRequest.continuation(ImapRe quest.java:141)
    at com.zimbra.cs.imap.ImapHandler.processCommand(Imap Handler.java:207)
    at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:231)
    at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:198)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)
    Last edited by mcevoys; 08-22-2006 at 07:31 AM.

  2. #2
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default

    More from the same zimbra.log:

    ** BEGIN NESTED EXCEPTION **

    java.net.SocketException
    MESSAGE: java.net.ConnectException: Connection refused

    STACKTRACE:

    java.net.SocketException: java.net.ConnectException: Connection refused
    at com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.java:156)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
    at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2680)
    at com.mysql.jdbc.Connection.<init>(Connection.java:1 485)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:140)
    at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:97)
    at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:300)
    at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:816)
    at org.apache.commons.dbcp.PoolingDriver.connect(Pool ingDriver.java:171)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:193)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 286)
    at com.zimbra.cs.db.DbUtil.executeQuery(DbUtil.java:1 68)
    at com.zimbra.cs.db.DbUtil.executeQuery(DbUtil.java:1 95)
    at com.zimbra.cs.db.DbStats.getStatus(DbStats.java:87 )
    at com.zimbra.cs.db.DbStats.getStatData(DbStats.java: 58)
    at com.zimbra.cs.stats.RealtimeStats.getData(Realtime Stats.java:73)
    at com.zimbra.cs.stats.ZimbraPerf$ZimbraStatsDumper.r un(ZimbraPerf.java:539)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)


    ** END NESTED EXCEPTION **

  3. #3
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    10

    Default

    the first exception is an IMAP client disconnecting - could be it just lost network conn.

    The second exception is mysql not being reachable for stats. Not sure why this is. Is your mysql process up and running?
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Zimbra Mobile fails with Java Exception
    By JasonChase in forum Zimbra Mobile
    Replies: 7
    Last Post: 01-21-2008, 06:25 PM
  2. GAL search test always ends with java exception
    By virtualwonder in forum Administrators
    Replies: 0
    Last Post: 05-29-2007, 08:18 AM
  3. Java 1.5 crashing on PPC Mac 10.4.8
    By bradn in forum Installation
    Replies: 1
    Last Post: 12-08-2006, 05:27 PM
  4. Java Exception when installing on a Mac
    By tug in forum Installation
    Replies: 2
    Last Post: 01-12-2006, 11:54 AM
  5. Replies: 0
    Last Post: 12-04-2005, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •