Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 61334 invoked from network); 13 Jul 2007 12:11:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jul 2007 12:11:00 -0000 Received: (qmail 48674 invoked by uid 500); 13 Jul 2007 12:10:53 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 48659 invoked by uid 500); 13 Jul 2007 12:10:53 -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 48648 invoked by uid 99); 13 Jul 2007 12:10:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2007 05:10:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [129.215.166.64] (HELO grassmarket.ucs.ed.ac.uk) (129.215.166.64) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2007 05:10:47 -0700 Received: from smtp.sms.ed.ac.uk (nougat.ucs.ed.ac.uk [192.168.30.2]) by grassmarket.ucs.ed.ac.uk (8.13.8/8.12.10) with ESMTP id l6DCAQBs027081 for ; Fri, 13 Jul 2007 13:10:26 +0100 (BST) Received: from vpn-011.vpn.net.ed.ac.uk (vpn-011.vpn.net.ed.ac.uk [129.215.37.11]) by www.sms.ed.ac.uk (Horde MIME library) with HTTP; Fri, 13 Jul 2007 13:10:26 +0100 Message-ID: <20070713131026.ctphrlngo4gkgkk4@www.sms.ed.ac.uk> Date: Fri, 13 Jul 2007 13:10:26 +0100 From: E Koutsoudaki To: "axis-user@ws.apache.org" Subject: axis - tomcat "loader constraint violation" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Edinburgh-Scanned: at grassmarket.ucs.ed.ac.uk with MIMEDefang 2.33, Sophie, Sophos Anti-Virus X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) X-Virus-Checked: Checked by ClamAV on apache.org Dear all, as part of a project I am working on I have to add to an existent Java based web application the functionality of retrieving information from the NCBI web service. I have generated the Java source files by following the instructions in the NCBI website at: http://www.ncbi.nlm.nih.gov/entrez/q...java_help.html The source files are created and they compile. For testing reasons I have implement a Java application (not web based) from which I was able to retrieve information from the NCBI resources. When integrate the source files into the web based application, again the project builds fine, but when running the following error occurs: java.lang.LinkageError: loader constraint violation: when resolving field "service" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the referring class, org/apache/axis/client/Stub, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for the field's resolved ty= pe, javax/xml/rpc/Service, have different Class objects for that type gov.nih.nlm.ncbi.www.soap.eutils.EUtilsServiceSoap Stub.(EUtilsServiceSoapStub.java:201) gov.nih.nlm.ncbi.www.soap.eutils.EUtilsServiceSoap Stub.(EUtilsServiceSoapStub.java:193) gov.nih.nlm.ncbi.http://www.soap.eutils.EUtilsService...ocator.java:55) gov.nih.nlm.ncbi.http://www.soap.eutils.EUtilsService...ocator.java:50) uk.ac.ed.gti.utilities.BioLayoutFile.getNCBIInfo(B ioLayoutFile.java:196) The web based application runs on a Tomcat server and the axis library files have been added in the common/lib folder of the web server so as the web server to be able to locate the libraries. The axis version I've used is the 1.4, Tomcat 5.5 and jdk 1.6.0_01. I have also tried by using the axis-1_2_1, and jdk1.5.0_12. and generally other combinations of those. I always keep Tomcat to 5.5 since this is the version of the existing web application. I would be grateful for any enlightenment about the occurring error. Thank you in advance. Elisavet Koutsoudaki --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org