3 Replies Latest reply on Apr 24, 2011 10:37 AM by sujata avutu

    deployment problem

    commissarmatt Newbie

      I have a .war file that works on JBoss AS 5.1.0, but when I deploy it to JBoss 6 Final, and start JBoss, it fails with this error.  Any help on how to get past this?

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is missing the following dependencies:

          Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **")

          Dependency "jboss.jdbc:datasource=DefaultDS,service=metadata" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **")

        Deployment "jboss.ejb:service=EJBTimerService" is missing the following dependencies:

          Dependency "jboss.ejb:persistencePolicy=database,service=EJBTimerService" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is missing the following dependencies:

          Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **")

        • 1. deployment problem
          sujata avutu Newbie

          I am also having same problem in deploying 5.1.1 guvnor on jboss 6.0.Have you figured out the issue. Thanks!

          • 2. deployment problem
            Wolf-Dieter Fink Master

            Looks like that you remove the hsqlds.xml file where DefaultDS is configured.

            You have to configure the DefaultDS or remove or adapt the ejb-timer service and KeyGenerator

            • 3. deployment problem
              sujata avutu Newbie

              Thank you very much.I removed ejb timer and it deployed successfully. Now the server did not start.

               

              00:06:02,750 INFO [TomcatDeployment] deploy, ctxPath=/drools-5.1.1-guvnor

              00:06:12,390 ERROR [1-guvnor]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener:

              java.lang.RuntimeException

              at org.jboss.seam.init.Initialization.addComponent(

              Initialization.java:1155

               

              My components xml is like this.

               

                <component name="repositoryConfiguration">
               
                     <property name="homeDirectory">c:/RulesRepository_001</property>
                  

                   <!--
                     Optional: this is for creating a configurator for a seperate repository type.
                     <property name="configurator">org.drools.repository.JackrabbitRepositoryConfigurator</property>
                   -->
                  </component>

               

               

               

               

              --Thanks!