File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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(
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(
at org.apache.commons.logging.LogFactory.getLog(
at org.apache.catalina.session.ManagerBase.<init>(
at org.apache.catalina.session.StandardManager.<init>(
at org.apache.catalina.startup.ContextConfig.managerConfig(
at org.apache.catalina.startup.ContextConfig.start(
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.core.StandardHostDeployer.install(
at org.apache.catalina.core.StandardHost.install(
at org.apache.catalina.startup.HostConfig.deployDirectories(
at org.apache.catalina.startup.HostConfig.deployApps(
at org.apache.catalina.startup.HostConfig.start(
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(

--- 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 -
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 agree. Here's the link:
subject: Axis installation error
It's not a secret anymore!