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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat 3.3.1 fails to startup on Win2000

Status
Not open for further replies.

rantnrave

Programmer
Jul 21, 2002
11
0
0
GB
Hi. I hope somebody out there can help me with this very frustrating problem!

I am trying to get Tomcat 3.3.1 to run with Windows 2000 and Java 1.4.
The strange thing is that I had it running a week ago and then my hard disk died. So I'm
installing it again in exactly the same way and it worked for a few hours but now won't start.

I can, however, get it to start if I do
Code:
'Tomcat estart'
, but then I can't get servlets to work. Is there something wrong with the server.xml file? I haven't touched it.

My environment variables have been set correctly (I think):
JAVA_HOME=C:\j2sdk1.4.0_01
TOMCAT_HOME=C:\Tomcat


Likewise, for completeness I have edited tomcat.bat with:
set JAVA_HOME=C:\j2sdk1.4.0_01
set TOMCAT_HOME=C:\Tomcat

The variables were set as above when Tomcat did start for a while.

Am I missing something simple and obvious?!
I get the following message when I try 'startup' from within the bin directory:

2002-07-21 22:05:49 - ServerXmlReader: Config=$TOMCAT_HOME\conf\server.xml
2002-07-21 22:05:49 - PathSetter: home=C:\Tomcat
2002-07-21 22:05:50 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-127.0.0.1.xml
2002-07-21 22:05:50 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-admin.xml
2002-07-21 22:05:50 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-examples.xml
2002-07-21 22:05:50 - AutoWebApp: Loaded from config: DEFAULT:/admin
2002-07-21 22:05:50 - AutoWebApp: Loaded from config: DEFAULT:/examples
2002-07-21 22:05:50 - AutoWebApp: Auto-Adding DEFAULT:/
2002-07-21 22:05:50 - ContextManager: Tomcat configured and in stable state
EmbededTomcat: exception initializing ContextManagerjava.lang.NoSuchMethodError:

org.apache.jasper.runtime.JspFactoryImpl.<init>(I)V
at org.apache.tomcat.facade.JspInterceptor.addContext(JspInterceptor.java:269)
at org.apache.tomcat.core.ContextManager.fireAddContext(ContextManager.java:613)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:588)
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:564)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:100)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
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:324)
at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
at org.apache.tomcat.startup.Main.execute(Main.java:313)
at org.apache.tomcat.startup.Main.main(Main.java:140)

Guessed home=C:\Tomcat
Exception: java.lang.reflect.InvocationTargetException
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:324)
at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
at org.apache.tomcat.startup.Main.execute(Main.java:313)
at org.apache.tomcat.startup.Main.main(Main.java:140)
Caused by: org.apache.tomcat.core.TomcatException: EmbededTomcat.initContextManager
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:570)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:100)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
... 7 more
Root Exception: org.apache.tomcat.core.TomcatException: EmbededTomcat.initContextManager
org.apache.tomcat.core.TomcatException: EmbededTomcat.initContextManager
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:570)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:100)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
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:324)
at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
at org.apache.tomcat.startup.Main.execute(Main.java:313)
at org.apache.tomcat.startup.Main.main(Main.java:140)

Please help me before I go mad!!
Many thanks.
 
I would ditch this version and go get the newest one..4.0.3 or I think 4.1 is out now also. I know it doesn't answer your problem but these are better version especially for win2k.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top