I'm getting a NullPointerException thrown when I boot up one of any Tomcat
base instances.  The odd thing is is that it doesn't throw the exception as
long as I'm running Tomcat from $CATALINA_HOME\webapps\ROOT but will if the
Tomcat instance is running from $CATALINA_BASE\webapps\ROOT

where $CATALINA_HOME=C:\jakarta-tomcat-4.0
and   $CATALINA_BASE=C:\contexts\fooHere's the stack trace:

Anyways, it seems to originate from the commons-logging package and the
author of the security filter, which implements the logging, also suggested
the bug lies in commons-logging.  Any thoughts?  Here's the stack trace that
appears in my localhost_log:

2002-10-09 17:37:54 StandardContext[]: Exception starting filter Security
Filter
org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException
        at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
        at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
        at org.apache.commons.digester.Digester.<init>(Digester.java:310)
        at
org.securityfilter.config.SecurityConfig.loadConfig(SecurityConfig.java:206)
        at org.securityfilter.filter.SecurityFilter.init(SecurityFilter.java:206)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:254)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:314)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
fig.java:120)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:30
77)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3408)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
        at org.apache.catalina.core.StandardService.start(StandardService.java:388)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Caused by: java.lang.NullPointerException
        at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
        ... 24 more


Anyone know what's going on here? I'm using TC 4.0.4, j2sd1.4.0_01, win2000.
The security filter is a project from sourceforge.net and is a psuedo
container managed security system.

Thanks.

Dan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to