El Guapo
El Guapo

Reputation: 5781

JBOSS 5 run.conf Variables

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

Upvotes: 0

Views: 394

Answers (1)

Arun
Arun

Reputation: 3680

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

Upvotes: 1

Related Questions