Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 53183 invoked from network); 21 Mar 2007 16:36:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 16:36:21 -0000 Received: (qmail 22713 invoked by uid 500); 21 Mar 2007 16:36:25 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 22681 invoked by uid 500); 21 Mar 2007 16:36:25 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 22655 invoked by uid 99); 21 Mar 2007 16:36:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 09:36:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 09:36:12 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HU3my-0002nF-1S for user@geronimo.apache.org; Wed, 21 Mar 2007 09:35:52 -0700 Message-ID: <9598065.post@talk.nabble.com> Date: Wed, 21 Mar 2007 09:35:51 -0700 (PDT) From: ibiddles To: user@geronimo.apache.org Subject: Re: java.lang.Exception: Could not load 1.0/com/sun/codemodel/CodeWriter.class In-Reply-To: <35B295BC-71D4-488B-8ACC-C1D4BBDEA6E7@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ivanb@scientology.net References: <9587182.post@talk.nabble.com> <35B295BC-71D4-488B-8ACC-C1D4BBDEA6E7@yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Dear David, I'm sorry I didn't realize that I missed out the version of Geronimo. It is 2.0M3 with JDK1,5,0_1. The stack trace is (and I have to retype this so hopefully there won't be any mistakes): at org.apache.xbean.finder.ClassFinder.readClassDef (690) at org.apache.xbean.finder.ClassFinder. (139) at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices (157) at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.WebServices (83) at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.$$FastClassByCGLIB.invoke() at net.sf.cglib.reflect.FastMethod.invoke (53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke (38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (127) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (820) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke (57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke (35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept (96) at org.apache.geronimo.j2ee.deployment.WebServiceBuilder$$EnhancerByCGLIB$$890c4531.findWebServices () at org.apache.geronimo.web25.deployment.AbstractModuleBuilder.buildSubstitutionGroups (688) at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext (253) at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder$$FastClassByCGLIB.invoke () Hopefully that is enough. It seems that the system may not be using the JAR files from my WEB-INF/lib. I tried using the inverse-classloading tab that Aaron Muldur talks about ikn his book but it seems that no longer applies in 2.0M3. Anyway, thanks for any help you can give me. Best wishes, Ivan djencks wrote: > > Could you tell us what version of geronimo you are using and give > more of the stack trace for this exception? I don't recall seeing > anything much like this before. Also, the code appears to be trying > to load a class file as a resource which seems a bit odd, as well as > the extra directory segment in the name. > > thanks > david jencks > > On Mar 21, 2007, at 12:32 AM, ibiddles wrote: > >> >> Hi, >> >> I am very new to Geronimo. I have a web services application that uses >> Spring 2.0.3 and Spring web services. It runs in Tomcat 5.5.20 and >> 6.0.10. >> >> It has all its dependent JAR files in the WEB-INF/lib directory in >> the WAR >> file so I was hoping that I could simply deploy the WAR file to >> Geronimo. >> >> When I try to do so, there is a pause and then the console (a >> command prompt >> window) gets into a whole series of exception stack traces until >> the process >> runs out of memory or I stop it. >> >> The first is as listed in the subject line of this emai: >> >> java.lang.Exception: Could not load >> 1.0/com/sun/codemodel/CodeWriter.class >> >> This class is in one of the JAR files (jaxb-xjc-2.0.1.jar) in my >> WEBINF/lib >> directory but the system does not seem to be able to find it. Every >> one of >> the classes in that JAR file appear in similar stack traces one >> after the >> other. The classes all seem to be in that same JAR file at least as >> far as I >> get. >> >> I am probably way off base with what I'm doing but does anyone have >> any idea >> of what is going wrong? >> >> Best wishes, Ivan. >> -- >> View this message in context: http://www.nabble.com/ >> java.lang.Exception%3A-Could-not-load-1.0-com-sun-codemodel- >> CodeWriter.class-tf3438319s134.html#a9587182 >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/java.lang.Exception%3A-Could-not-load-1.0-com-sun-codemodel-CodeWriter.class-tf3438319s134.html#a9598065 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.