Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » WTP1.5 Tomcat Lauch Error
WTP1.5 Tomcat Lauch Error [message #174190] Wed, 12 July 2006 14:55 Go to next message
Eclipse User
Originally posted by: aimee.ukasick.att.com

Windows XP Pro
Tomcat 5.0.28
WTP 1.5

I just downloaded and installed WTP 1.5 (all-in-one).
I blew away my workspace from WTP 1.0.2, checked my project out of CVS, and
configured my existing Tomcat installation in Eclipse.

When I try to start Tomcat from within Eclipse, I get the following error:
Can't load server.xml
Can't load server.xml
Jul 12, 2006 1:51:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 87)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:42 5)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:619 )
at org.apache.catalina.startup.Catalina.start(Catalina.java:579 )
... 6 more


I never had a problem with WTP 1.0.2, and I can start Tomcat from a command
line.
Any ideas?


Thanks in advance.

Aimee
Re: WTP1.5 Tomcat Lauch Error [message #174204 is a reply to message #174190] Wed, 12 July 2006 15:52 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1298
Registered: July 2009
Senior Member
Double-click on the server in the Servers view. Then in the
configuration editor that opens, click "Open launch configuration".
Under the VM Arguments tab of the launch configuration, note the path
specified by catalina.base. What is that path, and is there a
server.xml file in the "conf" folder at that location?

Your error implies there is no server.xml file in that "conf" folder or
the file is for some reason unreadable or corrupt.

Cheers,
Larry

Aimee Ukasick wrote:
> Windows XP Pro
> Tomcat 5.0.28
> WTP 1.5
>
> I just downloaded and installed WTP 1.5 (all-in-one).
> I blew away my workspace from WTP 1.0.2, checked my project out of CVS, and
> configured my existing Tomcat installation in Eclipse.
>
> When I try to start Tomcat from within Eclipse, I get the following error:
> Can't load server.xml
> Can't load server.xml
> Jul 12, 2006 1:51:30 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 0 ms
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 87)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:42 5)
> Caused by: java.lang.NullPointerException
> at org.apache.catalina.startup.Catalina.await(Catalina.java:619 )
> at org.apache.catalina.startup.Catalina.start(Catalina.java:579 )
> ... 6 more
>
>
> I never had a problem with WTP 1.0.2, and I can start Tomcat from a command
> line.
> Any ideas?
>
>
> Thanks in advance.
>
> Aimee
>
>
Previous Topic:Error while creating bottom-up Web Service
Next Topic:servlet API help
Goto Forum:
  


Current Time: Mon Jul 28 10:27:57 EDT 2014

Powered by FUDForum. Page generated in 0.02881 seconds