>> AFAICS, Tomcat (at least 4.1.18) has its own commons-beanutils.jar in

>> its server/lib. It could conflict with the one you added to Tomcat 
>> classpath.

> The jars in Tomcat's server/lib directory are not visible from
webapps. 
> However, the jars in common/lib and shared/lib are.


That's it. But exception is thrown by Catalina itself, and not a webapp.


So if this: "add commons-beanutils.jar ... to the Tomcat classpath"
means adding commons-beanutils.jar to CLASSPATH in catalina.bat, or
changing CLASSPATH environment variable, or smth similar, a conflict
could be the case. However exception is strange, and the reason could be
anything else.

exception from Todd's letter:
--------------------
Catalina.start: java.lang.NullPointerException
java.lang.NullPointerException
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:
2540)
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java: 
2566)
        at
org.apache.commons.digester.Digester.endElement(Digester.java:1061)
        at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
  Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(U
nknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1548)
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
[INVALID FOOTER]

Reply via email to