Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17287

Cannot persist ejb timers into database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 27.0.1.Final, 28.0.0.Beta1
    • 27.0.0.Final
    • EJB
    • None
    • Hide

      Use a simple configuration like this :

       

                  <timer-service default-persistent-timer-management="persistent" default-transient-timer-management="transient" default-data-store="database-store">
                      <data-stores>
                          <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/>
                          <database-data-store name="database-store" datasource-jndi-name="java:jboss/datasources/ExampleDS" partition="timer"/>
                      </data-stores>
                  </timer-service> 

       

      Show
      Use a simple configuration like this :               <timer-service default -persistent-timer-management= "persistent" default - transient -timer-management= " transient " default -data-store= "database-store" >                 <data-stores>                     <file-data-store name= " default -file-store" path= "timer-service-data" relative-to= "jboss.server.data.dir" />                     <database-data-store name= "database-store" datasource-jndi-name= "java:jboss/datasources/ExampleDS" partition= "timer" />                 </data-stores>             </timer-service>  
    • ---
    • ---

    Description

      Setting database data store for ejb timers / timer-service causes this error :

      13:02:45,844 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "ejb3"),
          ("service" => "timer-service"),
          ("database-data-store" => "database-store")
      ]) - failure description:

      {     "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.ejb3.timer-service"],     "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.ejb3.timer-service.timer-persistence-service.database-store is missing [org.wildfly.ejb3.timer-service]"] }

      13:02:45,860 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service org.wildfly.ejb3.timer-service (missing) dependents: [service org.wildfly.ejb3.timer-service.timer-persistence-service.database-store] 

      13:02:45,891 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("internal-model-validation") failed - address: ([]) - failure description: "WFLYCTL0105: default-persistent-timer-management is invalid in combination with default-data-store"
      13:02:45,891 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. - Server configuration file in use: standalone-full-ha.xml

      This used to work on previous versions of Wildfly (26.X for example).

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              alessandro.moscatelli@live.com Alessandro Moscatelli (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: