Can JBoss EAP 5 automatically launch executable jar files on deployment?

Solution Verified - Updated -

Issue

Several jar files with executable classes (containing main methods) within them need to be executed when EAP starts. From the command line, these jars would be started like java -jar example.jar

Environment

JBoss Enterprise Application Platform (EAP) 5

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