You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by ra...@globalsight.com on 2005/03/19 02:55:14 UTC

Problem deploying default Axis webapp in WebSphere 5.1.0

hi,

I'm trying to deploy Axis (axis-1_2RC3) to WebSphere 5.1.0 (default installation).
I started with just trying to deploy the default axis webapp.
I jar'd up E:\jakarta\axis-1_2RC3\webapps\axis as axis.war

First I ran into this problem:
org.apache.commons.discovery.DiscoveryException: Class com.ibm.ws.commons.logging.TrLogFactory does not implement org.apache.commons.logging.LogFactory

After searching on the web, I found this doc that explains some options to fix it:
http://www-1.ibm.com/support/docview.wss?uid=swg27004610

I tried out the fix involving placing a new commons-logging.properties file in the jar to force WAS to use the Apache implementation of LogFactory instead of the IBM one. That made the exception go away.
But now the default axis webapp still won't deploy and I get no errors as to why.
This is the only thing in the server log:

[3/18/05 17:46:37:011 PST] 4e043a99 ApplicationMg A WSVR0200I: Starting application: axis_war
[3/18/05 17:46:37:105 PST] 4e043a99 WebContainer  A SRVE0169I: Loading Web Module: Apache-Axis.
[3/18/05 17:46:37:198 PST] 4e043a99 WebGroup      I SRVE0180I: [Apache-Axis] [/axis] [Servlet.LOG]: JSP 1.2 Processor: init
[3/18/05 17:46:37:245 PST] 4e043a99 WebGroup      I SRVE0180I: [Apache-Axis] [/axis] [Servlet.LOG]: SimpleFileServlet: init
[3/18/05 17:46:38:526 PST] 4e043a99 WebGroup      I SRVE0180I: [Apache-Axis] [/axis] [Servlet.LOG]: AdminServlet: init
[3/18/05 17:46:39:995 PST] 4e043a99 WebGroup      I SRVE0180I: [Apache-Axis] [/axis] [Servlet.LOG]: SOAPMonitorService:init
[3/18/05 17:46:40:089 PST] 4e043a99 WebGroup      E SRVE0054E: An error occurred while loading Web application
[3/18/05 17:46:40:105 PST] 4e043a99 DeployedAppli W WSVR0206E: Module, axis.war, of application, axis_war.ear/deployments/axis_war, failed to start
[3/18/05 17:46:40:120 PST] 4e043a99 ApplicationMg W WSVR0101W: An error occurred starting, axis_war
[3/18/05 17:46:40:120 PST] 4e043a99 ApplicationMg A WSVR0217I: Stopping application: axis_war
[3/18/05 17:46:40:120 PST] 4e043a99 ApplicationMg A WSVR0220I: Application stopped: axis_war

I've got the classloading policy set to for: PARENT_LAST / Application.

When I switch it to PARENT_FIRST / Application, then the webapp does start, but the happyaxis page isn't very happy because it then picks up all the \WebSphere\AppServer\lib jars like saaj.jar which won't work for this version of Axis. Besides, for my own app (which I'm trying to put axis into), I have to use PARENT_LAST anyway.

What do I need to do to get the default "happyaxis" webapp deployed in WAS 5.1.0 using PARENT_LAST / Application classloading?

Thanks
DJ