2 Replies Latest reply on Feb 2, 2011 10:25 AM by ellabi

    EJBTimerService error on JBoss 5.1 start up

    mike tihonchik Newbie

      I am getting the following error while starting JBoss 5.1 - there is no applications deployed to it currently.

       

       

      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "JBossTimerServiceFactory" is missing the following dependencies:
          Dependency "jboss.ejb:service=EJBTimerService" (should be in state "Create", but is actually in state "** NOT FOUND
      Depends on 'jboss.ejb:service=EJBTimerService' **")
      DEPLOYMENTS IN ERROR:
        Deployment "jboss.ejb:service=EJBTimerService" is in error due to the following reason(s): ** NOT FOUND Depends on 'jb
      oss.ejb:service=EJBTimerService' **
      

       

      I am pretty sure it has something to do with me trying to "slim/trim" JBoss profile. I read several articles pertaining to this problem, and I tried couple of things, but nothing worked.

      I read somewhere that this problem might be solved by putting back "ejb2-timer-service.xml" file back into deploy directory of JBoss (I removed it earlier in my clean up process), however, when I put it back I get the following set of errors:

       

      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "JBossTimerServiceFactory" is missing the following dependencies:
          Dependency "jboss.ejb:service=EJBTimerService" (should be in state "Create", but is actually in state "Configured")
        Deployment "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is missing the following dependencies:
          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' **")
          Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in sta
      te "** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **")
        Deployment "jboss.ejb:service=EJBTimerService" is missing the following dependencies:
          Dependency "jboss.ejb:persistencePolicy=database,service=EJBTimerService" (should be in state "Create", but is actua
      lly in state "Configured")
      DEPLOYMENTS IN ERROR:
        Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOU
      ND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
        Deployment "jboss.jdbc:datasource=DefaultDS,service=metadata" is in error due to the following reason(s): ** NOT FOUND
      Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
      
      

       

      any help would be appreciated.

        • 1. EJBTimerService error on JBoss 5.1 start up
          mike tihonchik Newbie

          Was solved by returning the following xml files into deploy directory:

           

          • ejb2-container-jboss-beans.xml
          • ejb-timer-service.xml
          • hsqldb-ds.xml
          • 2. EJBTimerService error on JBoss 5.1 start up
            ellabi Newbie

            Hi

            I just starting to use JBoss5 with HSQLDB2.0.1 rc 3

            I'm getting the same behavior without any clean up, all three xmls are in the deploy directory.

            This is what I get in the log:

            16:49:17,405 ERROR [AbstractKernelController] Error installing to Start: name=jboss.ejb:persistencePolicy=database,service=EJBTimerService state=Create mode=Manual requiredState=Installed

            java.sql.SQLException: length must be specified in type definition: VARBINARY

            at org.hsqldb.jdbc.Util.sqlException(Util.java:215)

            at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1826)

            at org.hsqldb.jdbc.JDBCStatement.executeUpdate(JDBCStatement.java:207)

            at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:249)

            at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.createTableIfNotExists(GeneralPurposeDatabasePersistencePlugin.java:175)

            at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:104)

            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)

            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)

            at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)

             

            and then:

            DEPLOYMENTS MISSING DEPENDENCIES:
              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 "**ERROR**")
              Deployment "jboss.j2ee:ear=BookshelfEAR.ear,jar=BookshelfService.jar,name=BookshelfService,service=EJB3" is missing the following dependencies:
                Dependency "<UNKNOWN jboss.j2ee:ear=BookshelfEAR.ear,jar=BookshelfService.jar,name=BookshelfService,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **")

            DEPLOYMENTS IN ERROR:
              Deployment "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is in error due to the following reason(s): org.hsqldb.HsqlException: length must be specified in type definition: VARBINARY, **ERROR**
              Deployment "<UNKNOWN jboss.j2ee:ear=BookshelfEAR.ear,jar=BookshelfService.jar,name=BookshelfService,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **