Ken – When we add SHARED_JVM => 1, in our code we got the html page but it did not bring any results from the database.
The error log has the following ---
[17/Dec/2003:10:31:33] info (24092): list reports: rq->var= ntrans-base="/sites/splypwr/site/live/html/cgi-bin" path="/sites/splypwr/site/live/html/cgi-bin/testing/raj.cgi" [17/Dec/2003:10:31:33] info (24092): list reports: req->headers= accept="*/*" accept-language="en-us" accept-encoding="gzip, deflate" user-agent="Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" host="ctsblrsp7:8088" connection="Keep-Alive" cache-control="no-cache" [17/Dec/2003:10:31:33] info (24092): list reports: req->reqpb= clf-request="GET /cgi-bin/testing/raj.cgi HTTP/1.1" method="GET" protocol="HTTP/1.1" uri="/cgi-bin/testing/raj.cgi" [17/Dec/2003:10:31:33] info (24092): list reports: req->srvhdrs= content-type="magnus-internal/cgi" [17/Dec/2003:10:31:33] info (24092): list reports: req->srvhdrs= content-type="magnus-internal/cgi" [17/Dec/2003:10:31:33] info (24092): list reports: sn->client= ip="10.236.161.74" [17/Dec/2003:10:31:33] failure (24092): ExecuteApplogicRequest reports: IsXXXRequest failed. STOP
Regards, -----Original Message-----
Hi Ken – We added the use CGI::Carp qw(fatalsToBrowser); statement in the first line of the code and accessed the cgi program and we got the following error message in the browser
Server Error This server has encountered an internal error which prevents it from fulfilling your request. The most likely cause is a misconfiguration. Please ask the administrator to look for messages in the server's error log.
And in the error log we got the following.
[17/Dec/2003:10:20:52] info (24092): list reports: rq->var= ntrans-base="/sites/splypwr/site/live/html/cgi-bin" path="/sites/splypwr/site/live/html/cgi-bin/testing/raj.cgi" [17/Dec/2003:10:20:52] info (24092): list reports: req->headers= accept="*/*" accept-language="en-us" accept-encoding="gzip, deflate" user-agent="Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" host="ctsblrsp7:8088" connection="Keep-Alive" [17/Dec/2003:10:20:52] info (24092): list reports: req->reqpb= clf-request="GET /cgi-bin/testing/raj.cgi HTTP/1.1" method="GET" protocol="HTTP/1.1" uri="/cgi-bin/testing/raj.cgi" [17/Dec/2003:10:20:52] info (24092): list reports: req->srvhdrs= content-type="magnus-internal/cgi" [17/Dec/2003:10:20:52] info (24092): list reports: req->srvhdrs= content-type="magnus-internal/cgi" [17/Dec/2003:10:20:52] info (24092): list reports: sn->client= ip="10.236.161.74" [17/Dec/2003:10:20:52] failure (24092): ExecuteApplogicRequest reports: IsXXXRequest failed. STOP [17/Dec/2003:10:20:53] failure (24092): for host 10.236.161.74 trying to GET /cgi-bin/testing/raj.cgi, cgieng_scan_headers reports: the CGI program /sites/splypwr/site/live/html/cgi-bin/testing/raj.cgi did not produce a valid header (name without value: got line " at java.security.accesscontroller.doprivileged(native method)")
Can you please help us on this to resolve the issue. Regards, -----Original Message-----
Hi Faisal,
That message is basically just a generic error and doesn't tell us much. It happens because your script has an error before sending a valid HTTP header. Try putting
use CGI::Carp qw(fatalsToBrowser);
near the top of your code, which is an easy way to make sure you're seeing the real error message.
-Ken
|
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com