You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Francis Upton <fr...@ieee.org> on 2001/01/28 11:24:03 UTC

mod_jserv/7140: win32 installation is broken/problem when restarting apache

>Number:         7140
>Category:       mod_jserv
>Synopsis:       win32 installation is broken/problem when restarting apache
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jan 28 02:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     francisu@ieee.org
>Release:        1.3.14
>Organization:
apache
>Environment:
Jserv 1.1.2/Win 2K Prof/Apache 1.3.14
>Description:
The Jserv 1.1.2 install on windows is misleading as it defaults to put things in the c:\Program Files directory which causes a problem with starting Java and consequently Jserv(see the Jserv install FAQs).  Be sure and install Jserv in directories *without* spaces in them.  You also need to follow the Jserv installation instructions (updating httpd.conf) because the installation process does not correctly update the apache installation (even though it says it does).

Once Jserv was working correctly, everything was fine.

Another note, restarting the Apache service does not work correctly as there needs to be an interval of a couple of seconds between stop/start to pick up the new Jserv config params.  Stop the server, wait a couple of seconds, then start it, and things will work fine.
>How-To-Repeat:
Install apache 1.3.14
Install Jserv 1.1.2 using the win32 installation program
try http://127.0.0.1/jserv/, then click on the mapped servlet engine URL, you will get a server error.  The mod_jserv.log file will show:

[28/01/2001 09:30:21:118] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[28/01/2001 09:30:21:118] (EMERGENCY) ajp12: connection fail
[28/01/2001 09:30:21:118] (ERROR) an error returned handling request via protocol "ajpv12"
[28/01/2001 09:30:21:118] (ERROR) an error returned handling request via protocol "status"


For the 2nd problem, make some change to the jserv.properties file and then restart the apache server, you will not see the change reflected.  Try stopping, waiting, then starting, you will see the change reflected.
>Fix:
Fix jserv to properly deal with spaces in the filenames of the wrapper.classpath properties (and possibly other properties)
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]