www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Millett <...@ec-group.com>
Subject mod_jserv/2843: .gsp, .jhtml cause errors when finished
Date Wed, 12 Aug 1998 17:16:54 GMT

>Number:         2843
>Category:       mod_jserv
>Synopsis:       .gsp, .jhtml cause errors when finished
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Aug 12 10:20:01 PDT 1998
>Last-Modified:
>Originator:     bpm@ec-group.com
>Organization:
apache
>Release:        Apache/1.3.1 (Unix) JServ/1.0b mod_perl/1.15
>Environment:
SPARC Solaris 2.6, jdk 1.1.6
>Description:
This is a problem with any ApJServAction that I've defined in my system.  After the 
execution of ANY .jhtml, .gsp or .jsp, I get an internal server error 500.  The .jhtml or
.gsp 
pages are executed fine, but I get an error message at the end.  Here is the jserv.log
trace with trace on:


[12/08/1998 12:04:49:490 CDT] Connection from localhost/127.0.0.1
[12/08/1998 12:04:49:540 CDT] Initializing servlet request
[12/08/1998 12:04:49:541 CDT] Reading request data
[12/08/1998 12:04:49:547 CDT] Will read 40 bytes for this line
[12/08/1998 12:04:49:558 CDT] Read: Cvlad       org.apache.jserv.servlets.JServSSI
[12/08/1998 12:04:49:563 CDT] Servlet Zone: vlad Servlet: org.apache.jserv.servlets.JServSSI
[12/08/1998 12:04:49:564 CDT] Will read 19 bytes for this line
[12/08/1998 12:04:49:565 CDT] Read: Svlad.cbi.mobot.org
[12/08/1998 12:04:49:568 CDT] Hostname: vlad.cbi.mobot.org
[12/08/1998 12:04:49:570 CDT] Will read 39 bytes for this line
[12/08/1998 12:04:49:571 CDT] Read: EREDIRECT_UNIQUE_ID NdHLMcBoJ4wAAApFHR0
[12/08/1998 12:04:49:572 CDT] Env: REDIRECT_UNIQUE_ID=NdHLMcBoJ4wAAApFHR0
[12/08/1998 12:04:49:573 CDT] Will read 20 bytes for this line
[12/08/1998 12:04:49:574 CDT] Read: EREDIRECT_STATUS    200
[12/08/1998 12:04:49:575 CDT] Env: REDIRECT_STATUS=200
[12/08/1998 12:04:49:576 CDT] Will read 30 bytes for this line
[12/08/1998 12:04:49:577 CDT] Read: EUNIQUE_ID  NdHLMcBoJ4wAAApFHR0
[12/08/1998 12:04:49:579 CDT] Env: UNIQUE_ID=NdHLMcBoJ4wAAApFHR0
[12/08/1998 12:04:49:580 CDT] Will read 26 bytes for this line
[12/08/1998 12:04:49:581 CDT] Read: EGATEWAY_INTERFACE  CGI/1.1
[12/08/1998 12:04:49:582 CDT] Env: GATEWAY_INTERFACE=CGI/1.1
[12/08/1998 12:04:49:583 CDT] Will read 25 bytes for this line
[12/08/1998 12:04:49:585 CDT] Read: ESERVER_PROTOCOL    HTTP/1.0
[12/08/1998 12:04:49:586 CDT] Env: SERVER_PROTOCOL=HTTP/1.0
[12/08/1998 12:04:49:587 CDT] Will read 19 bytes for this line
[12/08/1998 12:04:49:588 CDT] Read: EREQUEST_METHOD     GET
[12/08/1998 12:04:49:592 CDT] Env: REQUEST_METHOD=GET
[12/08/1998 12:04:49:593 CDT] Will read 14 bytes for this line
[12/08/1998 12:04:49:594 CDT] Read: EQUERY_STRING
[12/08/1998 12:04:49:595 CDT] Env: QUERY_STRING=null
[12/08/1998 12:04:49:596 CDT] Will read 44 bytes for this line
[12/08/1998 12:04:49:597 CDT] Read: EREQUEST_URI        /JServ/ss_include_example.jhtml
[12/08/1998 12:04:49:599 CDT] Env: REQUEST_URI=/JServ/ss_include_example.jhtml
[12/08/1998 12:04:49:600 CDT] Will read 57 bytes for this line
[12/08/1998 12:04:49:601 CDT] Read: ESCRIPT_NAME        /jservlet/org.apache.jserv.servlets.JServSSI
[12/08/1998 12:04:49:602 CDT] Env: SCRIPT_NAME=/jservlet/org.apache.jserv.servlets.JServSSI
[12/08/1998 12:04:49:603 CDT] Will read 42 bytes for this line
[12/08/1998 12:04:49:604 CDT] Read: EPATH_INFO  /JServ/ss_include_example.jhtml
[12/08/1998 12:04:49:605 CDT] Env: PATH_INFO=/JServ/ss_include_example.jhtml
[12/08/1998 12:04:49:606 CDT] Will read 76 bytes for this line
[12/08/1998 12:04:49:607 CDT] Read: EPATH_TRANSLATED    /opt/APACHEhttpd/jserv/public_html/ss_include_example.jhtml
[12/08/1998 12:04:49:609 CDT] Env: PATH_TRANSLATED=/opt/APACHEhttpd/jserv/public_html/ss_include_example.jhtml
[12/08/1998 12:04:49:610 CDT] Will read 270 bytes for this line
[12/08/1998 12:04:49:611 CDT] Read: EPATH       /opt/HotJava1.1.4/bin:/opt/microsoft/bin:/opt/Acrobat3/bin:/opt/ssl/bin:/opt/xemacs/bin:/opt/netpbm/bin:/opt/misc/bin:/opt/gnu/bin:/opt/X11R5/bin:/usr/dt/bin:/usr/openwin/bin:/opt/pkgsys/bin:/bin:/sbin:/usr/ccs/bin:/usr/bin:/usr/sbin:/opt/tk8.0/bin:/opt/tcl8.0/bin
[12/08/1998 12:04:49:612 CDT] Env: PATH=/opt/HotJava1.1.4/bin:/opt/microsoft/bin:/opt/Acrobat3/bin:/opt/ssl/bin:/opt/xemacs/bin:/opt/netpbm/bin:/opt/misc/bin:/opt/gnu/bin:/opt/X11R5/bin:/usr/dt/bin:/usr/openwin/bin:/opt/pkgsys/bin:/bin:/sbin:/usr/ccs/bin:/usr/bin:/usr/sbin:/opt/tk8.0/bin:/opt/tcl8.0/bin
[12/08/1998 12:04:49:614 CDT] Will read 61 bytes for this line
[12/08/1998 12:04:49:615 CDT] Read: ESERVER_SOFTWARE    Apache/1.3.1 (Unix) JServ/1.0b mod_perl/1.15
[12/08/1998 12:04:49:616 CDT] Env: SERVER_SOFTWARE=Apache/1.3.1 (Unix) JServ/1.0b mod_perl/1.15
[12/08/1998 12:04:49:617 CDT] Will read 31 bytes for this line
[12/08/1998 12:04:49:618 CDT] Read: ESERVER_NAME        vlad.cbi.mobot.org
[12/08/1998 12:04:49:619 CDT] Env: SERVER_NAME=vlad.cbi.mobot.org
[12/08/1998 12:04:49:620 CDT] Will read 15 bytes for this line
[12/08/1998 12:04:49:621 CDT] Read: ESERVER_PORT        80
[12/08/1998 12:04:49:622 CDT] Env: SERVER_PORT=80
[12/08/1998 12:04:49:624 CDT] Will read 17 bytes for this line
[12/08/1998 12:04:49:625 CDT] Read: EREMOTE_HOST        vlad
[12/08/1998 12:04:49:626 CDT] Env: REMOTE_HOST=vlad
[12/08/1998 12:04:49:627 CDT] Will read 27 bytes for this line
[12/08/1998 12:04:49:628 CDT] Read: EREMOTE_ADDR        192.104.39.140
[12/08/1998 12:04:49:629 CDT] Env: REMOTE_ADDR=192.104.39.140
[12/08/1998 12:04:49:630 CDT] Will read 51 bytes for this line
[12/08/1998 12:04:49:631 CDT] Read: EDOCUMENT_ROOT      /opt/APACHEhttpd/share/apache/htdocs
[12/08/1998 12:04:49:632 CDT] Env: DOCUMENT_ROOT=/opt/APACHEhttpd/share/apache/htdocs
[12/08/1998 12:04:49:634 CDT] Will read 30 bytes for this line
[12/08/1998 12:04:49:635 CDT] Read: ESERVER_ADMIN       bpm@ec-group.com
[12/08/1998 12:04:49:636 CDT] Env: SERVER_ADMIN=bpm@ec-group.com
[12/08/1998 12:04:49:637 CDT] Will read 16 bytes for this line
[12/08/1998 12:04:49:638 CDT] Read: ESCRIPT_FILENAME
[12/08/1998 12:04:49:639 CDT] Env: SCRIPT_FILENAME=null
[12/08/1998 12:04:49:641 CDT] Will read 18 bytes for this line
[12/08/1998 12:04:49:642 CDT] Read: EREMOTE_PORT        37954
[12/08/1998 12:04:49:643 CDT] Env: REMOTE_PORT=37954
[12/08/1998 12:04:49:644 CDT] Will read 45 bytes for this line
[12/08/1998 12:04:49:645 CDT] Read: EREDIRECT_URL       /JServ/ss_include_example.jhtml
[12/08/1998 12:04:49:646 CDT] Env: REDIRECT_URL=/JServ/ss_include_example.jhtml
[12/08/1998 12:04:49:647 CDT] Will read 22 bytes for this line
[12/08/1998 12:04:49:648 CDT] Read: HConnection Keep-Alive
[12/08/1998 12:04:49:650 CDT] Header: Connection=Keep-Alive
[12/08/1998 12:04:49:651 CDT] Will read 56 bytes for this line
[12/08/1998 12:04:49:652 CDT] Read: HUser-Agent Mozilla/4.5b1 [en] (X11; I; SunOS 5.6 sun4u)
[12/08/1998 12:04:49:653 CDT] Header: User-Agent=Mozilla/4.5b1 [en] (X11; I; SunOS 5.6 sun4u)
[12/08/1998 12:04:49:654 CDT] Will read 10 bytes for this line
[12/08/1998 12:04:49:656 CDT] Read: HHost       vlad
[12/08/1998 12:04:49:657 CDT] Header: Host=vlad
[12/08/1998 12:04:49:658 CDT] Will read 75 bytes for this line
[12/08/1998 12:04:49:660 CDT] Read: HAccept     image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
image/png, */*
[12/08/1998 12:04:49:661 CDT] Header: Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
image/png, */*
[12/08/1998 12:04:49:662 CDT] Will read 21 bytes for this line
[12/08/1998 12:04:49:663 CDT] Read: HAccept-Encoding    gzip
[12/08/1998 12:04:49:664 CDT] Header: Accept-Encoding=gzip
[12/08/1998 12:04:49:665 CDT] Will read 19 bytes for this line
[12/08/1998 12:04:49:666 CDT] Read: HAccept-Language    en
[12/08/1998 12:04:49:667 CDT] Header: Accept-Language=en
[12/08/1998 12:04:49:671 CDT] Will read 34 bytes for this line
[12/08/1998 12:04:49:672 CDT] Read: HAccept-Charset     iso-8859-1,*,utf-8
[12/08/1998 12:04:49:673 CDT] Header: Accept-Charset=iso-8859-1,*,utf-8
[12/08/1998 12:04:49:674 CDT] Will read 85 bytes for this line
[12/08/1998 12:04:49:675 CDT] Read: HCookie     Apache=vlad.11492902422299426; JServSessionId=3fb571fbf256b6b0.1.902941183179
[12/08/1998 12:04:49:677 CDT] Header: Cookie=Apache=vlad.11492902422299426; JServSessionId=3fb571fbf256b6b0.1.902941183179
[12/08/1998 12:04:49:678 CDT] All data read.
[12/08/1998 12:04:49:679 CDT] Parsing cookies
[12/08/1998 12:04:49:702 CDT] Request is in session 3fb571fbf256b6b0.1.902941183179
[12/08/1998 12:04:49:755 CDT] Initializing servlet org.apache.jserv.servlets.JServSSI
[12/08/1998 12:04:49:769 CDT] Calling service()
[12/08/1998 12:04:49:854 CDT] Sending response headers.
[12/08/1998 12:04:49:855 CDT] Servlet-Log: org.apache.jserv.servlets.JServSSI: init
[12/08/1998 12:04:49:859 CDT] Status: 200 OK
[12/08/1998 12:04:49:860 CDT] Content-Type: text/html
[12/08/1998 12:04:49:893 CDT] Initializing servlet DateServlet
>How-To-Repeat:
Yes, put this .jhtml file in a location and load it.

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//E">
<html>
	<head>
		<title>Server Side Include Example</title>
	</head>

	<body BGCOLOR="#eeeeff">
<center>
<H1><img src="/system/images/banner.gif" alt="Java Web Server"></h1>
<H1>Server Side Include Example</H1>
</center>

This document is an example of server side includes.
<p>
This current date and time according to this server is:
<servlet code="DateServlet"></servlet>
<p>
The above date was inserted into this document by the server in response
to the following embedded HTML:
<p>
<code>&lt;SERVLET CODE="DateServlet"&gt;&lt;/SERVLET&gt;</code>
<hr>
<address><a href="mailto:java-server-feedback@java.sun.com">java-server-feedback@java.sun.com</a></address>
<!-- Created: Mon Aug 05 02:00:00 PDT 1996 -->
<!-- hhmts start -->
Last modified: Mon Feb 24 13:58:48 PST 1997
<!-- hhmts end -->
</body>
</html>
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message