What is the CLI command to add an EJB timer service in JBoss EAP 6.4?
Issue
- In JBoss 6.1.1, it was possible to create a new profile based on the "default" profile via the following CLI script:
..........
/profile=default-new/subsystem=ejb3/service=async:add(thread-pool-name=default)
/profile=default-new/subsystem=ejb3/service=timer-service:add(thread-pool-name=default,path=timer-service-data,relative-to=jboss.server.data.dir)
.........
- Under 6.4.2 I am getting the following error when executing it:
[javaserv@uxjbind1 ~]$ /opt/WHO/software/jboss-eap-6.4/bin/jboss-cli.sh -c --file="/od/apns/util/create-apns-profile.cli"
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-27" => "JBAS014746: default-data-store may not be null"}}
I did find this article but I am not able to come up with a solution on my own from that article.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
