Siddharth Paralikar wrote:
> I am trying to deploy my application WAR which is made using JSF,
> Spring and Hibernate. which is running in tomcat 5.5.9.
> Now it is giving following error. whether Spring and hibernate support
> is not there or is there any security settings i have to enable.
>
> I will try to make this application later with JSF and EJB3.
>
> thanks
>
> Siddharth
>
> *type* Exception report
>
> *message*
>
> *description* _The server encountered an internal error () that
> prevented it from fulfilling this request._
>
> *exception*
>
> javax.servlet.ServletException: access denied
> (java.lang.RuntimePermission getProtectionDomain)
Looks like your webapp doesn't have necessary security permission. Some
helpful blogs regarding security manager on GlassFish -
http://blogs.sun.com/roller/page/paulsen?entry=configuring_the_security_manager_in
http://blogs.sun.com/roller/page/vkraemer?entry=equinox_hibernate_spring_glassfish
hth,
Amy
> javax.faces.webapp.FacesServlet.service(Unknown Source)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
>
> *root cause*
>
> java.security.AccessControlException: access denied
> (java.lang.RuntimePermission getProtectionDomain)
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
>
> java.security.AccessController.checkPermission(AccessController.java:427)