Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 32397 invoked from network); 6 Sep 2006 18:57:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2006 18:57:32 -0000 Received: (qmail 86021 invoked by uid 500); 6 Sep 2006 18:57:20 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 86001 invoked by uid 500); 6 Sep 2006 18:57:20 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 85990 invoked by uid 99); 6 Sep 2006 18:57:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 11:57:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 11:57:18 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GL2a2-00024J-1T for users@tomcat.apache.org; Wed, 06 Sep 2006 11:56:58 -0700 Message-ID: <6177625.post@talk.nabble.com> Date: Wed, 6 Sep 2006 11:56:58 -0700 (PDT) From: tukutela To: users@tomcat.apache.org Subject: Cannot connect to MySQL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mark.walker@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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