LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-22-2004, 04:10 PM   #1
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Rep: Reputation: 15
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)?
 
Old 03-22-2004, 05:57 PM   #2
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
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
 
Old 03-22-2004, 06:09 PM   #3
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Original Poster
Rep: Reputation: 15
I have done all that and the connection works until I add the -security option when starting tomcat. Then I cannot connect.
 
Old 03-22-2004, 06:21 PM   #4
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Original Poster
Rep: Reputation: 15
Something must be added to catalina.policy to allow this. That is my quandry.
 
Old 03-23-2004, 11:49 AM   #5
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
Have you read through this??


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


J
 
Old 03-23-2004, 12:23 PM   #6
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Original Poster
Rep: Reputation: 15
Yes, it did not help. From the google searches I performed on the subject, it did not help anybody else either.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy defa0009 Linux - General 5 03-02-2014 08:57 AM
Samba System Policy, Default User Policy scooter549 Linux - General 2 02-24-2009 03:23 AM
security policy iptables Ammad Linux - Security 2 11-14-2005 07:15 AM
Domain Security Policy talkinggoat Linux - Networking 0 10-10-2003 12:25 PM
designing security policy for organisations sadiboyz Linux - Security 2 09-03-2003 04:18 AM


All times are GMT -5. The time now is 09:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration