Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 94682 invoked from network); 2 May 2006 06:54:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 May 2006 06:54:17 -0000 Received: (qmail 12671 invoked by uid 500); 2 May 2006 06:54:05 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 12189 invoked by uid 500); 2 May 2006 06:54:04 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 12175 invoked by uid 99); 2 May 2006 06:54:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 23:54:04 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of srivania12@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO nz-out-0102.google.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 23:54:01 -0700 Received: by nz-out-0102.google.com with SMTP id j2so2510501nzf for ; Mon, 01 May 2006 23:53:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ev6Lnbys6iNQLgZs6TL8aRZxvYduSeBsK1Ea8Ua/pKqbURirslPEiuXIm8aE2yqwhhFz4Wy7DxyXX+Sl9VM4Y6wAqCrTT6bMhfMQWAyMvvWQQdZyQ1tyStOdw/D7+3FoAD86XhiX2OEKrEHW2gry3hZHY6D4xFTYBeRIrYC997A= Received: by 10.64.243.6 with SMTP id q6mr192297qbh; Mon, 01 May 2006 23:53:40 -0700 (PDT) Received: by 10.64.180.12 with HTTP; Mon, 1 May 2006 23:53:40 -0700 (PDT) Message-ID: Date: Tue, 2 May 2006 12:23:40 +0530 From: "A srivani" To: users@tomcat.apache.org Subject: Fwd: classloader problem In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30267_1899322.1146552820591" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_30267_1899322.1146552820591 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ---------- Forwarded message ---------- From: A srivani Date: May 2, 2006 12:16 PM Subject: Re: classloader problem To: devlists@hanik.com Hi there, http://www.mail-archive.com/users@tomcat.apache.org/msg07773.html I am facing similar problem as in above link. In my webapplication axis is used to connect webservices. If the axis.jar i= s in WEB-INF/lib I can reload my app and everything is fine. But when I moved axis.jar to CATALINA_HOME/shared/lib to shrink the size of my war file I get a NullPointerException (stack trace follows) when the application has been reloaded and I try to connect to a service. The application runs fine until I try to connect to a webservice. What could be the reason for this? I surfed the forums related to the problem and found that some are suggesting to make reloadable=3Dtrue in server.xml.But it is not possible f= or me. Thanks in advance..... A Srivani. *java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLo ader.java:956) * at java.lang.ClassLoader.getResources(ClassLoader.java :1015) at org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java :150) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResourc es(DiscoverResources.java :153) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResourc e(DiscoverResources.java:129) at org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(Discov erResources.java:116) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNex tClassNames(DiscoverNamesInFile.java: 186) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNex tClassName(DiscoverNamesInFile.java:1 70) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNex t(DiscoverNamesInFile.java:157) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIte rator(NameDiscoverers.java:143) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(Na meDiscoverers.java:126) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$ 1.getNextResource(ResourceClassDiscov erImpl.java:159) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$ 1.hasNext(ResourceClassDiscoverImpl.j ava:147) at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(Eng ineConfigurationFactoryFinder.java:12 0) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactor y(EngineConfigurationFactoryFinder.ja va:113) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactor y(EngineConfigurationFactoryFinder.ja va:160) at org.apache.axis.client.Service.getEngineConfiguration (Service.java:812) at org.apache.axis.client.Service.getAxisClient(Service.java:103) at org.apache.axis.client.Service.(Service.java:112) at ------=_Part_30267_1899322.1146552820591--