5 Replies Latest reply on Jul 4, 2003 5:50 AM by mkhl97

    MBeanException Cause: Incomplete Deployment listing???

    cliffwei Newbie

      I am trying to run petstore on jboss3.2.1 and MySQL
      here is the error that I got: Do I need to modify the jboss-service.xml?

      13:12:26,959 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
      state: CONFIGURED
      I Depend On: jboss.mq:service=Invoker

        • 1. Re: MBeanException Cause: Incomplete Deployment listing???
          Adrian Brock Master

          You haven't posted the full stack trace.

          Did you modify DefaultDS to be MySQL,
          older versions don't support subselects which
          means it won't work with the JMS JDBC2 persistent
          manager.

          Regards,
          Adrian

          • 2. Re: MBeanException Cause: Incomplete Deployment listing???
            cliffwei Newbie

            this is from my jbossmq_service.xml. I am using MySQL4.1 alpha version. It is said it supports subselect.


            <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache
            <depends optional-attribute-name="ConnectionManager">jboss.jca:service=LocalTxCM,name=java:/jdbc/petstore/PetStoreDB;java:/jdbc/opc/OPCDB;java:/jdbc/supplier/SupplierDB

            BLOB_TYPE=OBJECT_BLOB
            INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
            INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
            SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
            SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
            SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
            SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
            MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
            UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
            UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
            UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
            DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM JMS_TRANSACTIONS) AND TXOP=?
            DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
            DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
            DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
            CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \
            DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \
            MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
            CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER )





            • 3. Re: MBeanException Cause: Incomplete Deployment listing???
              cliffwei Newbie

              I have modified the jbossmq-service.xml again: is it correct?


              <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache
              <depends optional-attribute-name="ConnectionManager">jboss.jca:service=LocalTxCM,name=MySQL

              BLOB_TYPE=OBJECT_BLOB
              INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
              INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
              SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
              SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
              SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
              SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?

              • 4. Re: MBeanException Cause: Incomplete Deployment listing???
                cliffwei Newbie

                Here is the complete stacktrace

                14:42:01,304 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
                Cause: Incomplete Deployment listing:
                Packages waiting for a deployer:

                Incompletely deployed packages:

                MBeans waiting for classes:

                MBeans waiting for other MBeans:
                [ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker
                jboss.web:service=WebServer

                Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=testTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=testQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=A
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=B
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=C
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=D
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=ex
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=JVM
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=RMI
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=OIL
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=UIL
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=OIL2
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
                state: CONFIGURED
                I Depend On: jboss.mq:service=Invoker

                Depends On Me: , ObjectName: jboss.mq:service=Invoker
                state: CONFIGURED
                I Depend On: jboss.mq:service=TracingInterceptor

                Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
                jboss.mq:service=InvocationLayer,type=JVM
                jboss.mq:service=InvocationLayer,type=RMI
                jboss.mq:service=InvocationLayer,type=OIL
                jboss.mq:service=InvocationLayer,type=UIL
                jboss.mq:service=InvocationLayer,type=OIL2
                jboss.mq:service=InvocationLayer,type=UIL2
                , ObjectName: jboss.mq:service=TracingInterceptor
                state: CONFIGURED
                I Depend On: jboss.mq:service=SecurityManager

                Depends On Me: jboss.mq:service=Invoker
                , ObjectName: jboss.mq:service=SecurityManager
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: jboss.mq.destination:service=Topic,name=testTopic
                jboss.mq.destination:service=Topic,name=securedTopic
                jboss.mq.destination:service=Topic,name=testDurableTopic
                jboss.mq.destination:service=Queue,name=testQueue
                jboss.mq:service=TracingInterceptor
                jboss.mq.destination:service=Queue,name=DLQ
                , ObjectName: jboss.mq:service=DestinationManager
                state: CONFIGURED
                I Depend On: jboss.mq:service=PersistenceManager
                jboss.mq:service=StateManager

                Depends On Me: jboss.mq.destination:service=Topic,name=testTopic
                jboss.mq.destination:service=Topic,name=securedTopic
                jboss.mq.destination:service=Topic,name=testDurableTopic
                jboss.mq.destination:service=Queue,name=testQueue
                jboss.mq.destination:service=Queue,name=A
                jboss.mq.destination:service=Queue,name=B
                jboss.mq.destination:service=Queue,name=C
                jboss.mq.destination:service=Queue,name=D
                jboss.mq.destination:service=Queue,name=ex
                jboss.mq:service=SecurityManager
                jboss.mq.destination:service=Queue,name=DLQ
                jboss.mq.destination:service=Topic,name=opc/InvoiceTopic
                jboss.mq.destination:service=Queue,name=opc/MailCompletedOrderQueue
                jboss.mq.destination:service=Queue,name=opc/MailOrderApprovalQueue
                jboss.mq.destination:service=Queue,name=opc/MailQueue
                jboss.mq.destination:service=Queue,name=opc/OrderApprovalQueue
                jboss.mq.destination:service=Queue,name=opc/OrderQueue
                jboss.mq.destination:service=Queue,name=supplier/PurchaseOrderQueue
                , ObjectName: jboss.mq:service=PersistenceManager
                state: CONFIGURED
                I Depend On: jboss.mq:service=MessageCache
                jboss.jca:service=LocalTxCM,name=mySQL

                Depends On Me: jboss.mq:service=DestinationManager
                , ObjectName: jboss.mq.destination:service=Queue,name=DLQ
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager
                jboss.mq:service=SecurityManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=opc/InvoiceTopic
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=opc/MailCompletedOrderQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=opc/MailOrderApprovalQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=opc/MailQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=opc/OrderApprovalQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=opc/OrderQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=supplier/PurchaseOrderQueue
                state: CONFIGURED
                I Depend On: jboss.mq:service=DestinationManager

                Depends On Me: ]
                14:42:01,307 INFO [URLDeploymentScanner] Started
                14:42:01,365 INFO [MainDeployer] Deployed package: file:/usr/local/jboss-3.2.1_tomcat-4.1.24/server/all/conf/jboss-service.xml
                14:42:01,367 INFO [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)] Started in 31s:327ms

                • 5. Re: MBeanException Cause: Incomplete Deployment listing???
                  mkhl97 Newbie

                  I got exactly the same error message as yours & I've just got it sorted. I bet you've already got the datasource set up as mySqlDS.
                  Now open up {JBOSS_DIST}\server\default\deploy\jms\jbossmq-service.xml and search for 'DefaultDS'. Replace that with mySqlDS or whatever the JNDI name is (without the java:/ part) and the error msg should be gone.