Don't know about DB2, but Oracle requires certain env variables set and those are

done in the

scripts used to launch the program. If you launch from an inetd script, that's

where it goes. If

you launch from an rc.d script, then that's where it goes.

Find the script that starts the show and set it there. Make sure you set it

'globally', i.e. export with

ksh.

Ed.

KRISHNAMACHARY Sudharshan wrote:

> hi,

>

>   we are stuck with a problem

>   the requirement is JDBC servlets in websphere needs an

>   env variable called DB2INSTANCE = dbinst

>   to be set. where ever we set it, websphere is not able to see that.

>

>   we tried in httpd, inetd and we cannot set in a shell.

>   the websphere is spawn as a seperate process and seems to

>   have no parent child relation and hence doesnt get

>   that from whereever we set it.

>

>   websphere doesnt provide a way by itself to set env vars

>   before it starts.

>

>   we dont know from where this dbinst comes, but its a service in linux

>   as told by the db2client docs.

>

>   moreover i need to set the env var after dbinst becomes valid.

>

>   may be we dont know, we havent got any reply from IBM either.

>

>   please help us.

>

>   sudharshan

> --

> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.


--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.