Is there a way to make Tomcat verbose with regards to problems with parsing XML?
Also, why would a bad XML cause a Null Ptr Exception in Log4j ( I am not
using DOMConfigurator; I use log4j.properties to configure log4j).

Thanks,

/U

 -------------- Original message ----------------------
From: "Robert Harper" <[EMAIL PROTECTED]>
> This looks like it might have more to do with a malformed XML file.
> 
> Robert S. Harper
> Senior Engineer
> Information Access Technology, Inc.
> 1100 East 6600 South, Suite 300
> Salt Lake City Utah USA 84121-7411
> (801)265-8800 Ext. 255 
> FAX (801)265-8880
>  
> 
> This e-mail is intended only for the addressee and may contain confidential
> and/or privileged information. Any review, retransmission, or action taken
> upon this information by persons other than the intended recipient is
> prohibited by law. If you received this communication in error, please
> contact us immediately at 801-265-8800. Although this e-mail and any
> attachments are believed to be free of any virus or other defect, it is the
> responsibility of the recipient to ensure that anything received or opened
> is virus free. No responsibility is accepted by IAT for any loss or damage
> in the event that such a virus or defect exists.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 27, 2007 1:38 PM
> To: users@tomcat.apache.org
> Subject: Issue #39631 in Tomcat 5.5.23?
> 
> 
> 
> I am running Tomcat 5.5.23 on a Windows XP machine with JDK6. I have only
> one webapp
> (others are standard webapps packaged with Tomcat). During Catalina
> bootstrap,
> I see the null pointer exception (trace below) that looks quite like #39631
> (SEE http://issues.apache.org/bugzilla/show_bug.cgi?id=39631).
> 
> I do not have any libraries in endorsed or shared directories. I am using
> ver 1.2.14
> of Log4j, ver 1.0.4 of commons logging and commons logging API
> (commons-logging-1.0.4.jar,
>  log4j-1.2.14.jar, commons-logging-api-1.0.4.jar).
> 
> Is this caused by incompatible jar versions? I am not sure how to
> troubleshoot this further.
> 
> Pl help,
> 
> Thanks,
> 
> /U
> 
> SEVERE: Context [/<MASKED>] startup failed due to previous errors
> Mar 26, 2007 9:08:38 PM org.apache.catalina.core.StandardContext processTlds
> SEVERE: Error reading tld listeners java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.log4j.Category.isEnabledFor(Category.java:746)
>         at
> org.apache.commons.logging.impl.Log4JLogger.isTraceEnabled(Log4JLogge
> r.java:327)
>         at
> org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.
> java:582)
>         at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:283)
>         at
> org.apache.catalina.core.StandardContext.processTlds(StandardContext.
> java:4307)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 144)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:760)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
> 0)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
>         at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
> va:626)
>         at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
> ava:553)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488
> )
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :311)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:120)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
> )
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 48)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:700
> )
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> Mar 26, 2007 9:08:38 PM org.apache.catalina.startup.ContextConfig
> processDefault
> WebConfig
> SEVERE: Parse error in default web.xml
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to