commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Susanne Lefvert <lefv...@mcs.anl.gov>
Subject random mysql error for ftp server authentication
Date Mon, 18 Dec 2006 19:48:43 GMT


Hello All,

I'm using the apache commons ftp server together with the apache  
commons ftps client. I'm occasionally getting this mysql error during  
authentication (from the log.gen file):

[ERROR] 2006-12-13 20:10:18,313 DbUserManager.authenticate()
com.mysql.jdbc.CommunicationsException: Communications link failure  
due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.io.EOFException

STACKTRACE:

java.io.EOFException
         at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1913)
         at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2304)
         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803)
         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:3047)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1166)
         at  
org.apache.ftpserver.usermanager.DbUserManager.authenticate 
(DbUserManager.java:538)
         at org.apache.ftpserver.command.PASS.execute(PASS.java:114)
         at org.apache.ftpserver.RequestHandler.service 
(RequestHandler.java:277)
         at org.apache.ftpserver.RequestHandler.run 
(RequestHandler.java:242)
         at java.lang.Thread.run(Thread.java:595)


** END NESTED EXCEPTION **

The same user name and password usually works after this exception.  
And I cannot reliably reproduce it, sometimes it happens sometimes it  
doesn't happen.

Any help appreciated.

Thanks,

Susanne


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message