By configuration files, do you mean .properties files? Are you loading them with URL urlToConfigFile = ClassLoader.getResource(fileName); ? Are you sure, that you have the right ClassLoader?
regards Leon On 1/29/06, Tino Schöllhorn <[EMAIL PROTECTED]> wrote: > Hi, > > thanks for the discussion. So far I think I should just use 2 copies of > the tomcat distribution. But honestly I'd prefer the other way. > > 1.) By classpath I mean the classpath of a web-application. > > 2.) Evidence is: I have two web-applications "kos", which are the same > but should use different configuration files which are located in the > classes folder. But the tomcat-instance 2 is using the settings of > tomcat-instance 1. > > With regards > Tino > > Caldarale, Charles R wrote: > >> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tino Schöllhorn > >> Subject: Multiple Tomcat-Instances problem > >> > >> But now I noticed that those 2 instances are > >> using the same classes and the same classpath, > >> which they should'nt. > > > > A couple of questions: > > > > 1) What do you mean by "classpath"? An application (context) under Tomcat > > does not use a classpath in the typical Java sense. > > > > 2) What is the evidence for your observation that the same classes are > > being loaded under both Tomcat instances? > > > >> Tomcat 1 is working normally. But Tomcat 2 is using the same > >> classes and libraries as Tomcat 1 in a context which is named > >> "kos" respectively. > > > > Does this app have a <Context> element somewhere with an explicit docBase > > attribute? > > > > - Chuck > > > > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > > MATERIAL and is thus for use only by the intended recipient. If you > > received this in error, please contact the sender and delete the e-mail and > > its attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]