RE: Classloader Issues

2009-06-11 Thread Martin Gainty
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

RE: Classloader Issues

2009-06-11 Thread Jon Pearson
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 container access to Jar assuming

RE: Classloader Issues

2009-06-11 Thread Jon Pearson
: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 try to load the Postgres database driver using Class.forName

RE: Classloader Issues

2009-06-11 Thread Caldarale, Charles R
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, posting the stack trace

RE: Classloader Issues

2009-06-11 Thread Jon Pearson
...@unisys.com] Sent: Thursday, June 11, 2009 3:20 PM To: Tomcat Users List Subject: RE: Classloader Issues 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

RE: Classloader Issues (SOLVED)

2009-06-11 Thread Jon Pearson
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

RE: ClassLoader issues in multithreaded webapp ? TC5.0

2009-05-13 Thread Caldarale, Charles R
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