Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apache Jserv can not connect to host error

843833Aug 20 2001 — edited Aug 20 2001
I've successfully installed Apache on windows. It serves html. I installed Jserv (I think succesfully). However I cannot run servlets. Every time I try I get the following error in Jserv's mod_jserv.log:

[20/08/2001 16:13:02:941] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[20/08/2001 16:13:02:941] (EMERGENCY) ajp12: connection fail
[20/08/2001 16:13:02:941] (ERROR) an error returned handling request via protocol "ajpv12"

Apache's access.log tells me that its looking for the servlet in question:
64.3.35.60 - - [20/Aug/2001:12:13:02 -0400] "GET /servlets/IsItWorking HTTP/1.1" 500 606

With that said what is going on or not going on? I have all the necessary jdk info and jar files set properly in the class path. I am monitoring the ports on my server. I can see my computer listening on the http port, however it is not listening on 8007 (Default JServ port). Should it be listening on this port or is info posted on this port once a servlet is called. Apache's http.conf file includes Jserv:

# Include the configuration for Apache JServ 1.1.2
Include "C:\Program Files\Apache JServ 1.1.2\conf\jserv.conf"

And JServ.conf has startup set to automatic:

# Whether Apache must start Apache JServ or not (On=Manual Off=Autostart)
# Syntax: ApJServManual [on/off]
# Default: "Off"
ApJServManual off

Help!? I've seen references to this problem all over but no actual answer. I know that its something stupid, but I'm spending way to much time guessing at what the problem is. I've included what I think is neccesary information.

Any ideas?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 17 2001
Added on Aug 20 2001
3 comments
333 views