Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie

2012-01-20 Thread Guillermo GARCIA OCHOA
I have an application that use j_security for a form-based authentication. When the application is deployed for the first time (or the tomcat is restarted) user gets this exception when trying access a protected content directly (without login). GRAVE: Servlet.service() for servlet [default]

RE: Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie

2012-01-20 Thread Guillermo GARCIA OCHOA
GARCIA OCHOA guillermo.garcia-oc...@inova-software.com: I have an application that use j_security for a form-based authentication. When the application is deployed for the first time (or the tomcat is restarted) user gets this exception when trying access a protected content directly (without

RE: Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie

2012-01-20 Thread Guillermo GARCIA OCHOA
permission will need to be uncommented grant codeBase file:${catalina.base}/lib/- { permission java.security.AllPermission; }; Thanks to Konstantin Kolinko for the quick hint! PS: Why the exception is not clear enough?? -Original Message- From: Guillermo GARCIA OCHOA