security « Tomcat « JPA Q&A





1. java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.misc)    stackoverflow.com

So my hosting company changed their service to tomcat 7 with security manager, and from that time on I am getting this exception every time my application tries to connect to ...

2. access denied (java.util.PropertyPermission hibernate.enable_specj_proprietary_syntax read)    stackoverflow.com

The hosting company changed their services to tomcat 7 with security manager, and from that time on I am getting this exception every time my application tries to connect to MySQL ...

3. Tomcat security manager - c3p0 and hibernate    stackoverflow.com

I am using a Tomcat security enabled server, and Hibernate3 with c3p0. Here are my policies in catalina.policy (I found these lines on the net and changed a bit):

grant codeBase "file:${catalina.base}/webapps/omiccir/-" 
{

 ...

4. ExceptionUtil with Tomcat Security Manager    forum.hibernate.org

Hello, i have a problem with tomcat security manager. First of all, hibernate works. But if i make a mistake, i cannot see the stacktrace of the exception. The class org/hibernate/exception/ExceptionUtils.class cannot be loaded because access is denied. I see the NoClassDefFoundError: org/hibernate/exception/ExceptionUtils Exception instead of the originally exception. My application has read access to the directory. I think another component ...