2 Replies Latest reply on May 24, 2006 11:03 AM by Jury Sysoyev

    deployment problem - MessageDriven exception

    Tomkooo Tomkooo Newbie

      hi, i tried to migrate my web app to jboss 4.0.4 from 4.0.4RC1. So i copied my configuration and tried to deploy my ear. I got following exception:

      22:44:32,209 WARN [MDB] No message-driven-destination given; using; guessing type
      22:44:32,209 WARN [MDB] Could not determine destination type, defaults to: javax.jms.Topic
      22:44:32,235 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=org.kanto.spa.business.mail.EmailSender,service=EJB3 with dependencies:
      22:44:32,245 INFO [EJBContainer] STARTED EJB: org.kanto.spa.business.mail.EmailSender ejbName: org.kanto.spa.business.mail.EmailSender
      22:44:32,247 WARN [MDB] No message-driven-destination given; using; guessing type
      22:44:32,247 WARN [MDB] Could not determine destination type, defaults to: javax.jms.Topic
      22:44:32,265 WARN [ServiceController] Problem starting service jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=org.kanto.spa.business.mail.EmailSender,service=EJB3
      org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='null' messaging-type=javax.jms.MessageListener properties={}; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.)
       at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
       at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:310)
       at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:195)
       at org.jboss.ejb3.mdb.MDB.startProxies(MDB.java:279)
       at org.jboss.ejb3.mdb.MDB.start(MDB.java:218)
       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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy49.start(Unknown Source)
       at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82)
       at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:439)
       at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:486)
       at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy34.start(Unknown Source)
       at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:428)
       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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
       at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
       at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy35.start(Unknown Source)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
       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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
       at org.jboss.Main.boot(Main.java:200)
       at org.jboss.Main$1.run(Main.java:464)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.
       at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
       at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:305)
       ... 148 more
      


      and

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=NotificateEmailBean,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountActivationBeanImpl,service=EJB3
       persistence.units:ear=SpaEar.ear,jar=SpaBeans.jar,unitName=SpaEM
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=LoggingRecordDAOBean,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionManagingBeanImpl,service=EJB3
       Depends On Me:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountActivationBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountFavouriteBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=ResetPasswordBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionManagingBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionObservedBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=NotificateEmailBean,service=EJB3
      
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountActivationBeanImpl,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=NotificateEmailBean,service=EJB3
       persistence.units:ear=SpaEar.ear,jar=SpaBeans.jar,unitName=SpaEM
       Depends On Me:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
      
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountFavouriteBeanImpl,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       persistence.units:ear=SpaEar.ear,jar=SpaBeans.jar,unitName=SpaEM
      
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=ResetPasswordBeanImpl,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=NotificateEmailBean,service=EJB3
       persistence.units:ear=SpaEar.ear,jar=SpaBeans.jar,unitName=SpaEM
      
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionManagingBeanImpl,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=NotificateEmailBean,service=EJB3
       persistence.units:ear=SpaEar.ear,jar=SpaBeans.jar,unitName=SpaEM
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionCategoryBeanImpl,service=EJB3
       Depends On Me:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionCategoryBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionObservedBeanImpl,service=EJB3
      
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionCategoryBeanImpl,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=NotificateEmailBean,service=EJB3
       persistence.units:ear=SpaEar.ear,jar=SpaBeans.jar,unitName=SpaEM
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionManagingBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=CategoryDescriptionBeanImpl,service=EJB3
       Depends On Me:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionManagingBeanImpl,service=EJB3
      
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionObservedBeanImpl,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       persistence.units:ear=SpaEar.ear,jar=SpaBeans.jar,unitName=SpaEM
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionManagingBeanImpl,service=EJB3
      
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=org.kanto.spa.business.mail.EmailSender,service=EJB3
       State: FAILED
       Reason: org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='null' messaging-type=javax.jms.MessageListener properties={}; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.)
      
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=NotificateEmailBean,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=EmailQueuerBean,service=EJB3
       Depends On Me:
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AccountActivationBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=ResetPasswordBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionManagingBeanImpl,service=EJB3
       jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=AuctionCategoryBeanImpl,service=EJB3
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:ear=SpaEar.ear,jar=SpaBeans.jar,name=org.kanto.spa.business.mail.EmailSender,service=EJB3
       State: FAILED
       Reason: org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='null' messaging-type=javax.jms.MessageListener properties={}; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.)
      



      can someone help me to fix this problem??