tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tukutela <mark.wal...@gmail.com>
Subject Cannot connect to MySQL
Date Wed, 06 Sep 2006 18:56:58 GMT

Hi guru's, some serious help needed. 

I've been running a development environment on my laptop for the last few
weeks, and now the product is finished (basic website using MyFaces) I want
to promote to a production server. My dev environment consisted of:
- My laptop running Ubuntu 6.06
- Tomcat 5.5.17, MyFaces + Tomahawk
- An external server running MySQL 5.0 (port 3306)

I've SSH'd into the production server, and tested network connectivity to
port 3306, works perfectly. But when tomcat tries to connect to the server I
get the following error in the log file:
java.net.SocketException
MESSAGE: java.security.AccessControlException: access denied
(java.net.SocketPermission x.x.x.x:3306 connect,resolve)

STACKTRACE:

java.net.SocketException: java.security.AccessControlException: access
denied (java.net.SocketPermission x.x.x.x:3306 connect,resolve)

It's not enjoyable to watch I can assure you :) Anybody got any ideas?
-- 
View this message in context: http://www.nabble.com/Cannot-connect-to-MySQL-tf2228929.html#a6177625
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message