Tomcat not starting up as service on Win2K

R

Rico

Hello All,

Could somebody please confirm whether he or she has been able to have 2
or more installations of Tomcat on the same machine and run 1 or more as
a service? not at the same time, obviously.

On Win2K, I've previously had Tomcat 4 and Tomcat 4.1. I've totally
removed them by now, and had been trying to install Tomcat 5.0.28
through its Windows Service Installer package. Right after the
installation, when I try to start the service, I run into:
=======================================
Catalina.start: java.lang.ClassNotFoundException:
org.apache.catalina.mbeans.ServerLifecycleListener
java.lang.ClassNotFoundException:
org.apache.catalina.mbeans.ServerLifecycleListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
=======================================

Right away. That isn't right, is it?
I've asked on the mailing lists, but it's remained without a response,
as though this isn't something that looks real bad for Tomcat. What I
could find from the Tomcat FAQ about Class Not Found stuff:

http://tomcat.apache.org/faq/classnotfound.html

It's assuming that I can even get Tomcat running, isn't it?

---------------------------------------------------

If I launch Tomcat through startup.bat instead, it does start up, but
what I see output in the DOS window is not pretty at all. All sorts of
exceptions being thrown by the XML parser: all contexts from the
server.xml and webapps folder end up marked as unavailable owing to
previous errors.

Tomcat is running, but http://localhost:8080/
thumbs its nose at me, that the requested resource is not available "/"
admin, manager, the webapps.. nothing could be loaded:
========================================
2006-10-13 21:52:54 StandardHost[localhost]: Installing web application
at context path /balancer from URL file:D:\jakarta-tomcat-5.0.28\webapps
\balancer
2006-10-13 21:52:54 WebappLoader[/balancer]: Deploying class
repositories to work directory D:\jakarta-tomcat-5.0.28\work\localhost
\balancer
2006-10-13 21:52:54 WebappLoader[/balancer]: Deploy JAR /WEB-
INF/lib/catalina-balancer.jar to D:\jakarta-tomcat-5.0.28\webapps
\balancer\WEB-INF\lib\catalina-balancer.jar
2006-10-13 21:52:54 StandardManager[/balancer]: Seeding random number
generator class java.security.SecureRandom
2006-10-13 21:52:54 StandardManager[/balancer]: Seeding of random number
generator has been completed
2006-10-13 21:52:54 ContextConfig[/balancer] Parse error in default
web.xml
org.xml.sax.SAXParseException: Document root element "web-app", must
match DOCTYPE root "null".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
..
..
..

2006-10-13 21:52:54 ContextConfig[/balancer]: Occurred at line 5 column
19
2006-10-13 21:52:54 ContextConfig[/balancer]: Marking this application
unavailable due to previous error(s)
2006-10-13 21:52:54 StandardContext[/balancer]: Error initializing
naming context for context /balancer
2006-10-13 21:52:54 StandardContext[/balancer]: Context startup failed
due to previous errors
2006-10-13 21:52:54 StandardContext[/balancer]: Error initializing
naming context for context /balancer
========================================

I wanted to practise some things on my own, starting Thursday, until
Friday night, when I finally headed over to my other hard disk running
WindowsXP where Tomcat had never been installed before to find out that
everything actually works fine there on a clean install.. until then.. I
had practised nothing because I was stuck at the stage of *just* trying
to _install_ Tomcat. It might not be the Tomcat developers' fault, but
it still looks bad for Tomcat, doesn't it?

Could it be just my Win2K machine, and I'm really on my own?
Eclipse runs fine on the JDK there.

Rico.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top