Re: tomcat can not connect to MySql

2007-09-23 Thread David Smith
This stack trace seems short and unusually terse. I can guess this is Sun JDK 1.4 since javax.transaction.SystemException doesn't exist in later JDKs. Since the exception is thrown by com.met.data.factory.user.UserFactory, is this class one of yours? If so, it would be great if you could add

Re: tomcat can not connect to MySql

2007-09-23 Thread mgainty
: XRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZID To: Sent: Sunday, September 23, 2007 3:08 AM Subject: Re: tomcat can not connect to MySql > > Tomcat 5.5.9 > OS Windows Server 2003 , Windows XP > Mysql 5.0 > tomcat and mysql on the same server > > javax.transa

Re: tomcat can not connect to MySql

2007-09-23 Thread fdehghani
also i have to say that i use hibernate 3 to connect to Mysql thanks for your attention -- Fatemeh fdehghani wrote: > > Tomcat 5.5.9 > OS Windows Server 2003 , Windows XP > Mysql 5.0 > tomcat and mysql on the same server > > javax.transaction.SystemException > com.met.data.factory.use

Re: tomcat can not connect to MySql

2007-09-23 Thread fdehghani
Tomcat 5.5.9 OS Windows Server 2003 , Windows XP Mysql 5.0 tomcat and mysql on the same server javax.transaction.SystemException com.met.data.factory.user.UserFactory.getUser(UserFactory.java:694) com.met.action.LoginAction.execute(LoginAction.java:56) org.apache.struts.action.Re

Re: tomcat can not connect to MySql

2007-09-22 Thread David Smith
Can you provide some specifics of your environment? Tomcat version OS Mysql version (both driver and server) Both tomcat and mysql on the same machine? If not, any firewalls that might be timing out a connection? How long does it run before it doesn't work? Can you post the full stack trace of yo

Re: tomcat can not connect to MySql

2007-09-22 Thread Hassan Schroeder
On 9/22/07, fdehghani <[EMAIL PROTECTED]> wrote: > > but when running its service, after sometime when run my project,tomcat say > that can not connect to database(SystemException) > then i should restart its service to work correctly. > i'm not sure thet its tomcat's problem or MySql If a TC rest

Re: tomcat can not connect to MySql

2007-09-22 Thread Martin Gainty
This is for mysql lists but the easiest way to check for running mysql service is go to command line netstat -a | grep 3306 or whatever port you use to start mysql configured in either in %MYSQL_HOME%\my.ini or $MYSQL_HOME/my.cnf M-- - Original Message - From: "fdehghani" <[EMAIL PROTECT