Retrieve system properties, eg. weblogic.system.home - Weblogic
This is a discussion on Retrieve system properties, eg. weblogic.system.home - Weblogic ; Hi!
I am trying to retrieve the value of the system property weblogic.system.ho=
me. Note
that it is not defined in the weblogic.properties file in WL5.1 with SP8, b=
ut specified
in a start WL batch script.
The code snippet=20
...
-
Retrieve system properties, eg. weblogic.system.home
Hi!
I am trying to retrieve the value of the system property weblogic.system.ho=
me. Note
that it is not defined in the weblogic.properties file in WL5.1 with SP8, b=
ut specified
in a start WL batch script.
The code snippet=20
... System.getProperty("weblogic.system.home") ...
returns null.
Any ideas on what I'm doing wrong?
Regards,
Jan
-
Re: Retrieve system properties, eg. weblogic.system.home
The property is called "weblogic.home" not "weblogic.system.home".
Giri
"Jan Nygaard Nielsen" <jan_nygaard@yahoo.com> wrote in message
news:3b028e0b$1@newsgroups2.bea.com...
>
> Hi!
>
> I am trying to retrieve the value of the system property
weblogic.system.home. Note
> that it is not defined in the weblogic.properties file in WL5.1 with SP8,
but specified
> in a start WL batch script.
>
> The code snippet
>
> .. System.getProperty("weblogic.system.home") ...
>
> returns null.
>
> Any ideas on what I'm doing wrong?
>
> Regards,
> Jan
-
Re: Retrieve system properties, eg. weblogic.system.home
T3ServicesDef t3 =3D T3Services.getT3Services();
home =3D t3.config().getProperty("weblogic.system.home");
Mike
It is weblogic.system.home - do not confuse.
Fri May 11 11:40:26 PDT 2001:<I> <Config> Property name: 'weblogic.system.h=
ome',
current value: '/home/weblogic/weblogic51_lab'=20
"Giri Alwar" <galwar@nvisia.com> wrote:
>The property is called "weblogic.home" not "weblogic.system.home".
>Giri
>
>"Jan Nygaard Nielsen" <jan_nygaard@yahoo.com> wrote in message
>news:3b028e0b$1@newsgroups2.bea.com...
>>
>> Hi!
>>
>> I am trying to retrieve the value of the system property
>weblogic.system.home. Note
>> that it is not defined in the weblogic.properties file in WL5.1 with SP8=
,
>but specified
>> in a start WL batch script.
>>
>> The code snippet
>>
>> .. System.getProperty("weblogic.system.home") ...
>>
>> returns null.
>>
>> Any ideas on what I'm doing wrong?
>>
>> Regards,
>> Jan
>
>