not able to start with oxf-policy and TomcatClasspathfix !!!!

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

not able to start with oxf-policy and TomcatClasspathfix !!!!

richhl
When using security manager (Tomcat 5.5 + ubuntu 6.06) i got
the problem notified by this thread:

http://mail-archive.ow2.org/ops-users/2007-01/msg00049.html

first, i've got this error:

javax.servlet.ServletException: access denied
(java.lang.RuntimePermission setContextClassLoader)

I've modified oxf-policy file to include this permission
under ops.jar:

.....
 // kawa
   permission java.lang.RuntimePermission
"createClassLoader";
   permission java.lang.RuntimePermission
"accessDeclaredMembers";
   permission java.lang.RuntimePermission
"accessClassInPackage.sun.io";
   permission java.lang.RuntimePermission "shutdownHooks";
 >>>  permission java.lang.RuntimePermission
"setContextClassLoader"; <<<
.......

and after restarting tomcat i've got this one:

ERROR main
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ops]
- Excepción arrancando filtro ops-main-filter
 java.lang.ExceptionInInitializerError
        at
org.orbeon.oxf.xml.TomcatClasspathFix.<clinit>(TomcatClasspathFix.java:131)
        at
org.orbeon.oxf.webapp.WebAppContext.<clinit>(WebAppContext.java:43)
        at
org.orbeon.oxf.servlet.OPSServletFilterDelegate.init(OPSServletFilterDelegate.java:44)
        at
org.orbeon.oxf.servlet.OPSServletFilter.init(OPSServletFilter.java:49)

thx in advance.

rich


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

re: not able to start with oxf-policy and TomcatClasspathfix !!!!

richhl
it was orbeon 3.5.0...if I have a minute i would test it
with 3.6

thx


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws