Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 40970 invoked from network); 7 Jul 2009 08:17:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jul 2009 08:17:51 -0000 Received: (qmail 47670 invoked by uid 500); 7 Jul 2009 08:18:00 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 47629 invoked by uid 500); 7 Jul 2009 08:17:59 -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 47621 invoked by uid 99); 7 Jul 2009 08:17:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2009 08:17:59 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.227.17.10] (HELO moutng.kundenserver.de) (212.227.17.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2009 08:17:49 +0000 Received: from [127.0.0.1] ([195.37.209.55]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MKt72-1MO5rk10iu-000hdJ; Tue, 07 Jul 2009 10:17:28 +0200 Message-ID: <4A530497.3090509@optitool.de> Date: Tue, 07 Jul 2009 10:17:27 +0200 From: Florian Schaetz User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Webservice: WSDL Generations fails References: <4A51C293.3070105@optitool.de> <4A51EB7F.8040709@optitool.de> <5eb405c70907060832s30ad6041m341ba52073baa75f@mail.gmail.com> In-Reply-To: <5eb405c70907060832s30ad6041m341ba52073baa75f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18Oo9BwZrLpklIwS+vmbSmBXLO6eOnyOQSj0rJ j+2YOFbXDBjSuXBpGrYoh9ufhRQ9jWuUtCVzhr0i5XUgnR+VLV XLDhuVJme0m78L/86clvOuso1WoKQJNtfhqt0EYtnE= X-Virus-Checked: Checked by ClamAV on apache.org Jarek Gawor wrote: > Which class can't be found? Ok, let me sumarize... I've got three jar-files: 1) Service.jar - containing the stateless EJB/Webservice (with apropriate META-INF) 2) Biz.jar - simple library .jar, containing the business logic, including a Session class 3) Common.jar - containing helper classes, etc. - including a simple interface IProgressMonitor (which just uses java.lang classes, no import statements) and it's implementation NullPointerMonitor. Of course, Biz.jar and Common.jar are in the repository and correctly marked as dependencies in the Service.jar's openejb-jar.xml file. When deploying the EJB/Webservice, I get the following error message (but the EJB is deployed correctly, just the WSDL doesn't get generated, which of course prevents the WebService from being there): 2009-07-06 15:34:15,182 ERROR [WsdlGenerator] WSDL generation process failed 2009-07-06 15:34:15,182 ERROR [WsdlGenerator] Exception in thread "main" java.lang.NoClassDefFoundError: net/uniopt/util/IProgressMonitor at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.privateGetPublicMethods(Class.java:2547) at java.lang.Class.getMethods(Class.java:1410) at com.sun.xml.ws.modeler.RuntimeModeler.determineWebMethodUse(RuntimeModeler.java:288) at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:304) at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:249) at com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:631) at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:536) at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.tools.ws.Invoker.main(Invoker.java:41) at com.sun.tools.ws.WsGen.main(WsGen.java:28) Caused by: java.lang.ClassNotFoundException: net.uniopt.util.IProgressMonitor at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 16 more# The place where this occurs looks like this... // This first line works fine Session session = new UserManager().login(entityManager, user, pwd); // The error occurs if the following line is there: session.load( entityManager, new NullProgressMonitor() ); // (Session.load takes the EntityManager and an IProgressMonitor as // parameter) I really would be grateful if anyone had any idea what my problem could be... Flo