08-17-07 06:23 PM
gkanders@us.ibm.com wrote:
> I have installed a vendor app in WAS 6.1.0.1 ND.
>
> This app needs (in every Member/app server) some environment variables set
.
>
> If I have these set in a shell and I start up the member from that shell,
the app works. But if I start up the member(s) using the Integrated Solutio
n Console, the app is missing the env. vars.
>
> I've tried setting name-value pairs in the member's process definition->JV
M->Custom Properties section. But they are not being taken.
>
> Where is the correct place in WAS to set name-value pairs that will look l
ike simple shell environment variables to the applications in the app server
regardless of how they were started?
>
> TIA, Greg
Does the application contain/use native code other than JVM itself (some .so
's/.dll's which are
either shipped with the app, or are required to be provided outside the .ear
)? If so, then this may
be the explanation - the native code directly asks OS (like C's "char *geten
v(const char *NAME);")
for the env.var that it needs. In that case the WAS's environment variables
won't work.
[ Post a follow-up to this message ]
|