RE: WebApps not isolated

2007-05-23 Thread Caldarale, Charles R
> From: Robert Soeding [mailto:[EMAIL PROTECTED] > Subject: Re: WebApps not isolated > > PHP files instantiate a new Java class of mine, which in turn calls a > static Java class of mine which returns the properties. > > My Java classes are within the webs only (that is un

Re: WebApps not isolated

2007-05-23 Thread Robert Soeding
Thanks. This is a PHP web, PHP files being interpreted by a Servlet provided by PHP-Java-Bridge. PHP files instantiate a new Java class of mine, which in turn calls a static Java class of mine which returns the properties. My Java classes are within the webs only (that is under $CATALINA_H

Re: WebApps not isolated

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Soeding wrote: > As an additional test, I downloaded a fresh copy of Tomcat, deployed > both webapps, edited myProps.properties, and ran this fresh instance. > In this instance, webapp1 would use the properties file of webapp2 > (while

Re: WebApps not isolated

2007-05-23 Thread Martin Gainty
Good Morning Robert It *sounds* as if you may have one of 2 situations to deal with a ClassLoader issue which by default goes to ClassLoader for the referenced class e.g. this.getClass().getClassLoader http://java.sun.com/j2se/1.4.2/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.St

RE: WebApps not isolated

2007-05-23 Thread Reich, Matthias
ResourceBundle.getBundle uses the ClassLoader that was used to load the class that's calling this method when it looks up the resource. Have you checked that the class which contains the call to ResourceBundle.getBundle is loaded by the expected WebappClassLoaders? Matthias > -Original Mess