tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37213] - problem when running tomcat with -security option
Date Fri, 24 Feb 2006 17:57:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37213>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37213





------- Additional Comments From luigi.zanderighi@glz.it  2006-02-24 18:57 -------
I got the same problem.

The problem occurs if log4j is configured to write to a file where log4j th
webapp does not have permission to write to.

the original exception
java.security.AccessControlException: access denied (java.io.FilePermission
\_training\webapps\fear\WebRoot\l
og.html write)

gets some how converted (log4j??) to a 
Caused by: java.lang.NoClassDefFoundError

and than converted by commons-logging to a :
java.lang.reflect.InvocationTargetException

Each time the a static initialization of logger is done a
java.lang.ExceptionInInitializerError is thrown.

This makes tomcat loop trying to clean up the webapplication:
...
GRAVE: Context [/max64] startup failed due to previous errors
24-feb-2006 17.16.09 org.apache.catalina.core.StandardContext start
GRAVE: Exception during cleanup after start failed
...
24-feb-2006 17.16.31 org.apache.catalina.startup.ContextConfig applicationWebConfig
GRAVE: Context [/max64] startup failed due to previous errors
24-feb-2006 17.16.31 org.apache.catalina.core.StandardContext start
GRAVE: Exception during cleanup after start failed

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message