This discussion is archived
0 Replies Latest reply: Nov 19, 2012 7:07 AM by 975007 RSS

Custom Java variables

975007 Newbie
Currently Being Moderated
Hi all,
I'm deploying a web app in weblogic usign some java cusotm varibles.

In my xml I put as a Filter context param

<context-param>
<param-name>application.properties</param-name>
<param-value>file:${LEV_ROOT}/Web/Common/myfile.properties</param-value>
</context-param>
Then I put

JAVA_OPTIONS=-DLEV_ROOT=mypath in the profile of the user whichstarts weblogic.

if I do "ps aux | grep weblogc I can see the variable"

but insie the application the LEV_ROOT is not resolved.
In other web application server it functions.

Any idea where is my error?

Thanks in advance

Gabriele

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points