Re: Forms6i Server on Solaris

From: Scott <marengoscott_at_starband.net>
Date: Sun, 22 Jul 2001 06:56:03 GMT
Message-ID: <Mxy07.95$Z_6.92598397_at_twister2.starband.net>


see Note:119573. in metalink. it how to setup the apache web server that come in 9iAS should same. I know for that setup you need to setup some environmental variables.

# Forms and Reports CGI needs to have ORACLE_HOME set SetEnvIf Request_URI "rwcgi60"
ORACLE_HOME=/u17/app/oracle/product/iAS1.0/6iserver SetEnvIf Request_URI "rwcgi60"
LD_LIBRARY_PATH=/u17/app/oracle/product/iAS1.0/6iserver/lib SetEnvIf Request_URI "rwcgi60" REPORTS60_REPORTS_SERVER=rep60_suppsun5 SetEnvIf Request_URI "rwcgi60"
REPORTS60_CGIMAP=/u17/home/csupport/tharknes/cgicmd.dat SetEnvIf Request_URI "f60cgi"
ORACLE_HOME=/u17/app/oracle/product/iAS1.0/6iserver SetEnvIf Request_URI "f60cgi"
LD_LIBRARY_PATH=/u17/app/oracle/product/iAS1.0/6iserver/lib SetEnvIf Request_URI "f60cgi"
FORMS60_PATH=/u17/app/oracle/product/iAS1.0/6iserver/forms60/frmdirectory

Regards
Scott

"Axel Klos" <axk_at_fernbach.com> wrote in message news:3B3AD021.7E5CB61F_at_fernbach.com...
> Hello,
>
> i have the following constellation:
>
> - Solaris 5.8
> - Apache Webserver from 8.1.7 on the same machine
> - Forms Server (Ver: 6.0.8.11.3)
>
> The Request to: http://asterixnew:7777/dev60html/runform.htm work fine,
> when i try runform the test.fmx i receive in the internet explorer the
> following
> error:
>
> <--snip-->
> .
> .
> .
> รจ$Header: izcgi.c_at_@/main/TOOLS_DEV2K_994/3 Checked in on Mon Dec 6
> 11:32:07 PST 1999 by vobadm Copyright (c) 1999 by Oracle Corporation.
> All Rights Reserved. $ERROR: Unable to allocate memory.ERROR:
> Environment variable ORACLE_HOME not set.ERROR: Length of HTMLdelimiter
> exceeds ten bytes.ERROR: Cannot open baseHTML file %s.ERROR: Cannot read
> complete baseHTML file %s.ERROR: Parameter "%s" not found in URL or
> configuration parameters.ERROR: MetricsServerHost not specified in
> configuration parameters.ERROR: MetricsServerErrorURL not specified in
> configuration parameters.ERROR: MetricsServerPort not specified in
> configuration parameters.WARNING: MetricsTimeout not specified, using
> default of 30 seconds.ERROR: Error initializing the Load Balancer.ERROR:
> Error getting least loaded host from Load Balancer Server.ERROR:
> baseHTML file not specified in configuration parameters.WARNING:
> HTMLdelimiter not specified - using %s.ERROR: This program can only be
> invoked as a CGI executable.ERROR: URL contains badly formed
> escapes.ERROR: Configuration file %s not found.ERROR: Configuration file
> has name missing from name=value pair.ERROR: Configuration file has '='
> .
> .
> .
>
>
> In my httpd.conf i insert the following directory mappings:
>
>
> Alias /forms60java/ "/app/oracle/product/8.0.6/forms60/java/"
> <Location /forms60java/>
> Order allow,deny
> Allow from all
> </Location>
>
> Alias /forms60path/ "/app/oracle/product/8.0.6/forms60/"
> <Location /forms60path/>
> Order allow,deny
> Allow from all
> </Location>
>
> Alias /forms60temp "/app/oracle/product/8.0.6/forms60/temp"
> <Location /forms60temp/>
> Order allow,deny
> Allow from all
> </Location>
>
>
> Alias /dev60html/ "/app/oracle/product/8.0.6/tools/web60/html/"
> <Location /dev60html/>
> Order allow,deny
> Allow from all
> </Location>
>
> Alias /dev60cgi/ "/app/oracle/product/8.0.6/tools/web60/cgi/"
> <Location /dev60cgi/>
> Order allow,deny
> Allow from all
> </Location>
>
>
> In the forms60_server:
>
>
> ORACLE_HOME=/app/oracle/product/8.0.6; export ORACLE_HOME
>
> ## If you need more than one directory in your path, all directories
> should be
> ## separated by ':'
> PATH=$ORACLE_HOME/bin:"$PATH"; export PATH
>
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/openwin/lib:/usr/dt/lib:$ORACLE_HOME/n etwo
>
> rk/jre11/lib/sparc/native_threads; export LD_LIBRARY_PATH
>
> ## You may need to set TWO_TASK or ORACLE_SID to connect to database
> #TWO_TASK=; export TWO_TASK
> ORACLE_SID=DB000; export ORACLE_SID
>
> ## setting for Forms runtime
> # Forms Server looks in FORMS60_PATH for Forms to run
> FORMS60_PATH=$ORACLE_HOME/forms60:"$FORMS60_PATH"; export FORMS60_PATH
> FORMS60_OUTPUT=$ORACLE_HOME/tools/web60/temp; export FORMS60_OUTPUT
> FORMS60_MAPPING=http://asterixnew:7777/dev60temp; export FORMS60_MAPPING
>
> FORMS60_REPFORMAT=html; export FORMS60_REPFORMAT
>
>
> ..................
>
> Sorry for the long posting, but its an production Problem, i have also
> open an TAR, i hope your
> help is faster.
>
> Regards
>
> Axel Klos
>
Received on Sun Jul 22 2001 - 08:56:03 CEST

Original text of this message