Apparently there was some kind of silent failure going on behind the
scenes. It seems that the dynamically loaded JAR needed filesystem read
access to the JAR in WEB-INF/lib, and that both the webapp and the other
JAR needed to have java.net.SocketPermission for connect and resolve
against the data
opertyPermission "*", "read";
permission ognl.OgnlInvokePermission "*";
// For logging
permission java.io.FilePermission "/var/log/tomcat6/*",
"read,write,delete";
};
// Allow the Database plugins to load properly
grant
> From: Jon Pearson [mailto:jon.pear...@sixnet.com]
> Subject: RE: Classloader Issues
>
> That blurb was already in the catalina.policy file.
I think Martin was just using that as an example; you likely need to grant some
permission(s) to your own classloader code.
Again, posti
11, 2009 2:21 PM
> To: Tomcat Users List
> Subject: RE: Classloader Issues
>
> > From: Jon Pearson [mailto:jon.pear...@sixnet.com]
> > Subject: Classloader Issues
> >
> > When the Java security manager is enabled, I get a
> > ClassNotFoundException when I tr
That blurb was already in the catalina.policy file.
> -Original Message-
> From: Martin Gainty [mailto:mgai...@hotmail.com]
> Sent: Thursday, June 11, 2009 2:39 PM
> To: Tomcat Users List
> Subject: RE: Classloader Issues
>
>
> inside TC you have to grant the
inside TC you have to grant the container access to Jar
assuming your class is located in commons-daemon.jar in
$CATALINA_HOME/conf/catalina.policy
// These permissions apply to the daemon code
grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {
permission java.security.AllP
> From: Jon Pearson [mailto:jon.pear...@sixnet.com]
> Subject: Classloader Issues
>
> When the Java security manager is enabled, I get a
> ClassNotFoundException when I try to load the Postgres
> database driver using Class.forName() and a URL
> classloader pointed at a jar; its parent classloade
> From: katepl [mailto:klin...@poczta.fm]
> Subject: ClassLoader issues in multithreaded webapp ? TC5.0
>
> I'm using 5.0.28 (with java5 patch)
What's the "java5 patch"?
Note that Tomcat 5.0 is deprecated. Can you reproduce the problem on a
supported level?
I don't recall having seen these sy