wood burning stoves
The moose likes Web Services and the fly likes Axis installation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis installation error" Watch "Axis installation error" New topic

Axis installation error

Jeff Pavlocak

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:

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-

Nov 10, 2004 1:04:20 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Error installing
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.


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 .


blog - InfoQ.com
Jeff Pavlocak

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?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Axis installation error
It's not a secret anymore!