tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chris brown" <...@reflexe.fr>
Subject Re: [TC4-RC1/NT] Running as an NT service: Tomcat looks for server.xml in wrong place
Date Tue, 11 Sep 2001 08:37:11 GMT
> The most likely cause of this is that you have outdated entries for your
JRE
> / JDK in your Windows registry.

Thanks for the suggestion, but this is a clean install of JDK1.3.1!  Any
other ideas?

----- Original Message -----
From: "Remy Maucherat" <rmaucher1@home.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, September 10, 2001 7:10 PM
Subject: Re: [TC4-RC1/NT] Running as an NT service: Tomcat looks for
server.xml in wrong place


> > Hello,
> >
> > I've installed previous beta versions of Tomcat 4 as an NT service using
> the
> > JavaService tool from
> > http://www.alexandriasc.com/software/JavaService/index.html without
> problem.
> > I tried the same thing using RC1, but Tomcat wouldn't start.  Here's the
> > exception that appeared on STDOUT :
> >
> > Catalina.start: java.lang.Exception: Can't open config file:
> > C:\WINNT\system32\conf\server.xml due to: java.io.FileNotFoundException:
> > C:\WINNT\system32\conf\server.xml (Le chemin spécifié est introuvable)
> > java.lang.Exception: Can't open config file:
> > C:\WINNT\system32\conf\server.xml due to: java.io.FileNotFoundException:
> > C:\WINNT\system32\conf\server.xml (Le chemin spécifié est introuvable)
> >  at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:238)
> >  at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
> >  at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> >  at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> >  at java.lang.reflect.Method.invoke(Native Method)
> >  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:212)
> >
> > What should I change to make this work using JavaService?  Running the
> exact
> > same version of Tomcat directly from the DOS prompt with the default
> > "startup" and "shutdown" files works without any problems.  I haven't
> > modified anything else in any other way ; the environment variables
> > TOMCAT_HOME and CATALINA_HOME are correctly defined.
>
> The most likely cause of this is that you have outdated entries for your
JRE
> / JDK in your Windows registry.
>
> Remy
>


Mime
View raw message