We're updating the issue view to help you get more done. 

JBoss7xInstalledLocalContainer should allow override of "-mp" param via system property

Description

All JBoss7*InstalledLocalContainer set the JvmLauncher's -mp (module path) parameter as follows:

1 2 3 String mp = getHome() + "/modules"; java.addAppArguments("-mp", mp, //...

impairing modules' path override mechanism available in JBoss via standalone.bat/sh files.

A simple solution would be:

1 2 3 4 String mp = getConfiguration().getPropertyValue(JBossPropertySet.MODULE_PATH); //JBossPropertySet.MODULE_PATH = "cargo.jboss.module-path" if(mp==null){ mp = getHome() + "/modules"; } java.addAppArguments("-mp", mp, //...

Status

Assignee

Savas Ali Tokmen

Reporter

Paolo Compieta

Components

Fix versions

Affects versions

1.4.4

Priority

Minor