Rick Bragg wrote:
> 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
>
>
>   
No... it doesn't need one.  There are a number of "user" accounts in any
linux system that do not have shells.  They are just there for access
control purposes limiting what different daemons and processes can do. 
Make sure tomcat can reach the mysql server and that should go a long
ways towards fixing the issue.  Also what Chuck said about the
discrepancy in docs vs. config although I think that's a separate
issue.  Communications link failure is a network issue.


--David

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

Reply via email to