Return-Path: Delivered-To: apmail-openejb-users-archive@www.apache.org Received: (qmail 29557 invoked from network); 12 Nov 2009 19:34:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Nov 2009 19:34:28 -0000 Received: (qmail 22263 invoked by uid 500); 12 Nov 2009 19:34:28 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 22238 invoked by uid 500); 12 Nov 2009 19:34:28 -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 22227 invoked by uid 99); 12 Nov 2009 19:34:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 19:34:27 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 19:34:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N8fQi-0004xr-C1 for users@openejb.apache.org; Thu, 12 Nov 2009 11:34:04 -0800 Message-ID: <26324908.post@talk.nabble.com> Date: Thu, 12 Nov 2009 11:34:04 -0800 (PST) From: is_maximum To: users@openejb.apache.org Subject: Re: exception in OpenEJB eclipse plugin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mnrz57@gmail.com References: <26317952.post@talk.nabble.com> <1B70967F-D8BA-48A2-8125-877FBC6517F9@visi.com> <26324346.post@talk.nabble.com> 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-tp26317952p26324908.html Sent from the OpenEJB User mailing list archive at Nabble.com.