On Sat, 15 Dec 2001, Anton Jansen wrote:
> Date: Sat, 15 Dec 2001 22:33:26 +0100
> From: Anton Jansen <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)
>
> An application I have written uses the cocoon work frame in which a java
> class is compiled which uses the OpenORB. Their is a problem with the
> initialisation of the ORB, it tries to add a url handler and for some reason
> tomcat doesn't like this (see
> http://openorb.exolab.org/list-archive-dev/msg01505.html). I have tried to
> add the jar file containing the orb into the common directory which doesn't
> help and added the catalina.out file giving full permision to every class,
> but this has also no effect.
>
> What i want to know is, how do i give my openorb classes in tomcat
> permission to adapt the url handler?
>
> Versions:
> OpenORB 1.1.0
> Cocoon 2.01
> Tomcat 4.0.1
>
Without seeing your stack trace, it's difficult to be very helpful.
However, I assume from your comments that you are running with the
security manager enabled, and encountered a security exception?
Debugging these things gets pretty interesting, because it is not always
obvious exactly what permissions you need. There is some advice on
turning on debugging output at the bottom of the Security Manager HOW-TO
document, available online at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/security-manager-howto.html
You will want to create a "grant" section in
$CATALINA_HOME/conf/catalina.policy solely for the JAR file containing the
OpenORB classes, with whatever additional permissions are required to stop
getting "FAILED" messages (for your calls) in the debug output.
Craig McClanahan
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>