I was trying to get JHP (j602) working on my new Vista machine with IIS7
and after working my way through the new IIS Manager, I think I almost
got there! I can load static files from the example JHP site fine, but
when I click on one of the links on the left eg. "Random Test" I get a
server error (full error message below). 

I then realised I hadn't actually tested JHP with j602 and thought
perhaps I should test j602 on my existing XP SP2 IIS 5.1 setup to make
sure that there were no changes in J602 (eg. stdout?) that might be
causing trouble. To do that I edited the Application Mappings for a
virtual folder containing the example JHP site. I changed the entry for
jhp from... 

"C:\Program Files\j601\jconsole.exe" web/jhp/run %s %s

... to ...

"C:\Program Files\j602\bin\jconsole.exe" web/jhp/run %s %s

The result was that I get a CGI Timeout error in the frames displaying
the results of .jhp scripts. Changing it back again, restored
functionality.

So it seems (unless I've forgotten some other configuration setting)
that there may be some issues with JHP & j602?

Has anyone else successfully used JHP with j602 on Windows?



=====================================================
IIS7 error message
=====================================================

Server Error in Application "Default Web Site"
HTTP Error 502.2 - Bad Gateway

Description: The specified CGI application did not return a complete set
of HTTP headers.

Error Code: 0x00000000

Notification: ExecuteRequestHandler

Module: CgiModule

Requested URL: http://localhost:80/ht3.jhp

Physical Path: C:\inetpub\wwwroot\ht3.jhp

Logon User: Anonymous

Logon Method: Anonymous

Handler: J Hypertext Processor

Most likely causes:

    * The CGI process was shut down or terminated unexpectedly before it
finished processing the request.
    * The CGI process has a flaw and does not return a complete set of
HTTP headers.

What you can try:

    * Check the event logs on the system to see whether the CGI process
is shutting down unexpectedly.
    * Troubleshoot the CGI application to determine why it is not
sending a complete set of HTTP headers.

More Information... This error occurs when the CGI process handling the
request exits before it finishes sending the response to IIS.
Server Version Information: Internet Information Services 7.0.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to