Question

In my run.conf file I want to pass in the directory into which jboss is installed as an application variable... so for instance if JBOSS is installed at: /opt/jboss-5.1.0-GA/ I want to pass in:

-Dmyvar=${path above}

But, I want JBOSS to automatically fill in ${path above} with /opt/jboss-5.1.0-GA.

I can't count on the JBOSS_HOME environment variable to be set.

I tried to look this up on The Google, but I didn't exactly know how to word it.

Thanks

Was it helpful?

Solution

If you cant count on JBOSS_HOME, then you will have to explicitly set the variable in run.conf

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top