Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Substituting Shell Variable in XML

Status
Not open for further replies.

moonoo

Programmer
May 17, 2000
62
US
Hi ,
I am depolying an application in weblogic . I am compiling the application in Unix Envirinment . In Bash shell i am using some user specific variable for example .
export MY_LOGFILE_LOC=/home/amosale/logs/deploy/amosale_tc.log.
In My Weblogic.xml i am using this variable as $MY_LOGFILE_LOC . But its not replacing the variable.
Is there any way i can use the Shell Variables in my xml file.
Any Help is appriciated.
Regards
 
In a word: no. Not in the way you are thinking. It Doesn't Work Like That.

I think you would have to use your application to retrieve the static log file location from the XML, or at runtime somehow determine the value of that variable.

I did find this:


If its any help.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top