You are running tomcat with the security manager enabled. You'll have to update catalina.policy to allow the connection.

--David

tukutela wrote:
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?


--
David Smith
Network Operations Supervisor
Department of Entomology
Cornell University
2132 Comstock Hall
Ithaca, NY 14853
Phone: (607) 255-9571
Fax: (607) 255-0940


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

Reply via email to