Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 6269 invoked from network); 20 Sep 2005 15:34:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2005 15:34:18 -0000 Received: (qmail 12900 invoked by uid 500); 20 Sep 2005 15:34:07 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 12880 invoked by uid 500); 20 Sep 2005 15:34:06 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 12866 invoked by uid 99); 20 Sep 2005 15:34:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 08:34:06 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from [66.249.82.197] (HELO xproxy.gmail.com) (66.249.82.197) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 08:34:15 -0700 Received: by xproxy.gmail.com with SMTP id h31so219229wxd for ; Tue, 20 Sep 2005 08:33:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=n5Mrf1YZYxrtYQmLp3/Da1/hwCjch36lJDJQqyii2Eto2jcachCe2nRjHVtXWq28xcM4z2VSgPyBHuf/cPRJx0PeMrEq3oz216Xf0IFYJK7/YhsHb9fTE3OO2LIzTuP6XZkmqQveuajmXn4oH1LWSktyUqzV16lj8dsF9xSgOqo= Received: by 10.70.111.9 with SMTP id j9mr2043311wxc; Tue, 20 Sep 2005 08:33:54 -0700 (PDT) Received: by 10.70.117.17 with HTTP; Tue, 20 Sep 2005 08:33:54 -0700 (PDT) Message-ID: Date: Tue, 20 Sep 2005 21:03:54 +0530 From: Kr Reply-To: babloosony@gmail.com To: "axis-user@ws.apache.org" Subject: Conflict between WAS 5.1 Classloader modes Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, We have an couple of EAR's deployed on WSAD - WAS 5.1 Test Environment. There are some common utility jars (total size is more than 1 GB) that are required by all of the EAR's and so we created a shared library for these jars and made references for each of these EAR's to this shared library. Now the applications are running fine with classloader mode as PARENT_FIRST (sinc PARENT_LAST is not working) and WAR classloader policy as MODULE). Now we are trying to consume a web service using AXIS 1.2 Final (an open-source java soap toolkit). AXIS uses its own version of saaj, log4j, commons-logging etc. jars and I hope WAS runtime has its own version of these jars. Now if I deploy my web application (that uses AXIS) and distribute my AXIS jars either in WEB-INF\lib or at the ear level then I must give classloader mode as PARENT_LAST and WAR classloader policy as APPLICATION/MODULE otherwise I am getting the famous error "org.w3c.dom does not implement ... etc. etc." similiar exception. Now there is contradiction of classloader mode setting for making my AXIS web module work and for the making use of shared library jars. Does shared libary jars are loaded by separate classloader called Shared Libary Classloader which is above application classloader. If so how to make shared libary jars loaded by my application instead of getting them loaded by a separate classloader like Shared Libary Classloader. Any thoughts ? Please suggest. Thanks & Regards, Kr.