LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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, 04: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, 05: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, 05: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, 10: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, 11:23 AM   #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



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 07:57 AM
Samba System Policy, Default User Policy scooter549 Linux - General 2 02-24-2009 02:23 AM
security policy iptables Ammad Linux - Security 2 11-14-2005 06:15 AM
Domain Security Policy talkinggoat Linux - Networking 0 10-10-2003 11:25 AM
designing security policy for organisations sadiboyz Linux - Security 2 09-03-2003 03:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration