Re: can't fire tomcat with the security option
On 05/08/2010 23:34, Rashid Jilani wrote: My bad, here is the info Tomcat : 6.0.29 OS = windows XP JDK = 1.6.0_05 I just downloaded the core zip file from http://apache.cs.utah.edu/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.z ip, and unzip on my machine. The way I fire it is some thing like that @echo off setlocal set JAVA_OPTS=-Djava.security.auth.login.config=C:\Documents and Settings\XXX\workspace\WebSecurity\WebContent\WEB-INF\test.config call catalina.bat run -security endlocal Regards, RJ And the full stacktrace of the error? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: can't fire tomcat with the security option
On 05/08/2010 23:10, Rashid Jilani wrote: Gurus when I try to fire the tomcat catalina start -security I am following the following errors java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.catalina) at java.security.AccessControlContext.checkPermission(Unknown Source) Can some shed some light what is the root cause of the error BTW I also tried to run the tomcat by setting set CATALINA_OPTS=-Djava.security.debug=all option that kept spitting tons of messages on my console screen but can't make any sense out of it, any help would be really appreciated Full Tomcat version and the full stack trace would be a good place to start. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: can't fire tomcat with the security option
From: Rashid Jilani [mailto:jil...@lifebiosystems.com] Subject: can't fire tomcat with the security option Can some shed some light what is the root cause of the error Not unless you shed some light on the version of Tomcat you're using and how you installed it, the JVM it's running in, how you start Tomcat, and the platform it's running on. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: can't fire tomcat with the security option
My bad, here is the info Tomcat : 6.0.29 OS = windows XP JDK = 1.6.0_05 I just downloaded the core zip file from http://apache.cs.utah.edu/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.z ip, and unzip on my machine. The way I fire it is some thing like that @echo off setlocal set JAVA_OPTS=-Djava.security.auth.login.config=C:\Documents and Settings\XXX\workspace\WebSecurity\WebContent\WEB-INF\test.config call catalina.bat run -security endlocal Regards, RJ -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, August 05, 2010 5:14 PM To: Tomcat Users List Subject: RE: can't fire tomcat with the security option From: Rashid Jilani [mailto:jil...@lifebiosystems.com] Subject: can't fire tomcat with the security option Can some shed some light what is the root cause of the error Not unless you shed some light on the version of Tomcat you're using and how you installed it, the JVM it's running in, how you start Tomcat, and the platform it's running on. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org