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.
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 differ
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: Multiple Tomcat-Instances problem
>
> tomcat is just a java program, therefore it runs in a VM. Each running
> VM has a classpath,
Actually, each VM has at least three classpaths, not counting any
separate ones imp
On 1/28/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> > Subject: Re: Multiple Tomcat-Instances problem
> >
> > Yes, but since CATALINA_HOME is used to define the classpath, both
> > instances would use s
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: Multiple Tomcat-Instances problem
>
> Yes, but since CATALINA_HOME is used to define the classpath, both
> instances would use same libs (bootstrap, logkit, etc). I think the
> original poster wanted the apps t
On 1/28/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> > Subject: Re: Multiple Tomcat-Instances problem
> >
> > CATALINA_HOME=/our-apps/apache-tomcat-5.5.12
> > export CATALINA_HOME
> >
> >
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: Multiple Tomcat-Instances problem
>
> CATALINA_HOME=/our-apps/apache-tomcat-5.5.12
> export CATALINA_HOME
>
> is surely wrong in the config file of /our-apps/tomcat-production
Not at all. Look at the secti
CATALINA_HOME=/our-apps/apache-tomcat-5.5.12
export CATALINA_HOME
is surely wrong in the config file of /our-apps/tomcat-production
The best you can do, just don't touch the config files at all. Simply
extract two instances from a tgz and setup ports. This should work.
regards
Leon
On 1/28/06,
Tino -
I'm sorry to answer your question with a different suggestion, but... I have
a set-up in which I'm using the same physical copy of a 5.5.15 Tomcat
distribution, but I run two instances simultaneously by using command lines
with two different settings of CATALINA_BASE. In each case CATALINA
> 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"?
10 matches
Mail list logo