3 Replies Latest reply on Feb 18, 2003 9:35 PM by Juno

    Data Source configuration

    Sergey Newbie

      Hi, I'm trying to run simple petstore app, written against jboss and mysql. When I'm trying to deploy .sar file for it I'm getting this error:


      14:56:19,190 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
      ration 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.jca:service=LocalTxCM,name=PETSTOREDB
      state: CONFIGURED
      I Depend On: jboss.jca:service=LocalTxDS,name=PETSTOREDB
      jboss.jca:service=LocalTxPool,name=PETSTOREDB
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer

      The application can not find datasource because of this.
      Could you help me.
      .sar is attached.

        • 1. Re: Data Source configuration
          David Jencks Master

          probably you need to change

          jboss.security:name=JaasSecurityManager

          to

          jboss.security:service=JaasSecurityManager

          • 2. Re: Data Source configuration
            Manuel Camilo Cuesta Camacho Newbie

            jboss.security:name?
            I don't know where to edit that.
            I have the same problem, except that I'm using ms sql server, and, after showing that error message, it says that the datasource is bound and it connects to the database afterall.

            The screen show this

            11:11:49,652 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.jca:service=LocalTxCM,name=MSSQLDS
            state: CREATED
            I Depend On: jboss.jca:service=LocalTxDS,name=MSSQLDS
            jboss.jca:service=LocalTxPool,name=MSSQLDS
            jboss.jca:service=CachedConnectionManager
            jboss.security:service=JaasSecurityManager
            jboss.jca:service=RARDeployer

            Depends On Me: , ObjectName: jboss.jca:service=LocalTxPool,name=MSSQLDS
            state: CREATED
            I Depend On:
            Depends On Me: jboss.jca:service=LocalTxCM,name=MSSQLDS
            ]
            11:11:51,027 INFO [URLDeploymentScanner] Started
            11:11:51,074 INFO [JBossManagedConnectionPool] Starting
            11:11:51,136 INFO [JBossManagedConnectionPool] Started
            11:11:51,214 INFO [LocalTxConnectionManager] Starting
            11:11:51,324 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@4a938
            7
            11:11:51,386 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@1b86c7
            11:11:51,449 INFO [JaasSecurityManagerService] Added MSSQLDbRealm, org.jboss.security.plugins.SecurityDomainContext@2da
            5a6 to map
            11:11:51,589 INFO [MSSQLDS] Bound connection factory for resource adapter 'JBoss LocalTransaction JDBC Wrapper' to JNDI
            name 'java:/MSSQLDS'
            11:11:51,699 INFO [LocalTxConnectionManager] Started
            11:11:51,777 INFO [MainDeployer] Deployed package: file:/C:/Share/jboss-3.0.4/server/default/conf/jboss-service.xml
            11:11:51,839 INFO [Server] JBoss (MX MicroKernel) [3.0.4 Date:200211021607] Started in 0m:58s:171ms

            You see that in the end it says that "Bound connection factory" and it works fine. Problably is really working fine in your case too

            • 3. Re: Data Source configuration
              Juno Newbie

              I have similar problems but with the following error :

              06:37:17,861 INFO [MainDeployer] deployment waiting for deployer: file:/usr/local/jBoss/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/login-config.xml
              06:37:17,861 INFO [MainDeployer] Deployment of package: file:/usr/local/jBoss/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/login-config.xml is waiting for an appropriate deployer.
              06:37:17,865 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
              Cause: Incomplete Deployment listing:
              Packages waiting for a deployer:
              [org.jboss.deployment.DeploymentInfo@7b3b413e { url=file:/usr/local/jBoss/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/login-config.xml }
              deployer: null
              status: null
              state: INIT_WAITING_DEPLOYER
              watch: file:/usr/local/jBoss/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/login-config.xml
              lastDeployed: 1045607837861
              lastModified: 1045607837000
              mbeans:
              ]Incompletely deployed packages:
              [org.jboss.deployment.DeploymentInfo@7b3b413e { url=file:/usr/local/jBoss/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/login-config.xml }
              deployer: null
              status: null
              state: INIT_WAITING_DEPLOYER
              watch: file:/usr/local/jBoss/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/login-config.xml
              lastDeployed: 1045607837861
              lastModified: 1045607837000
              mbeans:
              ]MBeans waiting for classes:

              MBeans waiting for other MBeans:


              06:37:17,872 INFO [URLDeploymentScanner] Started


              What do i miss ?

              Thanks