--
One sure way to tell if the jserv process is listening is to telnet to
localhost port 8007. I have had to do that serveral times to save my sanity.
:)
Steve
-----Original Message-----
From: Paul Dorn [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 12, 1999 10:07 AM
To: Java Apache Users
Subject: Re: Error attaching to auto-started JServ Process
--
interesting, here is the netstat -a you mentioned.
Seems that while the JServ process exists, it is not listening...
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 localhost.1131 localhost.8888 TIME_WAIT
tcp 0 0 mail.monreghs.k1.https 208.225.71.28.1872 TIME_WAIT
tcp 0 0 mail.monreghs.k1.1130 cyanide.ftp
ESTABLISHED
tcp 0 0 *.8888 *.* LISTEN
tcp 0 0 *.https *.* LISTEN
tcp 0 0 mail.monreghs.k1.ssh firestorm.1019
ESTABLISHED
tcp 0 0 mail.monreghs.k1.telne 208.225.71.28.1655
ESTABLISHED
tcp 0 2 mail.monreghs.k1.telne 208.225.71.28.1650
ESTABLISHED
tcp 0 0 *.ssh *.* LISTEN
tcp 0 0 *.finger *.* LISTEN
tcp 0 0 *.login *.* LISTEN
tcp 0 0 *.shell *.* LISTEN
tcp 0 0 *.telnet *.* LISTEN
tcp 0 0 *.ftp *.* LISTEN
tcp 0 0 *.sunrpc *.* LISTEN
udp 0 0 *.ntalk *.*
udp 0 0 *.biff *.*
udp 0 0 *.sunrpc *.*
udp 0 0 *.syslog *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c4b9bf00 dgram 0 0 0 c4b91fc0 0 c4b9bf40
c4b9bf40 dgram 0 0 0 c4b91fc0 0 c4b9bfc0
c4b9bfc0 dgram 0 0 0 c4b91fc0 0 0
c4b91fc0 dgram 0 0 c4b90c80 0 c4b9bf00 0 /var/run/l
og
-----Original Message-----
From: Mark Foster <[EMAIL PROTECTED]>
To: 'Java Apache Users' <[EMAIL PROTECTED]>
Date: Monday, July 12, 1999 10:57 AM
Subject: RE: Error attaching to auto-started JServ Process
>--
>
>The output of `netstat -a` would be very helpful in troubleshooting. Also
>you can check `lsof` to see what user/process might be using that port.
Mine
>says:
>java 4048 nobody 13u inet 0x06fb3c0c 0t0 TCP *:8007
>(LISTEN)
>
>What port is your web server running (listening) on? Check ALL your logs
for
>more clues to why this might be happening.
>-mdf
>
>
>
>-----Original Message-----
>From: Paul Dorn [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 12, 1999 6:36 AM
>To: [EMAIL PROTECTED]
>Subject: Error attaching to auto-started JServ Process
>
>
>I am running the following,
>
>Apache/1.3.6 Ben-SSL/1.35 (Unix) ApacheJServ/1.0 configured
>compiled as DSO. JServ is added via LoadModule
>
>Running on FreeBSD 3.2 RELEASE #0
>
>Everything LOOKS ok, I have several
>
> /usr/local/apache/conf/jserv.properties (java)
>
>processes that start as a result of the web-server starting.
>But i get:
>[12/07/1999 08:18:06:216] (EMERGENCY) ajp11: can not connect to host
>127.0.0.1:8004
>[12/07/1999 08:18:06:216] (EMERGENCY) ajp11: connection fail
>[12/07/1999 08:18:06:216] (ERROR) an error returned handling request via
>protocol "ajpv11"
>[12/07/1999 08:18:06:216] (ERROR) an error returned handling request via
>protocol "status"
>
>BTW, I get this regardless of where i set JServ and mod_jserv port
settings.
>I just changed them to see if I had another process holding 8007.
>
>I have cheched the permissions on the jserv process and the log file.
>I can use the /jserv/ path to talk to mod_jserv but i get the 500
>misconfiguration error if I attempt to reach:
>apjv11://localhost:8007
>or now
>apjv11://localhost:8007
>
>Also, although it is configured, I can not reach the Hello servlet. I get
>the 500 Configuration error
>
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>READ THE FAQ!!!! <http://java.apache.org/faq/>
>Archives and Other: <http://java.apache.org/main/mail.html/>
>Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]