-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

tail the jserv.log (assuming you have logging switched on), then telnet
to the port you think it's listening on and observe the log activity.

 tail -f /logs/jserv.log &
[1] 29893
[root@linux /logs]# [04/10/1999 17:55:58:696 GMT+00:00] Calling
service()
[04/10/1999 17:55:59:237 GMT+00:00] Sending response headers.
[04/10/1999 18:00:29:883 GMT+00:00] Connection from localhost/127.0.0.1
[04/10/1999 18:00:29:885 GMT+00:00] Initializing servlet request
[04/10/1999 18:00:29:885 GMT+00:00] Reading request data
[04/10/1999 18:00:34:638 GMT+00:00] Sending response headers.
[04/10/1999 18:00:56:642 GMT+00:00] Connection from localhost/127.0.0.1
[04/10/1999 18:00:56:644 GMT+00:00] Initializing servlet request
[04/10/1999 18:00:56:644 GMT+00:00] Reading request data
[04/10/1999 18:02:35:515 GMT+00:00] Sending response headers.
[root@linux /logs]# telnet localhost 8007
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
[04/10/1999 18:02:55:721 GMT+00:00] Connection from localhost/127.0.0.1
[04/10/1999 18:02:55:722 GMT+00:00] Initializing servlet request
[04/10/1999 18:02:55:722 GMT+00:00] Reading request data
^]
telnet> qui
Connection closed.
[root@linux /logs]# [04/10/1999 18:02:57:919 GMT+00:00] Sending response
headers
.

..Chris.

Richard Hallier wrote:

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Please how to test that a JServ listens to at the right port ?
> A telnet session ? But what do I expect ?
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]

--
Chris McCarthy  mailto:[EMAIL PROTECTED]
Software Engineer - Java Contractor (Cork, Ireland).




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to