5 Replies Latest reply on Dec 13, 2007 3:33 PM by Peter Johnson

    problem with Queue

    abderrahim Newbie

      jboss.mq.destination:service=Queue,name=mfcControll2myWMS already registered

        • 1. Re: problem with Queue
          Peter Johnson Master

          Apparently this queue is declared twice - either two times in one *-service.xml file, or in two different files. Remove one of the declarations.

          • 2. Re: problem with Queue
            abderrahim Newbie

            Could not find the queue destination-jndi-name=queue/mfcControll2myWMS
            19:10:04,394 WARN [MessagingContainer] destination not found: queue/mfcControll2myWMS reason: javax.naming.NameNotFoundException: queue not bound
            19:10:04,394 WARN [MessagingContainer] creating a new temporary destination: queue/mfcControll2myWMS
            19:10:04,410 INFO [mfcControll2myWMS] Registration is not done -> stop
            19:10:04,410 WARN [ServiceController] Problem starting service jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=MFCMessageReceiverBean,service=EJB3
            javax.management.InstanceAlreadyExistsException: jboss.mq.destination:service=Queue,name=mfcControll2myWMS already registered.

            • 3. Re: problem with Queue
              Peter Johnson Master

              It would help if you provided some context for what it is that you are doing, and how that particular queue name fits into it. How are you declaring the queue? How is it packaged with the rest of the app? When is this error happening, when you deploy the application?

              • 4. Re: problem with Queue
                abderrahim Newbie

                I am declaring the queue into jbossmq-destinations-service.xml,


                <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager


                and the 19:50:18,846 INFO [TomcatDeployer] undeploy, ctxPath=/cactustest, warUrl=.../tmp/deploy/tmp54847cactustest.ear-contents/cactustest-exp.war/
                19:50:18,924 INFO [EJBContainer] STOPPED EJB: org.mywms.regalpicker.fassade.PickerBean ejbName: PickerBean
                19:50:18,924 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.SanityCheckBean ejbName: SanityCheckBean
                19:50:18,924 INFO [EJBContainer] STOPPED EJB: org.mywms.regalpicker.fassade.TopologieBean ejbName: TopologieBean
                19:50:18,924 INFO [EJBContainer] STOPPED EJB: org.mywms.service.AreaServiceBean ejbName: AreaServiceBean
                19:50:18,924 INFO [EJBContainer] STOPPED EJB: org.mywms.service.BasicServiceBean ejbName: BasicServiceBean
                19:50:18,924 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.BasicFacadeBean ejbName: BasicFacadeBean
                19:50:18,939 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.ClientsBean ejbName: ClientsBean
                19:50:18,939 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.DocumentBean ejbName: DocumentBean
                19:50:18,939 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.LogBean ejbName: LogBean
                19:50:18,939 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.MFCMessageDispatcherBean ejbName: MFCMessageDispatcherBean
                19:50:18,939 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.PluginConfigBean ejbName: PluginConfigBean
                19:50:18,939 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.ReportsBean ejbName: ReportsBean
                19:50:18,939 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.UsersBean ejbName: UsersBean
                19:50:18,955 INFO [EJBContainer] STOPPED EJB: org.mywms.plugin.PluginFactoryBean ejbName: PluginFactoryBean
                19:50:18,955 INFO [EJBContainer] STOPPED EJB: org.mywms.service.PluginConfigurationServiceBean ejbName: PluginConfigurationServiceBean
                19:50:18,955 INFO [EJBContainer] STOPPED EJB: org.mywms.regalpicker.fassade.WarehouseBean ejbName: WarehouseBean
                19:50:18,955 INFO [EJBContainer] STOPPED EJB: org.mywms.regalpicker.service.PickerRequestServiceBean ejbName: PickerRequestServiceBean
                19:50:18,955 INFO [EJBContainer] STOPPED EJB: org.mywms.service.ClientServiceBean ejbName: ClientServiceBean
                19:50:18,971 INFO [EJBContainer] STOPPED EJB: org.mywms.service.ConfigServiceBean ejbName: ConfigServiceBean
                19:50:18,971 INFO [EJBContainer] STOPPED EJB: org.mywms.service.DocumentServiceBean ejbName: DocumentServiceBean
                19:50:18,971 INFO [EJBContainer] STOPPED EJB: org.mywms.service.GoodsOutRequestServiceBean ejbName: GoodsOutRequestServiceBean
                19:50:18,971 INFO [EJBContainer] STOPPED EJB: org.mywms.plugin.report.ItemDataReportBean ejbName: ItemDataReportBean
                19:50:18,971 INFO [EJBContainer] STOPPED EJB: org.mywms.service.ItemDataServiceBean ejbName: ItemDataServiceBean
                19:50:18,971 INFO [EJBContainer] STOPPED EJB: org.mywms.service.LogItemServiceBean ejbName: LogItemServiceBean
                19:50:18,986 INFO [EJBContainer] STOPPED EJB: org.mywms.service.LotServiceBean ejbName: LotServiceBean
                19:50:18,986 INFO [EJBContainer] STOPPED EJB: org.mywms.service.PickingRequestPositionServiceBean ejbName: PickingRequestPositionServiceBean
                19:50:18,986 INFO [EJBContainer] STOPPED EJB: org.mywms.service.PickingRequestServiceBean ejbName: PickingRequestServiceBean
                19:50:18,986 INFO [EJBContainer] STOPPED EJB: org.mywms.service.RequestServiceBean ejbName: RequestServiceBean
                19:50:18,986 INFO [EJBContainer] STOPPED EJB: org.mywms.service.RoleServiceBean ejbName: RoleServiceBean
                19:50:18,986 INFO [EJBContainer] STOPPED EJB: org.mywms.service.StockUnitServiceBean ejbName: StockUnitServiceBean
                19:50:19,002 INFO [EJBContainer] STOPPED EJB: org.mywms.component.EquipmentBean ejbName: EquipmentBean
                19:50:19,002 INFO [EJBContainer] STOPPED EJB: org.mywms.plugin.report.UnitLoadLabelBean ejbName: UnitLoadLabelBean
                19:50:19,002 INFO [EJBContainer] STOPPED EJB: org.mywms.service.UnitLoadServiceBean ejbName: UnitLoadServiceBean
                19:50:19,002 INFO [EJBContainer] STOPPED EJB: org.mywms.service.StorageLocationServiceBean ejbName: StorageLocationServiceBean
                19:50:19,002 INFO [EJBContainer] STOPPED EJB: org.mywms.service.TransportRequestServiceBean ejbName: TransportRequestServiceBean
                19:50:19,017 INFO [EJBContainer] STOPPED EJB: org.mywms.service.UnitLoadTypeServiceBean ejbName: UnitLoadTypeServiceBean
                19:50:19,017 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.AuthenticationBean ejbName: AuthenticationBean
                19:50:19,017 INFO [EJBContainer] STOPPED EJB: org.mywms.service.UserServiceBean ejbName: UserServiceBean
                19:50:19,017 INFO [EJBContainer] STOPPED EJB: org.mywms.service.ZoneServiceBean ejbName: ZoneServiceBean
                19:50:19,017 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.units:ear=cactustest.ear,unitName=myWMS
                19:50:19,017 INFO [SessionFactoryImpl] closing
                19:50:19,017 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.units:ear=cactustest.ear,unitName=myWMS
                19:50:19,017 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
                19:50:19,017 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.units:ear=cactustest.ear,unitName=myWMS
                19:50:19,033 WARN [JmxKernelAbstraction] persistence.units:ear=cactustest.ear,unitName=myWMS is not registered
                19:50:19,033 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=mywms.regalpicker.ejb3,name=PickerBean,service=EJB3 is not registered
                19:50:19,033 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=mywms.regalpicker.ejb3,name=PickerListenerBean,service=EJB3 is not registered
                19:50:19,033 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=mywms.regalpicker.ejb3,name=TopologieBean,service=EJB3 is not registered
                19:50:19,033 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=mywms.regalpicker.ejb3,name=WarehouseBean,service=EJB3 is not registered
                19:50:19,033 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=mywms.regalpicker.ejb3,name=PickerRequestServiceBean,service=EJB3 is not registered
                19:50:19,033 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=EquipmentBean,service=EJB3 is not registered
                19:50:19,033 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=AuthenticationBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=BasicFacadeBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=ClientsBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=DocumentBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=LogBean,service=EJB3 is not registered
                19:50:19,049 INFO [EJBContainer] STOPPED EJB: org.mywms.facade.MFCControllBean ejbName: MFCControllBean
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=MFCControllBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=MFCMessageDispatcherBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=MFCMessageReceiverBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=PluginConfigBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=ReportsBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=SanityCheckBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=UsersBean,service=EJB3 is not registered
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=PluginFactoryBean,service=EJB3 is not registered
                19:50:19,049 INFO [EJBContainer] STOPPED EJB: org.mywms.plugin.bean.ClientNumberBean ejbName: ClientNumberBean
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=ClientNumberBean,service=EJB3 is not registered
                19:50:19,049 INFO [EJBContainer] STOPPED EJB: org.mywms.plugin.bean.RequestNumberBean ejbName: RequestNumberBean
                19:50:19,049 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=RequestNumberBean,service=EJB3 is not registered
                19:50:19,064 INFO [EJBContainer] STOPPED EJB: org.mywms.plugin.bean.RequestSimpleNumberBean ejbName: RequestSimpleNumberBean
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=RequestSimpleNumberBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=ItemDataReportBean,service=EJB3 is not registered
                19:50:19,064 INFO [EJBContainer] STOPPED EJB: org.mywms.plugin.report.StockUnitStatusReportBean ejbName: StockUnitStatusReportBean
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=StockUnitStatusReportBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=UnitLoadLabelBean,service=EJB3 is not registered
                19:50:19,064 INFO [EJBContainer] STOPPED EJB: org.mywms.plugin.report.WarehouseStatusReportBean ejbName: WarehouseStatusReportBean
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=WarehouseStatusReportBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=AreaServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=BasicServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=ClientServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=ConfigServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=DocumentServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=GoodsOutRequestServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=ItemDataServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=LogItemServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=LotServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=PickingRequestPositionServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=PickingRequestServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=PluginConfigurationServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=RequestServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=RoleServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=StockUnitServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=StorageLocationServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=TransportRequestServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=UnitLoadServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=UnitLoadTypeServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=UserServiceBean,service=EJB3 is not registered
                19:50:19,064 WARN [JmxKernelAbstraction] jboss.j2ee:ear=cactustest.ear,jar=myWMS-framework.ejb3,name=ZoneServiceBean,service=EJB3 is not registered
                19:50:19,111 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/D:/usr/jboss-4.2.1.GA/server/default/deploy/cactustest.ear
                19:50:19,127 INFO [EARDeployer] Undeployed J2EE application: file:/D:/usr/jboss-4.2.1.GA/server/default/deploy/cactustest.ear

                • 5. Re: problem with Queue
                  Peter Johnson Master

                  First, do not modify jbossmq-destinations-service.xml, instead create a new *-service.xml file, place the queue in there, and copy that file to the deploy directory.

                  Second, the console output you added to your message (all text from "and the 19:50..." on) concerns an ear file being undeployed. I do not understand what that has to do with the modifying the jbossmq-destinations-service.xml file.