Tomcat server stopped after 12 hrs
hi,
i have developed a jsp web application using struts framework. the application is deployed in Window NT server, MySQL db.
everyday the server is stopped automatically. i have to restart the application now and then (say 12 or 10 hrs differene)... when i look into the tomcat logs details...sometime i could see the below error,
STACKTRACE:
java.sql.SQLException:Communication link failure: java.io.EOFException, underlying cause: null
ORjava.net.ConnectException: Connection timed out
please suggest me what could be the problem...?
[595 byte] By [
loguKKa] at [2007-11-27 3:04:21]

# 2
i use hibernate db connection... something like,
<hibernate-configuration>
<session-factory>
<property name="connection.username">root</property>
<property name="connection.url">jdbc:mysql://localhost:3306/test_db</property>
<property name="dialect">net.sf.hibernate.dialect.MySQLDialect</property>
<property name="myeclipse.connection.profile"></property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.password"></property>
--
even now i don't know wether it is because of mysql database problem or tomcat server stopped problem....