Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<Engine name ... causes tomcat not to start

Status
Not open for further replies.

ronb722

Programmer
May 8, 2006
1
US
Hi All,
I'm trying to setup load balancing on two separate tomcat servers. When I add the following line to my server.xml file, and restart tomcat, tomcat fails to start (See error below).

I have the same setup on my other server I and I am not having this issue.

Any ideas?
Ron
The line I added is:
<Engine jvmRoute="ngdserv5" name="Standalone" defaultHost="localhost" debug="0">

ERROR:
The error in my catalina.out file is:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
... 6 more

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top