4 Replies Latest reply on Feb 10, 2005 5:26 PM by Ben Truong

    NOTYETINSTALLED error when deploy an MBean to the deploy-ha-

    Ben Truong Newbie


      I got an MBean that I need to deploy it into the deploy-ha-singleton directory. This MBean depends on the XAConnectionFactory and HAJNDI. When I deployed it, it complains JNDI API lookup failed: javax.naming.NameNotFoundException: XAConnectionFactory not bound. I then changed the jboss-service.xml bundled in the sar deployment file to have Topic service as its dependency. When I tried to re-deploy, the MBean state=NOTYETINSTALLED.

      How do I deploy an MBean to deploy-ha-singleton directory and make sure it is the last one to be deployed (after HAJNDI, XAConnectionFactory, ... )?

      Below is a snippet of server.log file.

      Many thanks in advance.


      11:07:12,431 DEBUG [WebModule] Started jboss.web.deployment:war=jmx-console.war,id=1132078848
      11:07:12,431 DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=jmx-console.war,id=1132078848 dependent components: []
      11:07:12,431 DEBUG [MainDeployer] End deployment start on package: jmx-console.war
      11:07:12,431 DEBUG [MainDeployer] Deployed package: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/jmx-console.war
      11:07:12,431 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/jmx-console.war -> file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/dep
      loy/jmx-console.war
      11:07:12,431 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      MBeans waiting for other MBeans:
      ObjectName: com.brooks:service=APFTopicSubscriber
      state: CONFIGURED
      I Depend On: jms.topic:service=Topic

      Depends On Me:

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jms.topic:service=Topic
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: com.brooks:service=APFTopicSubscriber


      11:07:12,431 DEBUG [AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
      11:07:12,441 DEBUG [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
      11:07:12,441 DEBUG [ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
      11:07:12,441 DEBUG [MainDeployer] End deployment start on package: jboss-service.xml
      11:07:12,441 DEBUG [MainDeployer] Deployed package: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/conf/jboss-service.xml
      11:07:12,441 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)] Started in 14s:558ms
      11:07:12,441 INFO [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
      11:07:12,471 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      11:07:12,531 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
      11:07:12,541 INFO [JkMain] Jk running ID=0 time=0/20 config=null

        • 1. Re: NOTYETINSTALLED error when deploy an MBean to the deploy
          Dimitris Andreadis Master

          The ./deploy-hasingleton dir is deployed by the deploy-hasingleton-service.xml service, so just moving the latter into ./deploy/deploy.last may do the trick.

          Not sure if there will be any other dependency problem since deploy-hasingleton contains ha-jms...

          • 2. Re: NOTYETINSTALLED error when deploy an MBean to the deploy
            Ben Truong Newbie

            Dimitris,

            I've seen someone suggested some similar ideas as you. I have created a ./deploy.last within the deploy and put my sar in it. I also created ./deploy.last within the deploy-hasingleton directory and put my .sar in it. In both cases, my bean has the same effect: NOTYETINSTALLED.

            13:28:29,549 DEBUG [ServiceConfigurator] APFMsgsPerTag set to 10 in com.brooks:service=APFTopicSubscriber
            13:28:29,549 DEBUG [ServiceConfigurator] APFReceiveTimeout set to 2000 in com.brooks:service=APFTopicSubscriber
            13:28:29,549 DEBUG [ServiceConfigurator] APFFilterCriterea set to MessageType = 'APF_UPDATE' in com.brooks:service=APFTopicSubscriber
            13:28:29,549 DEBUG [ServiceBindingManager] applyServiceConfig, server:abs;serviceName:com.brooks:service=APFTopicSubscriber
            13:28:29,549 DEBUG [ServiceController] Creating service com.brooks:service=APFTopicSubscriber
            13:28:29,549 DEBUG [ServiceController] waiting in create of com.brooks:service=APFTopicSubscriber waiting on jboss.destination:service=Topic,name=Application
            13:28:29,549 DEBUG [MainDeployer] Done with create step of deploying APFTopicSubscriber.sar
            13:28:29,549 DEBUG [MainDeployer] Done with create step of deploying deploy.last
            13:28:29,549 DEBUG [MainDeployer] Begin deployment start file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/deploy.last/
            13:28:29,549 DEBUG [MainDeployer] Begin deployment start file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/deploy.last/APFTopicSubscriber.sar
            13:28:29,549 DEBUG [SARDeployer] Deploying SAR, start step: url file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/deploy.last/APFTopicSubscriber.sar
            13:28:29,549 DEBUG [ServiceController] starting service com.brooks:service=APFTopicSubscriber
            13:28:29,549 DEBUG [ServiceController] waiting in start com.brooks:service=APFTopicSubscriber on jboss.destination:service=Topic,name=Application
            13:28:29,549 DEBUG [MainDeployer] End deployment start on package: APFTopicSubscriber.sar
            13:28:29,559 DEBUG [MainDeployer] End deployment start on package: deploy.last
            13:28:29,559 DEBUG [MainDeployer] Deployed package: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/deploy.last/
            13:28:29,559 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy/deploy.last/ -> file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/deploy
            /deploy.last/
            13:28:29,559 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
            MBeans waiting for other MBeans:
            ObjectName: com.brooks:service=APFTopicSubscriber
            state: CONFIGURED
            I Depend On: jboss.mq:service=InvocationLayer,type=JVM
            jboss.destination:service=Topic,name=Application

            Depends On Me:

            MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
            ObjectName: jboss.destination:service=Topic,name=Application
            state: NOTYETINSTALLED
            I Depend On:
            Depends On Me: com.brooks:service=APFTopicSubscriber


            13:28:29,559 DEBUG [AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
            13:28:29,559 DEBUG [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
            13:28:29,559 DEBUG [ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
            13:28:29,559 DEBUG [MainDeployer] End deployment start on package: jboss-service.xml
            13:28:29,559 DEBUG [MainDeployer] Deployed package: file:/C:/work/abs/bin/jboss-3.2.5/server/jbossmqha-nodeA/conf/jboss-service.xml
            13:28:29,559 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)] Started in 10s:983ms
            13:28:29,559 INFO [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
            13:28:29,589 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
            13:28:29,729 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
            13:28:29,729 INFO [JkMain] Jk running ID=0 time=0/40 config=null




            • 3. Re: NOTYETINSTALLED error when deploy an MBean to the deploy
              Dimitris Andreadis Master

              I guess I wasn't understood:

              a) move ./deploy/deploy-hasingleton-service.xml to the ./deploy/deploy.last/ directory

              b) put your .sar to the ./deploy-hasingleton/ directory

              c) restart

              • 4. Re: NOTYETINSTALLED error when deploy an MBean to the deploy
                Ben Truong Newbie

                Thanks for your help... I did just what you said and it's still having problem: Depends On Me: javax.naming.NameNotFoundException: XAConnectionFactory not bound.

                Here is my direct server directory listing:

                ./conf
                ./conf/jboss-service.xml
                ./conf/jboss.web
                ./conf/jboss.web/localhost
                ./conf/jbossmq-state.xml
                ./conf/jndi.properties
                ./conf/log4j.xml
                ./conf/login-config.xml
                ./conf/xmdesc
                ./conf/xmdesc/ClientUserTransaction-xmbean.xml
                ./conf/xmdesc/JNDIView-xmbean.xml
                ./conf/xmdesc/TransactionManagerService-xmbean.xml
                ./data
                ./data/hypersonic
                ./data/hypersonic/localDB.data
                ./data/hypersonic/localDB.properties
                ./data/hypersonic/localDB.script
                ./deploy
                ./deploy/cluster-service.xml
                ./deploy/deploy.last
                ./deploy/deploy.last/deploy-hasingleton-service.xml
                ./deploy/hsqldb-ds.xml
                ./deploy/jboss-jca.sar
                ./deploy/jboss-local-jdbc.rar
                ./deploy/jbossweb-tomcat50.sar
                ./deploy/jmx-console.war
                ./deploy/jmx-invoker-adaptor-server.sar
                ./deploy/transaction-service.xml
                ./deploy-hasingleton
                ./deploy-hasingleton/abs
                ./deploy-hasingleton/abs/abs-service.xml
                ./deploy-hasingleton/APFTopicSubscriber.sar
                ./deploy-hasingleton/jms
                ./deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml
                ./deploy-hasingleton/jms/hsqldb-jdbc2-service.xml
                ./deploy-hasingleton/jms/jbossmq-service.xml
                ./deploy-hasingleton/jms/jvm-il-service.xml
                ./deploy-hasingleton/jms/oil-service.xml
                ./deploy-hasingleton/jms/oil2-service.xml
                ./deploy-hasingleton/jms/uil2-service.xml
                ./log
                ./log/boot.log
                ./log/server.log
                ./tmp
                ./tmp/deploy
                ./tmp/deploy/tmp32868jboss-service.xml
                ./tmp/deploy/tmp32869jboss-jca.sar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/ant.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/catalina-manager.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/catalina-optional.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/catalina.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/commons-beanutils.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/commons-collections.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/commons-digester.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/commons-el.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/commons-logging.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/commons-modeler.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/jakarta-regexp-1.3.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/jasper-compiler.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/jasper-runtime.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/jsp-api.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/naming-common.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/naming-resources.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/servlet-api.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/servlets-common.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/servlets-default.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/servlets-invoker.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/servlets-webdav.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/tomcat-coyote.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/tomcat-http11.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/tomcat-jk2.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/tomcat-util.jar
                ./tmp/deploy/tmp32870jbossweb-tomcat50.sar-contents/tomcat50-service.jar
                ./tmp/deploy/tmp32871jmx-invoker-adaptor-server.sar
                ./tmp/deploy/tmp32872jboss-local-jdbc.rar
                ./tmp/deploy/tmp32872jboss-local-jdbc.rar-contents
                ./tmp/deploy/tmp32872jboss-local-jdbc.rar-contents/jboss-local-jdbc.jar
                ./tmp/deploy/tmp32873hsqldb-ds.xml
                ./tmp/deploy/tmp32874cluster-service.xml
                ./tmp/deploy/tmp32875transaction-service.xml
                ./tmp/deploy/tmp32876jmx-console.war
                ./tmp/deploy/tmp32876jmx-console.war/cluster
                ./tmp/deploy/tmp32876jmx-console.war/cluster/bootstrap.html
                ./tmp/deploy/tmp32876jmx-console.war/cluster/clusterView.jsp
                ./tmp/deploy/tmp32876jmx-console.war/cluster/index.html
                ./tmp/deploy/tmp32876jmx-console.war/displayMBeans.jsp
                ./tmp/deploy/tmp32876jmx-console.war/displayOpResult.jsp
                ./tmp/deploy/tmp32876jmx-console.war/images
                ./tmp/deploy/tmp32876jmx-console.war/images/logo.gif
                ./tmp/deploy/tmp32876jmx-console.war/index.jsp
                ./tmp/deploy/tmp32876jmx-console.war/inspectMBean.jsp
                ./tmp/deploy/tmp32876jmx-console.war/META-INF
                ./tmp/deploy/tmp32876jmx-console.war/META-INF/MANIFEST.MF
                ./tmp/deploy/tmp32876jmx-console.war/style_master.css
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/jmx-console-roles.properties
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/jmx-console-users.properties
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/jboss-web.xml
                ./tmp/deploy/tmp32876jmx-console.war/WEB-INF/web.xml
                ./tmp/deploy/tmp32877deploy-hasingleton-service.xml
                ./tmp/deploy/tmp32878APFTopicSubscriber.sar
                ./tmp/deploy/tmp32879abs-service.xml
                ./tmp/deploy/tmp32880hsqldb-jdbc-state-service.xml
                ./tmp/deploy/tmp32881hsqldb-jdbc2-service.xml
                ./tmp/deploy/tmp32882jbossmq-service.xml
                ./tmp/deploy/tmp32883jvm-il-service.xml
                ./tmp/deploy/tmp32884oil-service.xml
                ./tmp/deploy/tmp32885oil2-service.xml
                ./tmp/deploy/tmp32886uil2-service.xml
                ./work
                ./work/jboss.web
                ./work/jboss.web/localhost
                ./work/jboss.web/localhost/jmx-console
                ./work/jboss.web/localhost/jmx-console/org
                ./work/jboss.web/localhost/jmx-console/org/apache
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/displayMBeans_jsp.class
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/displayMBeans_jsp.java
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/displayOpResult_jsp.class
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/displayOpResult_jsp.java
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/index_jsp.class
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/index_jsp.java
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/inspectMBean_jsp$1.class
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/inspectMBean_jsp.class
                ./work/jboss.web/localhost/jmx-console/org/apache/jsp/inspectMBean_jsp.java
                ./work/jboss.web/localhost/jmx-console/tldCache.ser