Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: [Forms / Applicationserver] TOOL_ENV.GETVAR does not return any value
hi
I guess there s a problem in the registry entry check wether the site's
address is enterd as data value in the registry. i guess u get me if
not replace it with a sample page and try to call it.ur data shud be
some thing like this http://domain:portno/repository.. check it
bye
sarvan
Heino Tiedemann wrote:
> Hi There,
>
>
> I'd like to read any systemvariables from Windows 2003 Server from
> Oracle Forms.
>
> I have one machine with the Oracle-Forms-Developer und the
> OC4J-Container runnung (my computer) and the following code works
> fine:
>
> ,----
> | -- HTTP-Server DocRoot
> | TOOL_ENV.GETVAR('MY_HTTP_DOCROOT', v_htdocroot);
> | message('DocRoot: '||v_htdocroot);
> `----
>
> MY_HTTP_DOCROOT is a windows environment variable (set in the
> Systemsettings, not Registry!).
>
>
> Fine until here.
>
> Now the Problem:
>
> If I run that Forms-Application on an real Applicationserver (not the
> Forms-Developer), that does not work.
>
> OOL_ENV.GETVAR('MY_HTTP_DOCROOT', v_htdocroot) doas not retrieve
> anything. v_htdocroot is empty after that call. :-(
>
> Of course the environment is set (I called the windows funktion "set"
> to be sure).
>
> Is there a way out?
>
> Heino
Received on Thu Jun 08 2006 - 12:07:24 CDT
![]() |
![]() |