Hi all,
I tried to get EJB 3.1 Embeddable prototype up & running, and did exactly as described
in
http://www.jboss.org/community/docs/DOC-9618.
However, I get the following exception:
12:15:39,581 INFO [JBossEJBContainer] Deploying
jar:file:/C:/Dokumente%20und%20Einstellungen/ptrau/.m2/repository/org/jboss/ejb3/jboss-ejb3-embedded/1.0.0-SNAPSHOT/jboss-ejb3-embedded-1.0.0-SNAPSHOT.jar!/META-INF/embedded-bootstrap-beans.xml
| 12:15:40,424 ERROR [AbstractKernelController] Error installing to Instantiated:
name=BeanMetaDataDeployer state=Described
| java.lang.IllegalArgumentException: Wrong arguments. new for target
java.lang.reflect.Constructor expected=[org.jboss.dependency.spi.Controller]
actual=[org.jboss.kernel.Kernel]
| at
org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
| at
org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)
| at
org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)
| at
org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)
| at
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:276)
| at
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:97)
| at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
| ...
|
The exception happens when the AbstractKernelDeployer tries to deploy bean
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.
There's an MC JIRA
https://jira.jboss.org/jira/browse/JBMICROCONT-176
with the same symptoms and resolution Done (JBossMC-2.0.0.Beta4).
Any ideas/hints?
thanks,
Karl
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186367#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...