Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 57501 invoked by uid 500); 18 May 2001 22:37:15 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 57431 invoked from network); 18 May 2001 22:37:13 -0000 Received: from web618.mail.yahoo.com (216.115.104.87) by h31.sny.collab.net with SMTP; 18 May 2001 22:37:13 -0000 Message-ID: <20010518223717.6825.qmail@web618.mail.yahoo.com> Received: from [196.32.42.62] by web618.mail.yahoo.com; Fri, 18 May 2001 23:37:17 BST Date: Fri, 18 May 2001 23:37:17 +0100 (BST) From: =?iso-8859-1?q?Kevin=20HaleBoyes?= Subject: Re: -security flag and (oracle) JDBC realms To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N It seems I'm answering my own questions. I poked around a bit more in the Tomcat/Catalina documentation and found stuff on realms that helped a bit. > realm). Tomcat wouldn't start since it couldn't find the driver so I made > a symbolic link (running on RedHat Linux 6.2) in the > $CATALINA_HOME/common/lib directory to the classes111.jar file from the > Oracle distribution. Is that where the Oracle JDBC driver should be put? I > also tried it in $CATALINA_HOME/lib but that didn't work. A symbolic link didn't work at all. Makes sense I guess. So I copied the classes111.jar file from Oracle into the $CATALINA_HOME/server/lib directory. > I'm getting the following exception when Tomcat starts: > java.security.AccessControlException: access denied > (java.net.SocketPermission localhost resolve) I added the following to the catalina.policy file: grant codeBase "file:${catalina.home}/server/-" { permission java.net.SocketPermission "localhost:1521", "connect"; }; And that did it. Next I have to figure out how to seed (for now) my users table with MD5 passwords. Any help there would be welcome. Kevin. ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie