Re: Servlet Deployment Problem on Tomcat [SOLVED]
Re: Servlet Deployment Problem on Tomcat [SOLVED]
- Subject: Re: Servlet Deployment Problem on Tomcat [SOLVED]
- From: Juergen Lorenz Simon <email@hidden>
- Date: Wed, 14 May 2008 14:08:04 +0200
Problem solved.
The issue was the missing properties for the log4j configuration.
Simon
On 14.05.2008, at 12:46, Juergen Lorenz Simon wrote:
Hi,
I'm trying to deploy a moderately complex WO app to a Tomcat. After
successfully
building a valid war file and tweaking the web.xml for project
wonder, I still have
one problem left. Don't suppose anyone seen this before:
Exception occurred: java.lang.NullPointerException (to be caught at:
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(),
line=543 bci=77)
"thread=ContainerBackgroundProcessor[StandardEngine[Catalina]]",
org.apache.log4j.LogManager.getLogger(), line=188 bci=3
ContainerBackgroundProcessor[StandardEngine[Catalina]][1] where
[1] org.apache.log4j.LogManager.getLogger (LogManager.java:188)
[2] org.apache.log4j.Logger.getLogger (Logger.java:104)
[3]
org
.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:
229)
[4] org.apache.commons.logging.impl.Log4JLogger.<init>
(Log4JLogger.java:65)
[5] sun.reflect.NativeConstructorAccessorImpl.newInstance0
(nativemethod)
[6] sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
[7] sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
[8] java.lang.reflect.Constructor.newInstance (Constructor.java:
494) [9]
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:529)
[10] org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:235)
[11] org.apache.commons.logging.LogFactory.getLog (LogFactory.java:
370)
[12] org.apache.axis.components.logger.LogFactory.getLog
(LogFactory.java:37)
[13] org.apache.axis.SOAPPart.<clinit> (SOAPPart.java:92)
[14] sun.misc.Unsafe.ensureClassInitialized (native method)
[15] sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor
(UnsafeFieldAccessorFactory.java:25)
[16] sun.reflect.ReflectionFactory.newFieldAccessor
(ReflectionFactory.java:122)
[17] java.lang.reflect.Field.acquireFieldAccessor (Field.java:917)
[18] java.lang.reflect.Field.getFieldAccessor (Field.java:898)
[19] java.lang.reflect.Field.set (Field.java:656)
[20] org.apache.catalina.loader.WebappClassLoader.clearReferences
(WebappClassLoader.java:1,617)
[21] org.apache.catalina.loader.WebappClassLoader.stop
(WebappClassLoader.java:1,497)
[22] org.apache.catalina.loader.WebappLoader.stop
(WebappLoader.java:707)
[23] org.apache.catalina.core.StandardContext.stop
(StandardContext.java:4,550)
[24] org.apache.catalina.core.ContainerBase.removeChild
(ContainerBase.java:924)
[25]
org.apache.catalina.startup.HostConfig.checkResource(HostConfig.java:
1,004)
[26] org.apache.catalina.startup.HostConfig.check (HostConfig.java:
1,212)
[27] org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:293)
[28] org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
[29] org.apache.catalina.core.ContainerBase.backgroundProcess
(ContainerBase.java:1,337)
[30] org.apache.catalina.core.ContainerBase
$ContainerBackgroundProcessor.processChildren (ContainerBase.java:
1,601)
[31] org.apache.catalina.core.ContainerBase
$ContainerBackgroundProcessor.processChildren (ContainerBase.java:
1,610)
[32] org.apache.catalina.core.ContainerBase
$ContainerBackgroundProcessor.run (ContainerBase.java:1,590)
[33] java.lang.Thread.run (Thread.java:613)
I got the nagging suspicion, that it's got something to do with the
log4j properties,
is that possible?
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden