What is the CLI command to add an EJB timer service in JBoss EAP 6.4?

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content