LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mysql entry in catalina.policy when using security option (https://www.linuxquestions.org/questions/linux-software-2/mysql-entry-in-catalina-policy-when-using-security-option-161063/)

gschrade 03-22-2004 03:10 PM

mysql entry in catalina.policy when using security option
 
Does anyone know what must be entered in calalina.policy in tomcat in order to be able to access mySql via JDBC (while using tomcat's security option)?

jsokko 03-22-2004 04:57 PM

Errr... you shoulnd't have to. You should be able to put the jar file for the JDBC connector in your WEB-INF and access it that way (of course you need to set the appropriate connection params in your apps as well). If you want to use the explicit JDBC connection, you should follow the example that came with your server.xml file. It's near the bottom, if I remember properly.


J

gschrade 03-22-2004 05:09 PM

I have done all that and the connection works until I add the -security option when starting tomcat. Then I cannot connect.

gschrade 03-22-2004 05:21 PM

Something must be added to catalina.policy to allow this. That is my quandry.

jsokko 03-23-2004 10:49 AM

Have you read through this??


http://jakarta.apache.org/tomcat/tom...ger-howto.html


J

gschrade 03-23-2004 11:23 AM

Yes, it did not help. From the google searches I performed on the subject, it did not help anybody else either.


All times are GMT -5. The time now is 12:59 AM.