By following http://java.apache.org/faq/fom-serve/cache/144.html I
finally got Apache 1.3.6 and JServ 1.0b4 working. The example servlet
Hello works, so I then tried to install another servlet by copying it to
/usr/local/apache/example, restarting Apache, and opening
http://localhost/example/UTF8Mirror
This class generates an HTML Form for posting UTF8 characters which are
reflected by the servlet. I don't think it needs any init parameters.
any ideas?
Walter
/usr/local/apache/logs/error_log
[Tue May 18 13:49:48 1999] [notice] Apache/1.3.6 (Unix) ApacheJServ/1.0b4 configured
-- resuming normal operations
java.lang.AbstractMethodError: org/apache/jserv/JServConnection.encodeURL
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
/usr/local/apache/logs/jserv-trace.log
[18/05/1999 14:36:05:004 CEST] Connection from localhost/127.0.0.1
[18/05/1999 14:36:05:129 CEST] Initializing servlet request
[18/05/1999 14:36:05:172 CEST] Reading request data
[18/05/1999 14:36:05:281 CEST] Will read 19 bytes for this line
[18/05/1999 14:36:05:289 CEST] Read: Cexample UTF8Mirror
[18/05/1999 14:36:05:296 CEST] Servlet Zone: example Servlet: UTF8Mirror
[18/05/1999 14:36:05:306 CEST] Will read 20 bytes for this line
[18/05/1999 14:36:05:312 CEST] Read: Shobbit.dialogika.de
[18/05/1999 14:36:05:318 CEST] Hostname: hobbit.dialogika.de
[18/05/1999 14:36:05:324 CEST] Will read 39 bytes for this line
[18/05/1999 14:36:05:351 CEST] Read: EDOCUMENT_ROOT /usr/local/apache/htdocs
[18/05/1999 14:36:05:357 CEST] Env: DOCUMENT_ROOT=/usr/local/apache/htdocs
[18/05/1999 14:36:05:363 CEST] Will read 26 bytes for this line
[18/05/1999 14:36:05:369 CEST] Read: EGATEWAY_INTERFACE CGI/1.1
[18/05/1999 14:36:05:381 CEST] Env: GATEWAY_INTERFACE=CGI/1.1
[18/05/1999 14:36:05:387 CEST] Will read 146 bytes for this line
[18/05/1999 14:36:05:393 CEST] Read: EPATH
/sbin:/usr/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/var/lib/dosemu:/usr/games/bin:/usr/games:/opt/kde/bin:/opt/jdk1.2/bin
[18/05/1999 14:36:05:400 CEST] Env:
PATH=/sbin:/usr/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/var/lib/dosemu:/usr/games/bin:/usr/games:/opt/kde/bin:/opt/jdk1.2/bin
[18/05/1999 14:36:05:405 CEST] Will read 14 bytes for this line
[18/05/1999 14:36:05:412 CEST] Read: EQUERY_STRING
[18/05/1999 14:36:05:418 CEST] Env: QUERY_STRING=
[18/05/1999 14:36:05:424 CEST] Will read 26 bytes for this line
[18/05/1999 14:36:05:435 CEST] Read: EREMOTE_ADDR 192.54.36.152
[18/05/1999 14:36:05:442 CEST] Env: REMOTE_ADDR=192.54.36.152
[18/05/1999 14:36:05:447 CEST] Will read 17 bytes for this line
[18/05/1999 14:36:05:454 CEST] Read: EREMOTE_PORT 1834
[18/05/1999 14:36:05:471 CEST] Env: REMOTE_PORT=1834
[18/05/1999 14:36:05:477 CEST] Will read 19 bytes for this line
[18/05/1999 14:36:05:490 CEST] Read: EREQUEST_METHOD GET
[18/05/1999 14:36:05:497 CEST] Env: REQUEST_METHOD=GET
[18/05/1999 14:36:05:503 CEST] Will read 32 bytes for this line
[18/05/1999 14:36:05:509 CEST] Read: EREQUEST_URI /example/UTF8Mirror
[18/05/1999 14:36:05:520 CEST] Env: REQUEST_URI=/example/UTF8Mirror
[18/05/1999 14:36:05:526 CEST] Will read 36 bytes for this line
[18/05/1999 14:36:05:551 CEST] Read: ESCRIPT_FILENAME /example/UTF8Mirror
[18/05/1999 14:36:05:557 CEST] Env: SCRIPT_FILENAME=/example/UTF8Mirror
[18/05/1999 14:36:05:672 CEST] Will read 32 bytes for this line
[18/05/1999 14:36:05:678 CEST] Read: ESCRIPT_NAME /example/UTF8Mirror
[18/05/1999 14:36:05:686 CEST] Env: SCRIPT_NAME=/example/UTF8Mirror
[18/05/1999 14:36:05:698 CEST] Will read 38 bytes for this line
[18/05/1999 14:36:05:704 CEST] Read: ESERVER_ADMIN [EMAIL PROTECTED]
[18/05/1999 14:36:05:710 CEST] Env: [EMAIL PROTECTED]
[18/05/1999 14:36:05:716 CEST] Will read 32 bytes for this line
[18/05/1999 14:36:05:722 CEST] Read: ESERVER_NAME hobbit.dialogika.de
[18/05/1999 14:36:05:729 CEST] Env: SERVER_NAME=hobbit.dialogika.de
[18/05/1999 14:36:05:734 CEST] Will read 15 bytes for this line
[18/05/1999 14:36:05:740 CEST] Read: ESERVER_PORT 80
[18/05/1999 14:36:05:756 CEST] Env: SERVER_PORT=80
[18/05/1999 14:36:05:762 CEST] Will read 25 bytes for this line
[18/05/1999 14:36:05:768 CEST] Read: ESERVER_PROTOCOL HTTP/1.0
[18/05/1999 14:36:05:775 CEST] Env: SERVER_PROTOCOL=HTTP/1.0
[18/05/1999 14:36:05:782 CEST] Will read 88 bytes for this line
[18/05/1999 14:36:05:783 CEST] Read: ESERVER_SIGNATURE <ADDRESS>Apache/1.3.6 Server
at hobbit.dialogika.de Port 80</ADDRESS>
[18/05/1999 14:36:05:784 CEST] Env: SERVER_SIGNATURE=<ADDRESS>Apache/1.3.6 Server at
hobbit.dialogika.de Port 80</ADDRESS>
[18/05/1999 14:36:05:784 CEST] Will read 54 bytes for this line
[18/05/1999 14:36:05:785 CEST] Read: ESERVER_SOFTWARE Apache/1.3.6 (Unix)
ApacheJServ/1.0b4
[18/05/1999 14:36:05:786 CEST] Env: SERVER_SOFTWARE=Apache/1.3.6 (Unix)
ApacheJServ/1.0b4
[18/05/1999 14:36:05:786 CEST] Will read 75 bytes for this line
[18/05/1999 14:36:05:787 CEST] Read: HAccept image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, image/png, */*
[18/05/1999 14:36:05:788 CEST] Header: Accept=image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, image/png, */*
[18/05/1999 14:36:05:789 CEST] Will read 34 bytes for this line
[18/05/1999 14:36:05:789 CEST] Read: HAccept-Charset iso-8859-1,*,utf-8
[18/05/1999 14:36:05:856 CEST] Header: Accept-Charset=iso-8859-1,*,utf-8
[18/05/1999 14:36:05:856 CEST] Will read 21 bytes for this line
[18/05/1999 14:36:05:857 CEST] Read: HAccept-Encoding gzip
[18/05/1999 14:36:05:858 CEST] Header: Accept-Encoding=gzip
[18/05/1999 14:36:05:858 CEST] Will read 19 bytes for this line
[18/05/1999 14:36:05:859 CEST] Read: HAccept-Language en
[18/05/1999 14:36:05:860 CEST] Header: Accept-Language=en
[18/05/1999 14:36:05:886 CEST] Will read 22 bytes for this line
[18/05/1999 14:36:05:887 CEST] Read: HConnection Keep-Alive
[18/05/1999 14:36:05:888 CEST] Header: Connection=Keep-Alive
[18/05/1999 14:36:05:888 CEST] Will read 12 bytes for this line
[18/05/1999 14:36:05:889 CEST] Read: HHost hobbit
[18/05/1999 14:36:05:890 CEST] Header: Host=hobbit
[18/05/1999 14:36:05:913 CEST] Will read 16 bytes for this line
[18/05/1999 14:36:05:914 CEST] Read: HPragma no-cache
[18/05/1999 14:36:05:915 CEST] Header: Pragma=no-cache
[18/05/1999 14:36:05:916 CEST] Will read 55 bytes for this line
[18/05/1999 14:36:05:916 CEST] Read: HUser-Agent Mozilla/4.5 [en] (X11; I;
Linux 2.2.5 i586)
[18/05/1999 14:36:05:917 CEST] Header: User-Agent=Mozilla/4.5 [en] (X11; I; Linux
2.2.5 i586)
[18/05/1999 14:36:05:951 CEST] All data read.
[18/05/1999 14:36:05:951 CEST] Parsing cookies
[18/05/1999 14:36:06:828 CEST] Initializing servlet: 'UTF8Mirror' ; initArgs: '{}'
[18/05/1999 14:36:06:875 CEST] UTF8Mirror: init
[18/05/1999 14:36:07:007 CEST] Calling service()
[18/05/1999 14:36:08:053 CEST] Sending response headers.
[18/05/1999 14:36:08:063 CEST] Status: 500 Internal Server Error
[18/05/1999 14:36:08:094 CEST] Servlet-Error: java.lang.AbstractMethodError:
org/apache/jserv/JServConnection.encodeURL: org/apache/jserv/JServConnection.encodeURL
[18/05/1999 14:36:08:100 CEST] Content-Type: text/html; charset=utf-8
[18/05/1999 14:36:08:413 CEST] java.lang.AbstractMethodError:
org/apache/jserv/JServConnection.encodeURL
at UTF8Mirror.getHomeURL(Compiled Code)
at UTF8Mirror.exec(Compiled Code)
at UTF8Mirror.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
-- --------------------------------------------------------------
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]