xalan problem with security manager

2005-01-14 Thread Michal Kwiatek
Hi all, I can't make xalan work when I run tomcat with security manager. All I get is java.lang.ExceptionInInitializerError (see stack trace below). It works fine without security manager. Has any of you used xalan on tomcat with secuirity manager? What privileges should I grant to the code? I

Re: xalan problem with security manager

2005-01-14 Thread Greg Lappen
Michael- If you suspect the error is related to the security manager, run tomcat with the following environment variable set: export CATALINA_OPTS=-Djava.security.debug=access:failure This will put logging for the security manager in your catalina.out file (or your applications log file if

Re: problem with security manager, plesk and mysql (catalina.policy ignored?)

2004-10-30 Thread Alfonso Alba García
I see now where my problem can be. If I extract the war file to directory ${catalina.home}/psa-webapps/mydomain.com/myapplication/ and insert in the policy file grant codeBase file:${catalina.home}/psa-webapps/mydomain.com/myapplication/ { permission java.net.SocketPermission localhost,resolve;

problem with security manager, plesk and mysql (catalina.policy ignored?)

2004-10-29 Thread Alfonso Alba García
Hi everybody, I have problems when connecting to mysql. I'm getting the following exception when trying to connect to a mysql database: (SQLException): java.sql.SQLException: Unable to connect to any hosts due to exception: java.security.AccessControlException: access denied

problem with security manager.

2004-08-24 Thread Shilpa Nalgonda
I am running Tomcat4.1.30 on windows 2000, with security option turned on. My java application which is using JDK 1.4, connects to the the credit card authorizing company called verisign, and returns the approval authorization code. I have installed the digital certificate on $TOMCAT_HOME\certs

problem with security manager and manager webapp

2004-03-16 Thread Jason Keltz
Hi. I've been using the manager webapp, but after enabling the security manager (-security on tomcat startup), the manager doesn't run any longer, giving this error: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this

Re: problem with security manager and manager webapp

2004-03-16 Thread Jeanfrancois Arcand
Jason Keltz wrote: Hi. I've been using the manager webapp, but after enabling the security manager (-security on tomcat startup), the manager doesn't run any longer, giving this error: type Exception report message description The server encountered an internal error () that prevented it

Re: problem with security manager and manager webapp

2004-03-16 Thread Jason Keltz
Hi Jeanfrancois, I'm not sure now if it's a bug or not. I realized that the problem is that the code in catalina.policy to allow access refers to ${catalina.home}: // These permissions apply to the container's core code, plus any additional // libraries installed in the server directory grant

Re: problem with security manager and manager webapp

2004-03-16 Thread Jeanfrancois Arcand
Jason Keltz wrote: Hi Jeanfrancois, I'm not sure now if it's a bug or not. I realized that the problem is that the code in catalina.policy to allow access refers to ${catalina.home}: // These permissions apply to the container's core code, plus any additional // libraries installed in the