[HELP] Tomcat 4.1.7 cannot start up - java.lang.NoSuchMethodError at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule.java:223)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Richard_Tsai
Posted On:   Monday, December 23, 2002 12:31 AM

Hi! After installation of tomcat 4.1.7, I have set two variables CATALINA_BASE(D:ptc omcat) and JAVA_HOME (C:jdk1.3). If I didn't set D:ptcWindchillcodebase in my classpath, my tomcat could start up, but caomplaining class not found error. Thus, I wonder whether my web.xml goes wrong, but I cannot find anything wrong. Thank you for your help. Richard ======================================================== generated Start up command by startup.bat ======================================================== "C:jdk1.3 injava" -Djava.endorsed.dirs="D:ptc omcat in;D:ptc omcatcommonendorsed" -classpath "   More>>

Hi!
After installation of tomcat 4.1.7, I have set two
variables CATALINA_BASE(D:ptc omcat) and JAVA_HOME
(C:jdk1.3).

If I didn't set D:ptcWindchillcodebase in my
classpath, my tomcat could start up, but caomplaining class
not found error. Thus, I wonder whether my web.xml goes
wrong, but I cannot find anything wrong.

Thank you for your help.

Richard


========================================================

generated Start up command by startup.bat

========================================================

"C:jdk1.3 injava" -Djava.endorsed.dirs="D:ptc omcat in;D:ptc omcatcommonendorsed" -classpath "C:jdk1.3lib ools.jar;.;d: ibco
vJAVARVJPRO.JAR;C:LotusNotesDTJavaLibNCSO.jar;D:ptcWindchillcodebase;D:ptc omcat in ootstrap.jar" -Dcatalina.base="D:ptc omcat" -Dcatalina.h
ome="D:ptc omcat" -Djava.io.tmpdir="D:ptc omcat emp" org.apache.catalina.startup.Bootstrap start

==================================================

returned message

==================================================

java.lang.NoSuchMethodError
at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
.java:223)
at org.apache.commons.digester.Digester.startElement(Digester.java:1237)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXP
arser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBi
nder.java:572)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidat
or.java:727)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanR
ootElementHook(XMLDocumentScannerImpl.java:957)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at org.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
[ERROR] Digester - -Begin event threw error
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError
at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
.java:223)
at org.apache.commons.digester.Digester.startElement(Digester.java:1237)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXP
arser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBi
nder.java:572)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidat
or.java:727)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanR
ootElementHook(XMLDocumentScannerImpl.java:957)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at org.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


========================================================

my web.xml in my application

========================================================

<?xml version="1.0" encoding="ISO-8859-1"?>

PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">


WindchillGW
wt.httpgw.HTTPGatewayServlet


WindchillAuthGW
wt.httpgw.HTTPAuthGatewayServlet


WindchillSAGW
wt.sysadm.SysAdminServlet

   <<Less
About | Sitemap | Contact