PK16542: SERVLET ERROR - AXISSERVLET FAILED TO LOAD WHEN RUNNING DIFFERENT AXIS VERSION FOR WEBSERVICES

 Fixes are available

5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Solaris
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for HP-UX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for AIX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Linux
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for HP-UX
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Solaris
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Windows
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for AIX
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Solaris
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Windows
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for HP-UX
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for AIX
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Linux
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Linux



APAR status
Closed as program error.

Error description
Trying to run a version of Axis instead of using the WebSphere
implementation of Web Services. Error seen is:
error seen is the following:
■7/14/05 9:49:58:095 EDT aead1d91 WebGroup      E
SRVE0020E: ■Servlet Error-■AxisServlet: Failed to load
servlet:
java.lang.ExceptionInInitializerError:
org.apache.commons.discovery.DiscoveryException: Class
com.ibm.ws.commons.logging.TrLogFactory does not implement
org.apache.commons.logging.LogFactory
      java/lang/Exception.<init>(Ljava/lang/String;)V+1
(Exception.java:33)
org/apache/commons/discovery/DiscoveryException.<init>
(Ljava/lang/String;)V+2 (DiscoveryException.java:90)
...

The error is not seen if webservices.jar is removed from the WAS
install. But, running with out this jar is not supported.
Problem seen on AS/400 and distributed platforms
Local fix
Interim Fix available.
KEYWORDS:  axis webservices commons logger wl3run wl3eng
classloader
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere application server version         *
*                 5.0.2 users who try to use the               *
*                 HttpServlet session Listener at              *
*                 application start.                           *
****************************************************************
* PROBLEM DESCRIPTION: Servlet error - AxisServlet failed      *
*                      to load when running a different        *
*                      Axis version for WebServices.           *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Trying to run a version of Axis instead of using the WebSphere
Applicaiton Server implementation of Web Services. The
following error is seen:
7/14/05 9:49:58:095 EDT  aead1d91 WebGroup
SRVE0020E:  Servlet Error - AxisServlet : Failed to load
servlet:
java.lang.ExceptionInInitializerError:
org.apache.commons.discovery.DiscoveryException: Class
com.ibm.ws.commons.logging.TrLogFactory  does not implement
org.apache.commons.logging.LogFactory

This problem happens due to an improper classloader being used
while loading the Listeners.
Problem conclusion
This problem was resolved by changing the classloader to the
application classloader at the time of loading the Listener
classes.

The fix for this APAR is currently targeted for inclusion in
cumulative fix 5.0.2.16.
Please refer to the recommended updates page for delivery
information:

http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information
APAR number PK16542
Reported component name WAS NETWRK DEPL
Reported component ID 5630A3601
Reported release 10W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2005-12-09
Closed date 2006-01-23
Last modified date 2006-03-08

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
WEBCONT          

Publications Referenced

Fix information
Fixed component name WAS NETWRK DEPL
Fixed component ID 5630A3601

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00P PSY    UP
R00S PSY    UP
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 10W
Software edition:
Reference #: PK16542
IBM Group: Software Group
Modified date: Mar 8, 2006