On Mon, 2010-01-18 at 07:39 -0500, David Smith wrote:
> >
> > Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 
> > Communications link failure
> To me this looks like it's outside of tomcat.  Check that mysql is up,
> listening on tcp port 3306 (the standard mysql port) and there aren't
> any firewalls causing problems between tomcat and mysql.  If you can on
> the Ubuntu box, su to the tomcat user acct and try connecting with mysql
> using the client program:  mysql -P 3306 -h [mysql server hostname] -p
> -u [username for cyclos].  Replace the [...] in the command with real
> data and see what happens.
> 
> --David
> 

OK, It is NOT security related.  I set TOMCAT6_SECURITY=no
in /etc/default/tomcat6.

I noticed that the user "tomcat6" has no shell in /etc/passwd
  tomcat6:x:119:126::/usr/share/tomcat6:/bin/false

Should I give this user the ability to shell (/bin/bash)? 

Rick





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to