[jboss-dev-forums] [JBoss AS Development Web Container] New message: "How to set environment variables in JBoss?"

Raul Pastor do-not-reply at jboss.com
Tue Feb 23 05:33:01 EST 2010


JBoss development,

A new message was posted in the thread "How to set environment variables in JBoss?":

http://community.jboss.org/message/527847#527847

Author  : Raul Pastor
Profile : http://community.jboss.org/people/rpastord

Message:
--------------------------------------------------------------
Hello to all
 
We are developing an application that is deployed in a JBoss.
 
This application calls a web service, so we would like to define a properties file like this:
 
URL_DEVELOPMENT = ...
URL_PRODUCTION = ...
 
and define an environment variable in the JBoss which contains the information about the execution context
 
for example --> ENVIRONMENT = DEVELOPMENT
 
Anyone knows:
 
1) How to set environment variables in JBoss
2) How to get these variables from an applicacion deployed in JBoss in runtime execution?
 
Thank you !!

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/527847#527847




More information about the jboss-dev-forums mailing list