It sounds like you don't have "xerces.jar" as the first thing on your classpath.  To make this the first thing on your classpath:
 
1) Edit the file %TOMCAT_HOME%\conf\wrapper.properties
2) You see some lines in this file that start with "wrapper.classpath".  Before the first of those lines, add a line
wrapper.classpath=<full path and filespec for xerces.jar>
3) Restart the service and see if things are better.
 
Also, be aware that if you are using the jk_nt_service.exe wrapper for your NT service, and if you are using version 1.3 of the JVM, when you log out of NT, the service will be stopped.  I had to use JavaService.exe to get around this problem.
 
 
-----Original Message-----
From: Huynh Tin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 11:23 PM
To: [EMAIL PROTECTED]
Subject: Run Tomcat as a NT Service Problem

Hi all ,
 
I used jk_nt_service.exe to add Tomcat like NT service .
 
I finished adding Tomcat into a NT service named TomcatService. I went to Control Panel to start TomcatService
It started ok , but also stoped after started. What's happen.
 
In "logs" dicrectory generate file named "jvm.stderr" and it's content as follow:
 

java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:486)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:297)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)

at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:178)

at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

Exception in thread "main"

Anyway, in "conf\server.xml" file, i also didn't know how to define AJPV12 connector. There are not any information about AJPV12 in this "server.xml" file. How could i do it ?
 
Anybody help me , what's this error , how could i fix it ??
 
Thank you
Huynh Tin
 
 
 

Reply via email to