| Author |
Axis installation error
|
Jeff Pavlocak
Greenhorn
Joined: Apr 26, 2004
Posts: 16
|
|
I am trying to install Axis 1_1 with Tomcat 5.0.16, but tomcat keeps running into install errors when it tries to install the Axis application. All the other web apps install just fine. I have been using Tomcat 5.0.16 for a couple months now without really experiencing any problems that I couldn't resolve on my own, but this one has me stumped. I followed the steps outlined in the Axis installation guide. I copied the axis directory and it's sub-dirs from the axis-1_1 distro to tomcat's webapps directory. I made sure that xercesImpl.jar, jaxrpc.jar, and saaj.jar were added to the CLASSPATH in the catalina.bat DOS script. Actual CLASSPATH value: c:\xml\xercesImpl.jar;c:\xml\xerces-api.jar;c:\axis-1_1\lib\axis.jar; c:\axis-1_1\lib\jaxrpc.jar;c:\axis-1_1\lib\saaj.jar; c:\axis-1_1\lib\commons-logging.jar;c:\axis-1_1\lib\commons-discovery.jar; C:\j2sdk_nb\j2sdk1.4.2\lib\tools.jar;C:\jakarta-tomcat-5.0.16\bin\bootstrap.jar However, when I startup the webserver I get the following error: Nov 10, 2004 1:04:19 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /axis from URL file:C:\jakarta- tomcat-5.0.16\webapps\axis Nov 10, 2004 1:04:20 PM org.apache.catalina.core.StandardHostDeployer install INFO: Error installing org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@3257b8 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@3257b8 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.apache.catalina.session.ManagerBase.<init>(ManagerBase.java:107) at org.apache.catalina.session.StandardManager.<init>(StandardManager.java:111) at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:350) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:655) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:254) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4212) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:316) at org.apache.catalina.core.StandardHost.install(StandardHost.java:859) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:723) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:393) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) --- The dump continues on after this. Let me know if you need it all --- The installation instructions are for Tomcat 4.x. Doesn't Axis 1_1 work with Tomcat 5.x? Are their additional jar files needed? Do I need to change a tomcat config file? Please help. Thanks, Jeff
|
 |
Alexandru Popescu
Ranch Hand
Joined: Jul 12, 2004
Posts: 995
|
|
I think Tomcat wants to tell you that you've forgot to deploy the log4j jar . ./pope
|
blog - InfoQ.com
|
 |
Jeff Pavlocak
Greenhorn
Joined: Apr 26, 2004
Posts: 16
|
|
The log4j-1.2.8.jar is in the %CATALINA_HOME%/webapps/axis/web-inf/lib directory. Does it need to be somewhere else? I tried putting it in the %CATALINA_HOME%/common/lib directory, but then Tomcat aborts during the startup scripts. Is there an xml or properties file that needs adjusted?
|
 |
 |
|
|
subject: Axis installation error
|
|
|