Hi to all,

I posted a problem with JServ 1.0fc1. I will repost it:

I'm under the following installation:

    OS: SCO OpenServer 5.0.4

    Webserver: Apache 1.3.6 + openssl + JServ1.0.9b

    Java: jdk 1.1.1 + jsdk 2.0

Its all statically compiled into apache (no DSO).
Apache works fine but when I try to execute the example servlet
"servlets/Hello" y get "Document Contains No Data". That means that
server just
disconnects me after I do a "GET" on the servlet. Log doesn't say
anything. All
is configured properly.

After a "restart" of the server SOMETIMES the first GET to the Hello
servlet Works! The following requests will fail with the disconnection
problem.

Does somebody know why is this problem happening ? Solution to it ?
Should I report it as a bug to the Apache Java Group ?

Thanks in advance.

-- Log --

This is the log I get on a "disconnected" GET with the Hello servlet:

[12/06/1999 19:20:59:960 GMT+01:00] ApacheJServ/1.0fc1 is starting...
[12/06/1999 19:20:59:960 GMT+01:00] WARNING: connection
authentication is disabled
[12/06/1999 19:21:00:900 GMT+01:00] Connection allowed from
127.0.0.1/127.0.0.1
[12/06/1999 19:21:00:900 GMT+01:00] Listening on port 8007 accepting
50 maximum
connections
[12/06/1999 19:21:00:930 GMT+01:00] Creating Servlet Zones
[12/06/1999 19:21:00:930 GMT+01:00] Servlet Zone example
initializing...
[12/06/1999 19:21:00:930 GMT+01:00]  - Using configuration file:

/home/gbrigand/apps/apache/ApacheJServ-1.0fc1/example/example.properties

[12/06/1999 19:21:00:990 GMT+01:00] Initialisation timeout: 10
seconds
[12/06/1999 19:21:00:990 GMT+01:00] Destroy timeout: 10 seconds
[12/06/1999 19:21:00:990 GMT+01:00] Session timeout: 1800 seconds
[12/06/1999 19:21:00:990 GMT+01:00] New session timeout: 1800 seconds
[12/06/1999 19:21:00:990 GMT+01:00] Session check frequency: 30
seconds
[12/06/1999 19:21:00:990 GMT+01:00] Autoreload on zone file changes:
true
[12/06/1999 19:21:00:990 GMT+01:00] Autoreload on classfile changes:
true
[12/06/1999 19:21:00:990 GMT+01:00] Default initArgs: {}
[12/06/1999 19:21:01:000 GMT+01:00] Servlet Zone example
initialization complete
[12/06/1999 19:21:40:820 GMT+01:00] Connection from
127.0.0.1/127.0.0.1
[12/06/1999 19:21:40:830 GMT+01:00] Initializing servlet request
[12/06/1999 19:21:40:830 GMT+01:00] Reading request data
[12/06/1999 19:21:40:850 GMT+01:00] Will read 14 bytes for this line
[12/06/1999 19:21:40:860 GMT+01:00] Read: Cexample Hello
[12/06/1999 19:21:40:870 GMT+01:00] Servlet Zone: example Servlet:
Hello
[12/06/1999 19:21:40:870 GMT+01:00] Will read 19 bytes for this line
[12/06/1999 19:21:40:870 GMT+01:00] Read: Slucky.sysec.com.ar
[12/06/1999 19:21:40:870 GMT+01:00] Hostname: lucky.sysec.com.ar
[12/06/1999 19:21:40:870 GMT+01:00] Will read 39 bytes for this line
[12/06/1999 19:21:40:870 GMT+01:00] Read: EDOCUMENT_ROOT
/usr/local/apache/htdocs
[12/06/1999 19:21:40:870 GMT+01:00] Env:
DOCUMENT_ROOT=/usr/local/apache/htdocs
[12/06/1999 19:21:40:870 GMT+01:00] Will read 26 bytes for this line
[12/06/1999 19:21:40:870 GMT+01:00] Read: EGATEWAY_INTERFACE CGI/1.1
[12/06/1999 19:21:40:870 GMT+01:00] Env: GATEWAY_INTERFACE=CGI/1.1
[12/06/1999 19:21:40:870 GMT+01:00] Will read 33 bytes for this line
[12/06/1999 19:21:40:880 GMT+01:00] Read: EPATH
/bin:/etc:/usr/bin:/tcb/bin
[12/06/1999 19:21:40:880 GMT+01:00] Env:
PATH=/bin:/etc:/usr/bin:/tcb/bin
[12/06/1999 19:21:40:880 GMT+01:00] Will read 14 bytes for this line
[12/06/1999 19:21:40:880 GMT+01:00] Read: EQUERY_STRING
[12/06/1999 19:21:40:880 GMT+01:00] Env: QUERY_STRING=
[12/06/1999 19:21:40:880 GMT+01:00] Will read 22 bytes for this line
[12/06/1999 19:21:40:880 GMT+01:00] Read: EREMOTE_ADDR 130.5.5.4
[12/06/1999 19:21:40:880 GMT+01:00] Env: REMOTE_ADDR=130.5.5.4
[12/06/1999 19:21:40:880 GMT+01:00] Will read 17 bytes for this line
[12/06/1999 19:21:40:880 GMT+01:00] Read: EREMOTE_PORT 1231
[12/06/1999 19:21:40:880 GMT+01:00] Env: REMOTE_PORT=1231
[12/06/1999 19:21:40:880 GMT+01:00] Will read 19 bytes for this line
[12/06/1999 19:21:40:890 GMT+01:00] Read: EREQUEST_METHOD GET
[12/06/1999 19:21:40:890 GMT+01:00] Env: REQUEST_METHOD=GET
[12/06/1999 19:21:40:890 GMT+01:00] Will read 27 bytes for this line
[12/06/1999 19:21:40:890 GMT+01:00] Read: EREQUEST_URI /example/Hello
[12/06/1999 19:21:40:890 GMT+01:00] Env: REQUEST_URI=/example/Hello
[12/06/1999 19:21:40:890 GMT+01:00] Will read 31 bytes for this line
[12/06/1999 19:21:40:890 GMT+01:00] Read: ESCRIPT_FILENAME
/example/Hello
[12/06/1999 19:21:40:890 GMT+01:00] Env:
SCRIPT_FILENAME=/example/Hello
[12/06/1999 19:21:40:890 GMT+01:00] Will read 27 bytes for this line
[12/06/1999 19:21:40:890 GMT+01:00] Read: ESCRIPT_NAME /example/Hello
[12/06/1999 19:21:40:890 GMT+01:00] Env: SCRIPT_NAME=/example/Hello
[12/06/1999 19:21:40:890 GMT+01:00] Will read 28 bytes for this line
[12/06/1999 19:21:40:900 GMT+01:00] Read: ESERVER_ADMIN
gbrigand@lucky
[12/06/1999 19:21:40:900 GMT+01:00] Env: SERVER_ADMIN=gbrigand@lucky
[12/06/1999 19:21:40:900 GMT+01:00] Will read 31 bytes for this line
[12/06/1999 19:21:40:900 GMT+01:00] Read: ESERVER_NAME
lucky.sysec.com.ar
[12/06/1999 19:21:40:900 GMT+01:00] Env:
SERVER_NAME=lucky.sysec.com.ar
[12/06/1999 19:21:40:900 GMT+01:00] Will read 17 bytes for this line
[12/06/1999 19:21:40:900 GMT+01:00] Read: ESERVER_PORT 8080
[12/06/1999 19:21:40:900 GMT+01:00] Env: SERVER_PORT=8080
[12/06/1999 19:21:40:900 GMT+01:00] Will read 25 bytes for this line
[12/06/1999 19:21:40:900 GMT+01:00] Read: ESERVER_PROTOCOL HTTP/1.0
[12/06/1999 19:21:40:900 GMT+01:00] Env: SERVER_PROTOCOL=HTTP/1.0
[12/06/1999 19:21:40:900 GMT+01:00] Will read 89 bytes for this line
[12/06/1999 19:21:40:910 GMT+01:00] Read: ESERVER_SIGNATURE
<ADDRESS>Apache/1.3.6
Server at lucky.sysec.com.ar Port 8080</ADDRESS>

[12/06/1999 19:21:40:910 GMT+01:00] Env:
SERVER_SIGNATURE=<ADDRESS>Apache/1.3.6
Server at lucky.sysec.com.ar Port 8080</ADDRESS>

[12/06/1999 19:21:40:910 GMT+01:00] Will read 84 bytes for this line
[12/06/1999 19:21:40:910 GMT+01:00] Read: ESERVER_SOFTWARE
Apache/1.3.6 (Unix)
ApacheJServ/1.0fc1 mod_ssl/2.3.3 OpenSSL/0.9.3a
[12/06/1999 19:21:40:910 GMT+01:00] Env: SERVER_SOFTWARE=Apache/1.3.6
(Unix)
ApacheJServ/1.0fc1 mod_ssl/2.3.3 OpenSSL/0.9.3a
[12/06/1999 19:21:40:910 GMT+01:00] Will read 75 bytes for this line
[12/06/1999 19:21:40:910 GMT+01:00] Read: HAccept image/gif,
image/x-xbitmap,
image/jpeg, image/pjpeg, image/png, */*
[12/06/1999 19:21:40:910 GMT+01:00] Header: Accept=image/gif,
image/x-xbitmap,
image/jpeg, image/pjpeg, image/png, */*
[12/06/1999 19:21:40:910 GMT+01:00] Will read 34 bytes for this line
[12/06/1999 19:21:40:910 GMT+01:00] Read: HAccept-Charset
iso-8859-1,*,utf-8
[12/06/1999 19:21:40:920 GMT+01:00] Header:
Accept-Charset=iso-8859-1,*,utf-8
[12/06/1999 19:21:40:920 GMT+01:00] Will read 21 bytes for this line
[12/06/1999 19:21:40:920 GMT+01:00] Read: HAccept-Encoding gzip
[12/06/1999 19:21:40:920 GMT+01:00] Header: Accept-Encoding=gzip
[12/06/1999 19:21:40:920 GMT+01:00] Will read 19 bytes for this line
[12/06/1999 19:21:40:920 GMT+01:00] Read: HAccept-Language en
[12/06/1999 19:21:40:920 GMT+01:00] Header: Accept-Language=en
[12/06/1999 19:21:40:920 GMT+01:00] Will read 22 bytes for this line
[12/06/1999 19:21:40:920 GMT+01:00] Read: HConnection Keep-Alive
[12/06/1999 19:21:40:920 GMT+01:00] Header: Connection=Keep-Alive
[12/06/1999 19:21:40:920 GMT+01:00] Will read 20 bytes for this line
[12/06/1999 19:21:40:920 GMT+01:00] Read: HHost 130.5.5.1:8080
[12/06/1999 19:21:40:930 GMT+01:00] Header: Host=130.5.5.1:8080
[12/06/1999 19:21:40:930 GMT+01:00] Will read 40 bytes for this line
[12/06/1999 19:21:40:930 GMT+01:00] Read: HUser-Agent Mozilla/4.07
[en] (WinNT; I)
[12/06/1999 19:21:40:930 GMT+01:00] Header: User-Agent=Mozilla/4.07
[en] (WinNT; I)

[12/06/1999 19:21:40:930 GMT+01:00] All data read.
[12/06/1999 19:21:40:930 GMT+01:00] Parsing cookies
[12/06/1999 19:21:40:990 GMT+01:00] Initializing servlet: 'Hello' ;
initArgs: '{}'
[12/06/1999 19:21:40:990 GMT+01:00] Hello: init
[12/06/1999 19:21:41:000 GMT+01:00] Calling service()
[12/06/1999 19:21:41:010 GMT+01:00] Sending response headers.
[12/06/1999 19:21:41:010 GMT+01:00] Status: 200 OK
[12/06/1999 19:21:41:010 GMT+01:00] Content-Type: text/html





-- --------------------------------------------------------------
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]

Reply via email to