Stella

I believe you are correct.  There are two places that this is usually
set. One is in the  
/j2sdk/jre/lib/security directroy/java.policy.  The other location is in
/tomcat/conf/catalina.policy

Permissions for the JVM/Tomcat to open sockets, read directories, etc.
are controlled in these files.

Here is a link that is for Tomcat 3.3 but can give you an idea how to
edit and control this

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-security.html#per
missions

Hope this helps

Michael

"Good execution of poor requirments is still poor execution"

-----Original Message-----
From: stella luna [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 11, 2004 4:32 PM
To: Tomcat Users List
Subject: MySQL connection denied 


org.apache.jasper.JasperException: Unable to get connection, DataSource

invalid: "Unable to connect to any hosts due to exception:  
java.security.AccessControlException: access denied  
(java.util.PropertyPermission file.encoding rea


exerpt from my web.xml file

   <context-param>
     <param-name>
       javax.servlet.jsp.jstl.sql.dataSource
     </param-name>
     <param-value>
        
jdbc:mysql:///tgrant_com_- 
_Example,com.mysql.jdbc.Driver,username,passwrod
    </param-value>
   </context-param>


Anyone have any clue? I have Ensim 3.7 pro, and i suspect that it is  
putting some sort of sercurity restraints on my jvm?

thanks..




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to