Hi
I am new into wildfly and currently working on migration from wildfly 26.1.3.Final to widlfly 34.0.1.Final and also migrating our existing EJB timer with 34.0.1.Final as suggested in wildlfy 27. but somehow this latest EJB timer not working and unable to add as susbsystem in wildfly.
Existing Timer implementation in wildfly 26.1.3.Final as below:
/subsystem=ejb3/service=timer-service/database-data-store=abc-timer-data-store:add(datasource-jndi-name=java:/jdbc/abc_TIMER, database=postgresql, partition=vis, allow-execution=true)
/subsystem=ejb3/service=timer-service:write-attribute(name=default-data-store, value=abc-timer-data-store)
Note: java:/jdbc/abc_TIMER datasource is already defined.
Implemented New Ejb timer in wildfly 34.0.1.Final as per wildfly 27 suggestion as below .
/subsystem=infinispan/cache-container=ejb/distributed-cache=abc_timer:add()
/subsystem=infinispan/cache-container=ejb/distributed-cache=persistent/component=locking:add(isolation=REPEATABLE_READ)
/subsystem=infinispan/cache-container=ejb/distributed-cache=persistent/component=transaction:add(mode=BATCH)
# /subsystem=infinispan/cache-container=ejb/distributed-cache=persistent/store=file:add(purge=false)
/subsystem=infinispan/cache-container=ejb/distributed-cache=persistent/store=jdbc:add(datasource-jndi-name=java:/jdbc/abc_TIMER, passivation=false, preload=true, purge=false)
/subsystem=distributable-ejb/infinispan-timer-management=persistent:add(cache-container=ejb, cache=persistent)
/subsystem=ejb3/service=timer-service:undefine-attribute(name=default-data-store)
/subsystem=ejb3/service=timer-service:write-attribute(name=default-persistent-timer-management, value=persistent).
Could you please suggest , what is wrong here in the implementation.
Thanks In Advance.