Hi,
I have a problem with the following system:
JBoss [Morpheus] 5.0.0.Beta2 (build:
SVNTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta2 date=200612281636)
In JBoss 4.0.4GA//4.0.5GA my MDB works fine, but in JBoss 5.0.0.Beta2 I get this
Exception:
ERROR [AbstractKernelController] Error installing to Start:
name=jboss.j2ee:jar=FeatureScan-ejb.jar,name=GlobalWorker,service=EJB3 state=Create
| org.jboss.deployment.DeploymentException: Unable to create activation spec
ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
messaging-type=javax.jms.MessageListener
properties={destination=ActivationConfigProperty(destination=queue/testQueue),
acknowledgeMode=ActivationConfigProperty(acknowledgeMode=Auto-acknowledge),
destinationType=ActivationConfigProperty(destinationType=javax.jms.Queue)}
| at
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
| at
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:290)
| at
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:189)
| at
org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:186)
| at org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:152)
| at org.jboss.ejb3.mdb.MDB.start(MDB.java:126)
| 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.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
| at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
| at
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:71)
| at
org.jboss.kernel.plugins.dependency.LifecycleAction.installAction(LifecycleAction.java:147)
| at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:96)
| at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
| at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
| at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
| at org.jboss.system.ServiceController.start(ServiceController.java:431)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
| at
org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
| at
org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
| at
org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
| at
org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
| at
org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451)
| at
org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
| at
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
| at
org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
| at
org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
| at org.jboss.Main.boot(Main.java:210)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.management.InstanceNotFoundException:
jboss.jca:service=RARDeployment,name='jms-ra.rar' is not registered.
| at
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:527)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:662)
| at
org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
| at
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:285)
| ... 41 more
|
My MDB:
@MessageDriven(mappedName = "jms/GlobalWorker", activationConfig = {
| @ActivationConfigProperty(propertyName = "acknowledgeMode",
propertyValue = "Auto-acknowledge"),
| @ActivationConfigProperty(propertyName = "destinationType",
propertyValue = "javax.jms.Queue"),
| @ActivationConfigProperty(propertyName = "destination" ,
propertyValue = "queue/testQueue")
| })
|
How can I fix this?
Tanks for your help
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996850#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...