[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::rdb_60

Title:Oracle Rdb - Still a strategic database for DEC on Alpha AXP!
Notice:RDB_60 is archived, please use RDB_70..
Moderator:NOVA::SMITHISON
Created:Fri Mar 18 1994
Last Modified:Fri May 30 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5118
Total number of notes:28246

5031.0. "RDBWEB on OpenVMS fails with BUG!! VAR#" by 9221::MLINNA () Mon Feb 17 1997 01:25


Hi,

RDBWEB on OpenVMS Alpha / RDB 7.0 wrote the following logfile.
Any idea what the problem might be?

-martti


---------------------
BUG!! VAR#1


ident 23

#log (main/begin)
cgi/3:SERVER_SOFTWARE:0.
cgi/3:SERVER_NAME:0.
cgi/3:GATEWAY_INTERFACE:0.
cgi/3:SERVER_PROTOCOL:0.
cgi/3:SERVER_PORT:0.
cgi/3:REQUEST_METHOD:0.
cgi/1:PATH_INFO=3D/HTBIN/RDBWEB/PNC/RW_UTIL_PRINT_CGI_ENV.
cgi/3:PATH_TRANSLATED:0.
cgi/3:SCRIPT_NAME:0.
cgi/3:QUERY_STRING:0.
cgi/3:REMOTE_HOST:0.
cgi/3:REMOTE_ADDR:0.
cgi/3:AUTH_TYPE:0.
cgi/3:REMOTE_USER:0.
cgi/3:REMOTE_IDENT:0.
cgi/3:CONTENT_TYPE:0.
cgi/3:CONTENT_LENGTH:0.
cgi/3:HTTP_ACCEPT:0.
cgi/3:HTTP_USER_AGENT:0.
cgi: asking for SERVER_SOFTWARE, got=20
cgi/3:QUERY_STRING:0.
query string is empty
cgi: asking for REQUEST_METHOD, got=20
cgi: asking for REQUEST_METHOD, got=20
BUG!! VAR#1
cgi: asking for PATH_INFO, got /HTBIN/RDBWEB/PNC/RW_UTIL_PRINT_CGI_EN=
V
set_path_info: +7f8f95b8+
set_path_info [len]: +39+
1: u is 6, strlen is 39
2: u is 6, strlen is 39
/HTBIN/RDBWEB/PNC/RW_UTIL_PRINT_CGI_ENV^HTBIN^RDBWEB/PNC/RW_UTIL_PRIN=
T_CGI_ENV^
action_config: +HTBIN+
read_cnf_file: "pd_root:[httpd.conf]rdbweb.config": 2145742128
return 330
get_procedure: !RDBWEB/PNC/RW_UTIL_PRINT_CGI_ENV!
QRY variable state before SQS stuff:
0: name /config/: value /HTBIN/
1: name /procedure/: value /RDBWEB/PNC/RW_UTIL_PRINT_CGI_ENV/
get_procedure: !RDBWEB/PNC/RW_UTIL_PRINT_CGI_ENV!

#log (create_association/bef)

#log (sqlsrv_set_transport_type/bef)
sts [72] from sqlsrv_associate is 0

#log (sqlsrv_set_transport_type/aft)

#log (sqlsrv_associate/bef)
sts [20] from sqlsrv_associate is -2000

#log (sqlsrv_associate/aft)
Error occurred during association with error value: -2000
sts [6] from create_association is 1
/

#log (create_association/aft)

#log (main/end)



T.RTitleUserPersonal
Name
DateLines
5031.1NOVA::GODFRINDOracle Rdb EngineeringMon Feb 17 1997 11:5150
You seem to be using the OSU server on VMS. This one needs some special setting
to get it to behave according to the CGI spec. Try the following script.

$! RDBWEB.COM
$!
$! CGI script for invoking the Rdb Web Agent from the Ohio State University
$! HTTP server for VMS.
$!
$! The following three lines are needed to make our script work
$! correctly in the CGI environment. They must be written exactly as shown and
$! in the order shown
$!
$! The first line directs sys$output to the return channel used to send HTML
$! back to the server. It is necessary since the agent writes to stdout.
$!
$ DEFINE SYS$OUTPUT NET_LINK
$!
$! The second line instructs the server to automatically add <crlf> after
$! each response line it receives from the agent.
$!
$ WRITE NET_LINK "<DNETRECMODE>"
$!
$! The third line invokes a program that will set the necessary CGI symbols.
$! The CGI symbols are passed as logical names (in the table specified as first
$! argument to CGI_SYMBOLS. The second argument defines the WWW_IN file where
$! the agent will find all form data
$!
$ CGI_SYMBOLS lnm$process www_in_'f$getjpi("","pid")'.tmp
$!
$! The following statement corrects a problem in the current version of
$! the agent (V1.0, shipped with Rdb V7.0-0) In that version, the agent returns
$! the string "BUG!! VAR#1" before starting to build the actual HTML
$! output. This happens for all requests using the GET method without
$! passing a query string. The correction simply introduces a dummy query
$! string if none is passed by the HTTP server
$!
$ if f$trnlnm("QUERY_STRING") .eqs. "" then -
      define/user query_string dummy
$!
$! Invoke the Rdb agent. Make WWW_IN point to the form input file
$ define/user www_in www_in_'f$getjpi("","pid")'.tmp
$ run sys$system:rdbweb.exe
$!
$! Remove the work file for form data
$ if f$search("www_in_''f$getjpi("","pid")'.tmp;*") .nes. ""
$  then
$   delete/nolog/noconf www_in_'f$getjpi("","pid")'.tmp;*
$ endif
$ exit

5031.2AVMSV1::EKREISLEErich KreislerTue Feb 18 1997 05:154
I I QARed that because I noticed that with the cartridge on DEC Unix, but no
answer yet. (QAR 2025).

erich