Hi All,
I am new to the Apache Axis and its installation.I have downloaded the Apache Axis bin installation.I have copied the $AXIS_HOME/webapps/axis directory to my TOMCAT_HOME/webapps.I am using TOMCAT 3.2.4,Java 1.4 and Servlet version 2.2.I have included all the lib files in the $AXIS_HOME in my classpath.When I start the TOMCAT server using the command $TOMCAT_HOME/bin/startup.sh I get an exception when the axis context is initialized.I have the log-4j-1.2.4.jar in my classpath.
The exception is as follows...
********************************************************************************
2003-03-10 12:27:40 - ContextManager: Adding context Ctx( /axis )
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at org.apache.axis.transport.http.AxisServletBase.class$(AxisServletBase.java:95)
at org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
Caused by: 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.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
at org.apache.axis.transport.http.AxisServlet.<clinit>(AxisServlet.java:103)
... 17 more
Caused by: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
... 21 more
********************************************************************************
Thanks in advance.
Regards
Viraj


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


Reply via email to