6 Replies Latest reply on Nov 30, 2003 10:39 PM by jonlee

    ERROR [URLDeploymentScanner] MBeanException: Exception in MB

      hello!

      I am attemtping migration to the latest 3.2.2,
      now on deploying an mbean I get an incomplete
      deployment error. I cannot access the datasource using the jndiname either, can someone point me
      to the problem? all the ejbs have deployed
      fine.

      Thanks for any help.
      /Ray

      ---

      2003-11-30 18:39:41,106 INFO [org.jboss.deployment.JARDeployer] nested deployment: file:/C:/softkastle11/server/all/deploy/deploy.last/farm-service.xml
      2003-11-30 18:39:41,317 INFO [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Running
      2003-11-30 18:39:41,317 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/softkastle11/server/all/farm/cluster-examples-service.xml
      2003-11-30 18:39:41,427 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/softkastle11/server/all/farm/cluster-examples-service.xml
      2003-11-30 18:39:41,437 INFO [org.jboss.ha.framework.server.FarmMemberService] Started jboss:service=FarmMember,partition=DefaultPartition
      2003-11-30 18:39:41,487 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/softkastle11/server/all/deploy/deploy.last/
      2003-11-30 18:39:41,487 ERROR [org.jboss.deployment.scanner.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: Herz:service=HerzServices
      state: CONFIGURED
      I Depend On: jboss.jca:service=LocalTxCM,name=SecureDS

      Depends On Me: , ObjectName: jboss.jca:service=LocalTxCM,name=SecureDS
      state: CONFIGURED
      I Depend On: jboss:service=TransactionManager
      jboss.jca:service=RARDeployer
      jboss.jca:service=LocalTxPool,name=SecureDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:service=JaasSecurityManager

      Depends On Me: Herz:service=HerzServices
      , ObjectName: jboss.jca:service=LocalTxPool,name=SecureDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=LocalTxPF,name=SecureDS

      Depends On Me: jboss.jca:service=LocalTxCM,name=SecureDS
      , ObjectName: jboss.jca:service=LocalTxPF,name=SecureDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=RARDeployment,name=ECIResourceAdapter

      Depends On Me: jboss.jca:service=LocalTxPool,name=SecureDS
      ]
      2003-11-30 18:39:41,537 INFO [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
      2003-11-30 18:39:41,977 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/softkastle11/server/all/conf/jboss-service.xml
      2003-11-30 18:39:41,977 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.2 (build: CVSTag=JBoss_3_2_2 date=200310182216)] Started in 1m:46s:32ms

        • 1. Re: ERROR [URLDeploymentScanner] MBeanException: Exception i
          jonlee

          Did you use the new datasource templates? It changed between 3.0.x and 3.2.x. Have a look in JBOSS_HOME/docs/examples/jca. The datasource file name should be *-ds.xml so JBoss detects this as a datasource definition.

          I think that is your issue.

          • 2. Re: ERROR [URLDeploymentScanner] MBeanException: Exception i

            Jon, thanks much for the response. I do have the *-ds file deployed, below is my MBean configuration, the jndi name has no effect, I can find it in the jmx-console. I search for the jndi ref. "SecureDS" in the server.log, I can't find it, am assuming there is no JNDI ref. in the env. for the mbean am trying to deploy, am migrating my app to 3.2.2.

            I can lookup all my ejbs fine, it's this one mbean config that seems to be failing.

            herz-ds.xml

            ---

            <?xml version="1.0" encoding="UTF-8"?>
            <!-- ............................................................... -->
            <!-- JBoss configuration file for JBoss 3.0 server ............. -->
            <!-- ............................................................... -->

            <!DOCTYPE server>









            <!-- ==================================================================== -->
            <!-- Kern Management -->
            <!-- ==================================================================== -->

            ..\sk\conf\Services.xml



            SecureDS
            <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager
            jboss.jca:service=RARDeployer

            <depends optional-attribute-name="ManagedConnectionPool">

            <depends optional-attribute-name="ManagedConnectionFactoryName">


            <depends optional-attribute-name="OldRarDeployment">
            jboss.jca:service=RARDeployment,name=ECIResourceAdapter




            <config-property name="ConnectionURL" type="java.lang.String">jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=propertyapp</config-property>
            <config-property name="DriverClass" type="java.lang.String">com.microsoft.jdbc.sqlserver.SQLServerDriver</config-property>
            <config-property name="UserName" type="java.lang.String">admin</config-property>
            <config-property name="Password" type="java.lang.String">admin</config-property>





            0
            50
            5000
            1
            ByContainer


            <depends optional-attribute-name="CachedConnectionManager">
            jboss.jca:service=CachedConnectionManager

            <depends optional-attribute-name="JaasSecurityManagerService">
            jboss.security:service=JaasSecurityManager




            • 3. Re: ERROR [URLDeploymentScanner] MBeanException: Exception i

              am sorry I meant to say I can't find the jndi name "SecureDS" in the jmx-console

              • 4. Re: ERROR [URLDeploymentScanner] MBeanException: Exception i

                stack trace

                • 5. Re: ERROR [URLDeploymentScanner] MBeanException: Exception i

                  Thanks Jon for pointing me to the examples, I think am having this problem under control now, I'll try modifying my datasource xml file.

                  • 6. Re: ERROR [URLDeploymentScanner] MBeanException: Exception i
                    jonlee

                    Sorry for the lack of reply. I was off doing something else.

                    Glad you've got everything sorted.