I am trying to run openEJB 3.0 embedded and remoteable. I get the following java.lang.AbstractMethodError when starting up:
Apache OpenEJB 3.0 build: 20080408-04:13 http://openejb.apache.org/ INFO - openejb.home = C:\CCWork\xph_SI-STABLE_Tools\tools\test-framework INFO - openejb.base = C:\CCWork\xph_SI-STABLE_Tools\tools\test-framework INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service) INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager) INFO - Configuring Service(id=Default JDK 1.3 ProxyFactory, type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory) INFO - Found EjbModule in classpath: C:\Documents and Settings\xph\.m2\repository\dk\pfa\si\router\si-router.rmigateway\3.3-SNAPSHOT\si-router.rmigateway-3.3-SNAPSHOT.jar INFO - Found EjbModule in classpath: C:\Documents and Settings\xph\.m2\repository\dk\pfa\si\notification\si-notification-sender\3.3-SNAPSHOT\si-notification-sender-3.3-SNAPSHOT.jar INFO - Found EjbModule in classpath: C:\Documents and Settings\xph\.m2\repository\dk\pfa\si\core\adapter\outbound\si-adapter-outbound.rmi-gateway\3.3-SNAPSHOT\si-adapter-outbound.rmi-gateway-3.3-SNAPSHOT.jar INFO - Configuring app: C:\Documents and Settings\xph\.m2\repository\dk\pfa\si\router\si-router.rmigateway\3.3-SNAPSHOT\si-router.rmigateway-3.3-SNAPSHOT.jar FATAL - OpenEJB has encountered a fatal error and cannot be started: The Assembler encountered an unexpected error while attempting to build the container system. java.lang.AbstractMethodError at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.apache.xbean.finder.ClassFinder.readClassDef(ClassFinder.java:677) at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:140) at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:112) at org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:315) at org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:223) at org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:167) at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:148) at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:440) at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:391) at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:309) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:249) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149) at org.apache.openejb.OpenEJB.init(OpenEJB.java:288) at org.apache.openejb.OpenEJB.init(OpenEJB.java:267) 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.loader.OpenEJBInstance.init(OpenEJBInstance.java:36) at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:62) at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:51) at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:40) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at dk.pfa.tf.core.EJBFeedbackListener.start(EJBFeedbackListener.java:25) at dk.pfa.tf.core.TestCase.startFeedbackChannels(TestCase.java:107) at dk.pfa.tf.core.TestCase.run(TestCase.java:83) at dk.pfa.tf.core.TestControllerImpl.runTestCase(TestControllerImpl.java:36) at dk.pfa.tf.core.TestCaseExecutor.main(TestCaseExecutor.java:18) 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) It seems to be failing due to a mismatch between compiled and runtime code, I guess with the asm jar. I am using asm jar that ships with openEJB 3.0, which is asm-2.2.3.jar. Any ideas welcome! -- View this message in context: http://www.nabble.com/AbstractMethodError-tp17252091p17252091.html Sent from the OpenEJB User mailing list archive at Nabble.com.
