Hide Forgot
Date of First Response: 2010-04-21 08:35:18 project_key: JBEPP The Gatein portal configuration directory location is passed to EPP through system property exo.conf.dir.name. This breaks compatibility with current tooling (JBT 3.1, JBDS 3.0.0.GA) as both JBT and JBDS do not read run.conf script to start the runtime. It would be nice if the requirement to pass the property to Gatein is removed in EPP.
Link: Added: This issue is related to JBIDE-6202
The solution to this is very simple really. We can just put the required system properties into JBOSS_HOME/server/default/deploy/properties-service.xml This will set System properties before Kernel's RootContainer is initialized, so effectively there is no difference for us between this and the current configuration approach via -D command line option. A little downside is that properties-service will override any -D option for the same key - a little bit non-intuitive. I'll see if I can write a simple alternative for our purposes that would avoid overriding the already set properties, and put it all together in a non-obtrusive way.
Attached properties-services.xml This should do the trick.
Attachment: Added: properties-service.xml
Issue fixed by altering the packaging script as proposed.