Intro to Red Hat JBoss Enterprise Application Platform Cheat Sheet

Intro to EAP Cheat Sheet Cover

Enable batch mode by running the batch command, then enter all of the commands in the batch. You can run the batch using the run-batch command or save it for later use using the holdback-batch command. For example:


batch

data-source add --name=DATASOURCE_NAME --jndi-name=JNDI_NAME --driver-name=DRIVER_ NAME --connection-url=CONNECTION_URL --profile=PROFILE_NAME

/subsystem=datasources/data-source=DATASOURCE_NAME:write-attribute(name=jta,value=true)

reload

run-batch

This is a quick reference for JBoss EAP open source technologies, including web server, messaging, clustering and high availability, and caching.