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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.