djavatar
October 10th, 2008, 03:18 PM
Hello all,
I currently have Tomcat 5.5 running on Ubuntu 8.04 and its working great except for one small hang up.
Every time Tomcat is restarted the first request to a jsp bombs with an exception - java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.coyote)
All further requests to jsps work fine. Meaning if I refresh or navigate else where the error is not seen again unless Tomcat is restarted. The error only shows on the very first request to tomcat. The tomcat logs aren't much help, they show the same exception but they point at the failing jsp: Servlet.service() for servlet org.apache.jsp.index_jsp threw exception.
I have been bashing my head off the wall trying to resolve this. ](*,) I know its a java security issue but the permissions seem to be correct for org.apache.coyote for jsps. JDK, Tomcat5.5, Tomcat5.5-webapps, and Tomcat5.5-admin were all installed through apt-get.
Any help or insight would appreciated,
Dave
I currently have Tomcat 5.5 running on Ubuntu 8.04 and its working great except for one small hang up.
Every time Tomcat is restarted the first request to a jsp bombs with an exception - java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.coyote)
All further requests to jsps work fine. Meaning if I refresh or navigate else where the error is not seen again unless Tomcat is restarted. The error only shows on the very first request to tomcat. The tomcat logs aren't much help, they show the same exception but they point at the failing jsp: Servlet.service() for servlet org.apache.jsp.index_jsp threw exception.
I have been bashing my head off the wall trying to resolve this. ](*,) I know its a java security issue but the permissions seem to be correct for org.apache.coyote for jsps. JDK, Tomcat5.5, Tomcat5.5-webapps, and Tomcat5.5-admin were all installed through apt-get.
Any help or insight would appreciated,
Dave