[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

RE: About ApacheJserv/1.1


Thank you for your reply.

class file has existed on /usr/local/apache/servlets with .java file.
I don't specify above path on the wrapper.classpath, but
I sepcify repositories=/usr/local/apache/servlets on zone.properties at default.
and I specify "ApJServMount /servlets /root" at default on the jserv.conf.
 
So I think that I need not generate a class file from your java file and put it in a directory specified in wrapper.classpath. use the url without the .java extension.
 
And when I request http://xxx.xxx.xxx.xxx/servlets/hello without .java, I got this problem....
 
 
[jserv.properties]
 :
wrapper.classpath=/usr/local/apache/libexec/ApacheJServ.jar
wrapper.classpath=/usr/local/JSDK/lib/jsdk.jar
wrapper.classpath=/usr/local/apache/beans
wrapper.classpath=/usr/local/jdk/lib/tools.jar
wrapper.classpath=/usr/local/jserv/citrix
wrapper.classpath=/usr/local/jserv/citrix/nfuse.jar
wrapper.classpath=/usr/local/jserv/citrix/ctxxml4j.jar
 :
# Default: NONE
zones=root,alph,citrix
 :
# Configuration file for each servlet zone (one per servlet zone)
# Syntax: [servlet zone name as on the zones list].properties=[full path to conf
igFile] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
root.properties=/usr/local/apache/conf/jserv/zone.properties
alph.properties=/usr/local/apache/conf/jserv/alph.properties
citrix.properties=/usr/local/apache/conf/jserv/citrix.properties

[jserv.conf]
 :
ApJServMount /servlets /root
ApJServMount /servlet /root
ApJServMount /alph /alph
ApJServMount /citrix /citrix

[zone.properties]
repositories=/usr/local/apache/servlets
-----Original Message-----
From: Christoph Bohl [mailto:Christoph.Bohl@akadia.ch]
Sent: Tuesday, May 02, 2000 8:15 PM
To: Kimihiko.Kitase@citrix.co.jp; gnujsp@gjt.org
Subject: Re:

generate a class file from your java file and put it in a directory specified in wrapper.classpath. use the url without the .java extension.

At 19:39 02.05.00 +0900, Kimihiko.Kitase@citrix.co.jp wrote:
About ApacheJserv/1.1 Installation

I installed ApacheJserv/1.1 on Apache1.3.12 for Redhat6.1.
1. I remove Apache1.3.9 that is pre-installed

<Install Apache 1.3.12>
2. cp apache_1.3.12.tar.Z /usr/local
3. tar -xvZf apache_1.3.12.tar.Z
4. cd apache_1.3.12
5. ./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-
    shared=rewrite
6. make
7. make install
8. cd /usr/local/apache/conf
9. Edit httpd.conf and find the entry ServerName. Make sure the name of your

    server is listed there or edit the entry if necessary.
10. cd /usr/local/apache/bin
11. ./apachectl start
12. Open your web browser and connect to http://localhost. You should now
see the default Apache Web server page.

I got the following messages
----------------------------------------------------------------------------
-----------------
Not Found
The request URL /servlets/Hello.java was not found on this server.
Apache/1.3.12 Server at 10.128.1.206 Port 80
----------------------------------------------------------------------------
-----------------

[mod_jserv.log]
[02/05/2000 19:08:03:098] (ERROR) ajp12: Servlet Error:
ClassNotFoundException:
Hello.java

[error_log]
[Tue May  2 18:58:53 2000] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1
configu
red -- resuming normal operations
java.io.IOException: Directory not writable: /usr/local/apache/logs
        at org.apache.jserv.JServ.start(JServ.java, Compiled Code)
        at org.apache.jserv.JServ.main(JServ.java, Compiled Code)

[access_log]
10.128.1.95 - - [02/May/2000:19:08:03 +0900] "GET /servlets/Hello.java
HTTP/1.1"
 404 294


Anyone know these problem?
Best regards,
Kimihiko Kitase


-----------------------------------------------------------------------
Akadia AG                    Tel: 033 335 86 23 / Mobile: 079 257 85 71
Information Technology       Fax: 033 335 86 25
Arvenweg 4                 EMail: Christoph.Bohl@akadia.ch
CH-3604 Thun                 Web: http://www.akadia.ch/
-----------------------------------------------------------------------