Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Roller problems - EOFExceptions

Thread view: 
spivee@gmail.com - 11 May 2006 04:57 GMT
I decided to try out the java/struts roller blog
v2.1(http://rollerweblogger.org/) and I seem to be having some issues.
I can start the application and can create users, login etc.  When I
try to create a new blog (never successful) I get exceptions.

WARN  2006-05-10 21:20:00,280 JDBCExceptionReporter:logExceptions - SQL
Error: 0, SQLState: 08S01
ERROR 2006-05-10 21:20:00,290 JDBCExceptionReporter:logExceptions -
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:1905)
       at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2351)
       at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2862)
       at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
       at
com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1124)
       at
com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676)
       at
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030)
       at
org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
....... (there's a lot more)...

I am running redhat linux with Tomcat 5.5.9, MySQL 5.0.17, ConnectorJ
3.1.12,  java 1.5.0_04.  I've tried quite a few things, nothing has
worked to resolve this problem.  I even upgraded to Tomcat 5.5.17 but
this didn't resolve the problem.

I have a friend to attempted to do the installation on his system as
well, using the same versions of software, and he has the same
problem..

I'm not really sure if this will turn out to be a tomcat issue, mysql
issue or what.  This may not be the correct group to post to, but I'm
pretty stumped and hoping somebody out there may have something useful
to contribute.

I read somewhere that this may be a problem with the autoreconnect
attribute in the database connection string and that using a
DataSourceRealm might fix the problem, but I'm not really understanding
how to apply that to this problem.  The doco on tomcat's site seems to
indicate the process by which you'd allow logging into tomcat using the
DataSourceRealm, but not how you'd use this to resolve a connection
pool problem.

Thanks in advance for any help...
spivee@gmail.com - 12 May 2006 03:08 GMT
In case anybody else is having this same problem, I was able to resolve
it by upgrading my MySQL installation.  I upgraded to 5.0.21 and the
issue resolved itself.  I hadn't modified MySQL.  I doubt it was a
configuration issue, though I could be wrong.

Anyway, Issues fixed.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.