Return-Path: Delivered-To: apmail-openejb-users-archive@www.apache.org Received: (qmail 56545 invoked from network); 16 Nov 2009 23:39:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 23:39:16 -0000 Received: (qmail 39937 invoked by uid 500); 16 Nov 2009 23:39:15 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 39878 invoked by uid 500); 16 Nov 2009 23:39:15 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 39861 invoked by uid 99); 16 Nov 2009 23:39:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 23:39:15 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jonathan.gallimore@gmail.com designates 209.85.220.220 as permitted sender) Received: from [209.85.220.220] (HELO mail-fx0-f220.google.com) (209.85.220.220) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 23:39:11 +0000 Received: by fxm20 with SMTP id 20so6578532fxm.35 for ; Mon, 16 Nov 2009 15:38:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=e6ZuEWtuUIys9/fY4OQbSloFjm3zc+8Zw/8cYxvvKCE=; b=Wngm+hX+eo0RJOt9F+9yIL6c7/Fb+0Tm21fPyjt4zPIxboKtDTLIV0thzWx9KlkWVH JB6EGmVBU7cK1UH+nJ0pQOZwBhUlKcS/5M+YMJRc6+SZfDjM0z7sb8gP5s7Kuud5WbPL nipw1M5oQ4zt+cV+LeY29aGYiOKd51pH5bbwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Q25z7OUb6Kv6sEplrE5hI2K/fWZDYONaN+7OEo/x9HdFFYHd+Bk22HvvK/EmA/rgLx pV3ecX+gA1MLL+6GQty3T+BZF7ay5uUfwxGHW+rOOZ0ir8/yz5w41Wk8k98zXK+FQwtQ QalX1lMMy8EWwIAD/FifdchpFfvU1s6eAr4Xc= MIME-Version: 1.0 Received: by 10.216.88.6 with SMTP id z6mr93335wee.52.1258414729340; Mon, 16 Nov 2009 15:38:49 -0800 (PST) In-Reply-To: <26367255.post@talk.nabble.com> References: <26317952.post@talk.nabble.com> <1B70967F-D8BA-48A2-8125-877FBC6517F9@visi.com> <26324346.post@talk.nabble.com> <26324908.post@talk.nabble.com> <26347496.post@talk.nabble.com> <8a884a800911150838w76dfdd6blc638a93825435f69@mail.gmail.com> <26361253.post@talk.nabble.com> <8a884a800911151153g6ed5ec06ra1f77091bc6e9d2d@mail.gmail.com> <26367255.post@talk.nabble.com> Date: Mon, 16 Nov 2009 23:38:49 +0000 Message-ID: <8a884a800911161538r6893123cqd23ff043bdf6fa78@mail.gmail.com> Subject: Re: exception in OpenEJB eclipse plugin From: Jonathan Gallimore To: users@openejb.apache.org Content-Type: multipart/alternative; boundary=0016e6d9746eec27a704788582a5 --0016e6d9746eec27a704788582a5 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the log. I've been having a look but I can't reproduce the error here. What version of Eclipse are you using (I'm using 3.5 Galileo at the moment)? Is your copy of OpenEJB modified at all - are you using different libraries or a different config file, or is it an unmodified 3.1.1? Thanks for your patience with this, hopefully we'll get to the bottom of it. Jon On Mon, Nov 16, 2009 at 6:00 AM, is_maximum wrote: > > Hi Jonathan > I can start it up from command line and I was able to deploy my application > externally as well but in Eclipse it doesn't work > > here is the log of OpenEJB > http://old.nabble.com/file/p26367255/openejb.log openejb.log > > Thanks > > > Jonathan Gallimore-2 wrote: > > > > It should definitely work without having an application deployed. Does it > > start ok if you start it manually from the command line? Looks like > you're > > using OpenEJB 3.1.1 - I have 3.1.2 here, but I'll try it with the same > > version that you have. > > > > From your stack trace, it looks like something is trying to be deployed - > > possibly something built in if you have nothing deployed. I'll have a dig > > around the stack trace you supplied. Do you have an openejb.log file in > > the > > $OPENEJB_HOME/logs folder you can post? > > > > Jon > > > > On Sun, Nov 15, 2009 at 5:32 PM, is_maximum wrote: > > > >> > >> I'll try to start it with a basic ejb module but I was expected the > >> server > >> can start up with no application > >> > >> > >> Jonathan Gallimore-2 wrote: > >> > > >> > Hi Mohammad, > >> > > >> > I'm not sure what's going on here - if you export your EJB module to > an > >> > EJB > >> > JAR in Eclipse, and drop it in the apps folder of your OpenEJB > >> standalone > >> > server does it start ok? > >> > > >> > Are you able to setup a basic project that reproduces the problem that > >> I > >> > might be able to have a look at? > >> > > >> > Jon > >> > > >> > On Sat, Nov 14, 2009 at 6:08 AM, is_maximum wrote: > >> > > >> >> > >> >> Hi David, > >> >> I still get this error! I set the JDK in eclipse.ini but it didn't > >> work. > >> >> the > >> >> class javax.ejb.EJBHome is in a jar file named javaee5 or something > >> like > >> >> that in "lib" directory of OpenEJB but it seems this plugin can't > load > >> >> it! > >> >> > >> >> > >> >> > >> >> is_maximum wrote: > >> >> > > >> >> > Yes it's Sun's JDK version 1.5.09 > >> >> > > >> >> > > >> >> > David Blevins wrote: > >> >> >> > >> >> >> Do you know if that is the Sun or IBM (or some other) JDK? > >> >> >> > >> >> >> -David > >> >> >> > >> >> >> On Nov 12, 2009, at 10:54 AM, is_maximum wrote: > >> >> >> > >> >> >>> > >> >> >>> Well it's JDK 1.5.09 > >> >> >>> > >> >> >>> I'm not sure but I think this is because in Eclipse the jre has > >> been > >> >> >>> set and > >> >> >>> I have to change to use JDK. > >> >> >>> Now I'm at home and tomorrow I will test it > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> David Blevins wrote: > >> >> >>>> > >> >> >>>> That's very strange. Can you post your java vendor and version? > >> >> >>>> > >> >> >>>> -David > >> >> >>>> > >> >> >>>> On Nov 12, 2009, at 4:40 AM, is_maximum wrote: > >> >> >>>> > >> >> >>>>> > >> >> >>>>> Hi > >> >> >>>>> I get following error when starting the server : > >> >> >>>>> > >> >> >>>>> Apache OpenEJB 3.1.1 build: 20090530-06:18 > >> >> >>>>> http://openejb.apache.org/ > >> >> >>>>> org.apache.openejb.OpenEJBException: > >> >> >>>>> java.lang.TypeNotPresentException: Type > >> >> >>>>> [unknown] not present: Type [unknown] not present > >> >> >>>>> at > >> >> >>>>> > >> >> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java: > >> >> >>>>> 285) > >> >> >>>>> at > >> org.apache.openejb.OpenEJB$Instance.(OpenEJB.java:137) > >> >> >>>>> at org.apache.openejb.OpenEJB.init(OpenEJB.java:286) > >> >> >>>>> at org.apache.openejb.server.Server.init(Server.java:63) > >> >> >>>>> at org.apache.openejb.server.Main.initServer(Main.java:155) > >> >> >>>>> at org.apache.openejb.server.Main.main(Main.java:128) > >> >> >>>>> 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:585) > >> >> >>>>> at org.apache.openejb.cli.MainImpl.main(MainImpl.java:152) > >> >> >>>>> at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:103) > >> >> >>>>> Caused by: java.lang.TypeNotPresentException: Type [unknown] > not > >> >> >>>>> present > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> .annotation > >> >> >>>>> .TypeNotPresentExceptionProxy > >> >> >>>>> .generateException(TypeNotPresentExceptionProxy.java:27) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> .annotation > >> >> >>>>> .AnnotationInvocationHandler > >> >> >>>>> .invoke(AnnotationInvocationHandler.java: > >> >> >>>>> 56) > >> >> >>>>> at $Proxy49.value(Unknown Source) > >> >> >>>>> at > >> >> >>>>> org.apache.openejb.config.AnnotationDeployer > >> >> >>>>> $ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1147) > >> >> >>>>> at > >> >> >>>>> org.apache.openejb.config.AnnotationDeployer > >> >> >>>>> $ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:616) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> .apache > >> >> >>>>> > >> .openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java: > >> >> >>>>> 186) > >> >> >>>>> at > >> >> >>>>> org.apache.openejb.config.ConfigurationFactory > >> >> >>>>> $Chain.deploy(ConfigurationFactory.java:247) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> .apache > >> >> >>>>> .openejb > >> >> >>>>> .config > >> >> >>>>> .ConfigurationFactory > >> >> >>>>> .configureApplication(ConfigurationFactory.java: > >> >> >>>>> 601) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> .apache > >> >> >>>>> .openejb > >> >> >>>>> .config > >> >> >>>>> .ConfigurationFactory > >> >> >>>>> .configureApplication(ConfigurationFactory.java: > >> >> >>>>> 551) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> .apache > >> >> >>>>> .openejb > >> >> >>>>> .config > >> >> >>>>> .ConfigurationFactory > >> >> >>>>> .getOpenEjbConfiguration(ConfigurationFactory.java:380) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> .apache > >> >> >>>>> .openejb > >> >> >>>>> > >> >> .assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java: > >> >> >>>>> 292) > >> >> >>>>> at > >> >> >>>>> > >> >> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java: > >> >> >>>>> 271) > >> >> >>>>> ... 11 more > >> >> >>>>> Caused by: java.lang.NoClassDefFoundError: javax/ejb/EJBHome > >> >> >>>>> at java.lang.ClassLoader.defineClass1(Native Method) > >> >> >>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > >> >> >>>>> at > >> >> >>>>> > >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java: > >> >> >>>>> 124) > >> >> >>>>> at > >> java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > >> >> >>>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > >> >> >>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > >> >> >>>>> at java.security.AccessController.doPrivileged(Native Method) > >> >> >>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > >> >> >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > >> >> >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299) > >> >> >>>>> at > >> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) > >> >> >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > >> >> >>>>> at > >> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > >> >> >>>>> at java.lang.Class.forName0(Native Method) > >> >> >>>>> at java.lang.Class.forName(Class.java:242) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> > >> >> .apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java: > >> >> >>>>> 91) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> > >> >> .apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java: > >> >> >>>>> 66) > >> >> >>>>> at > >> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > >> >> >>>>> at java.lang.Class.forName0(Native Method) > >> >> >>>>> at java.lang.Class.forName(Class.java:242) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> .generics > >> >> >>>>> .factory > >> >> >>>>> > >> .CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> > >> .generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> > >> >> .generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> > >> >> .reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java: > >> >> >>>>> 370) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> > >> .annotation.AnnotationParser.parseClassValue(AnnotationParser.java: > >> >> >>>>> 351) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> > >> >> .annotation.AnnotationParser.parseMemberValue(AnnotationParser.java: > >> >> >>>>> 280) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> > >> .annotation.AnnotationParser.parseAnnotation(AnnotationParser.java: > >> >> >>>>> 222) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> .annotation > >> >> >>>>> .AnnotationParser.parseAnnotations2(AnnotationParser.java: > >> >> >>>>> 69) > >> >> >>>>> at > >> >> >>>>> sun > >> >> >>>>> .reflect > >> >> >>>>> > >> >> .annotation.AnnotationParser.parseAnnotations(AnnotationParser.java: > >> >> >>>>> 52) > >> >> >>>>> at > java.lang.Class.initAnnotationsIfNecessary(Class.java:3031) > >> >> >>>>> at java.lang.Class.getAnnotation(Class.java:2989) > >> >> >>>>> at java.lang.Class.isAnnotationPresent(Class.java:3001) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> .apache > >> >> >>>>> > >> >> .xbean.finder.ClassFinder.findAnnotatedClasses(ClassFinder.java:241) > >> >> >>>>> at > >> >> >>>>> org.apache.openejb.config.AnnotationDeployer > >> >> >>>>> $DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:441) > >> >> >>>>> at > >> >> >>>>> org.apache.openejb.config.AnnotationDeployer > >> >> >>>>> $DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:249) > >> >> >>>>> at > >> >> >>>>> org > >> >> >>>>> .apache > >> >> >>>>> > >> .openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java: > >> >> >>>>> 184) > >> >> >>>>> ... 17 more > >> >> >>>>> > >> >> >>>>> > >> >> >>>>> what is the problem? I've set the openEjb home directory and > >> >> >>>>> everything > >> >> >>>>> seems ok > >> >> >>>>> > >> >> >>>>> ----- > >> >> >>>>> -- > >> >> >>>>> Regards > >> >> >>>>> > >> >> >>>>> Mohammad Norouzi > >> >> >>>>> > >> >> >>>>> Help each other to reach the future faster > >> >> >>>>> > >> >> >>>>> http://pixelshot.wordpress.com Pixelshot Photoblog > >> >> >>>>> > >> >> >>>>> http://brainable.blogspot.com Brainable Blog > >> >> >>>>> > >> >> >>>>> > >> >> >>>>> -- > >> >> >>>>> View this message in context: > >> >> >>>>> > >> >> > >> > http://old.nabble.com/exception-in-OpenEJB-eclipse-plugin-tp26317952p26317952.html > >> >> >>>>> Sent from the OpenEJB User mailing list archive at Nabble.com. > >> >> >>>>> > >> >> >>>>> > >> >> >>>> > >> >> >>>> > >> >> >>>> > >> >> >>> > >> >> >>> > >> >> >>> ----- > >> >> >>> -- > >> >> >>> Regards > >> >> >>> > >> >> >>> Mohammad Norouzi > >> >> >>> > >> >> >>> Help each other to reach the future faster > >> >> >>> > >> >> >>> http://pixelshot.wordpress.com Pixelshot Photoblog > >> >> >>> > >> >> >>> http://brainable.blogspot.com Brainable Blog > >> >> >>> > >> >> >>> > >> >> >>> -- > >> >> >>> View this message in context: > >> >> >>> > >> >> > >> > http://old.nabble.com/exception-in-OpenEJB-eclipse-plugin-tp26317952p26324346.html > >> >> >>> Sent from the OpenEJB User mailing list archive at Nabble.com. > >> >> >>> > >> >> >>> > >> >> >> > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > >> >> > >> >> ----- > >> >> -- > >> >> Regards > >> >> > >> >> Mohammad Norouzi > >> >> > >> >> Help each other to reach the future faster > >> >> > >> >> http://pixelshot.wordpress.com Pixelshot Photoblog > >> >> > >> >> http://brainable.blogspot.com Brainable Blog > >> >> > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> > http://old.nabble.com/exception-in-OpenEJB-eclipse-plugin-tp26317952p26347496.html > >> >> Sent from the OpenEJB User mailing list archive at Nabble.com. > >> >> > >> >> > >> > > >> > > >> > >> > >> ----- > >> -- > >> Regards > >> > >> Mohammad Norouzi > >> > >> Help each other to reach the future faster > >> > >> http://pixelshot.wordpress.com Pixelshot Photoblog > >> > >> http://brainable.blogspot.com Brainable Blog > >> > >> > >> -- > >> View this message in context: > >> > http://old.nabble.com/exception-in-OpenEJB-eclipse-plugin-tp26317952p26361253.html > >> Sent from the OpenEJB User mailing list archive at Nabble.com. > >> > >> > > > > > > > ----- > -- > Regards > > Mohammad Norouzi > > Help each other to reach the future faster > > http://pixelshot.wordpress.com Pixelshot Photoblog > > http://brainable.blogspot.com Brainable Blog > > > -- > View this message in context: > http://old.nabble.com/exception-in-OpenEJB-eclipse-plugin-tp26317952p26367255.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > > --0016e6d9746eec27a704788582a5--