----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


> Why are you trying to reach JServ directly?

To see if it works, of course.
 
> JServ is a servlet engine, not an HTTP server.  The normal flow is something
> like:
> 
> 1.  Web browser sends a request to the HTTP server (Apache)
> 2.  The HTTP server passes the request to JServ on port 8007.
> 3.  JServ passes the response to the HTTP server.
> 4.  The HTTP server sends the response to the Web browser.

I know.  But that doesn't mean that the port is magically closed
on the localhost; actually, it means the opposite.  I was merely
checking to see if the service was running on the port.

However, here's some more of the same from strace,
with httpd doing the talking.

[pid 23845] connect(9, {sin_family=AF_INET, sin_port=htons(8007), 
sin_addr=inet_addr("127.0.0.1")}}, 16) = -1 ECONNREFUSED (Connection refused)

That's what happens when the HTTP server passes the request to JServ.

Also, here are some logs.
 
[07/07/2000 15:51:09:727] (INFO) Apache-JServ 1rst  initialization: JVM will be 
started later 1 25710 25709
[07/07/2000 15:51:09:759] (INFO) Apache Module was cleaned-up
[07/07/2000 15:51:09:929] (INFO) Apache-JServ 2nd  initialization starting JVM now: 1 
25711 1
[07/07/2000 15:51:09:957] (INFO) wrapper classpath: 
/usr/local/apache/libexec/ApacheJServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar
[07/07/2000 15:51:09:958] (INFO) wrapper: Java VM spawned (PID=25713, PPID=25712)
[07/07/2000 15:51:10:577] (INFO) wrapper: Java VM exited (PID=25712)
[07/07/2000 15:51:14:518] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[07/07/2000 15:51:14:519] (EMERGENCY) ajp12: connection fail
[07/07/2000 15:51:14:519] (ERROR) an error returned handling request via protocol 
"ajpv12"
[07/07/2000 15:51:14:519] (ERROR) an error returned handling request via protocol 
"status"
[07/07/2000 15:51:20:583] (INFO) wrapper: Java VM restarting (PID=25712)
[07/07/2000 15:51:20:585] (INFO) wrapper: Java VM spawned (PID=25760, PPID=25712)
[07/07/2000 15:51:21:162] (INFO) wrapper: Java VM exited (PID=25712)
[07/07/2000 15:51:24:581] (INFO) Wrapper: Shutting down JServ (PID=25712) (sig 15)
[07/07/2000 15:51:24:598] (INFO) Apache Module was cleaned-up

Now does anyone know what would cause this, and what I could change to
salvage this?  I think there's another guy who just posted to the list
with the same symptoms I had.

Thanks again,

Peter Baylies


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to