Hello all, Running Linux virtual server, apache 1.3.11, jsdk2.0 Read the FAQ's they took me this far... Got everything set up in httpd.conf, jserv.properties, and the respective my_zone.properties file. When i Browse the test servlet http://my.domain.com/testservlets/HelloWorldServlet it works and displays "Hello World." Now I've implemented a more advance servlet and browse it: http://my.domain.com/myservlet/AdvancedServlet?a=w5 the browser shows an "Internal Server Error" a look at jserv.log shows the following: -- jerv.log ------------------ [14/07/2000 11:01:06:489] (INFO) ajp12: sending shutdown signal [14/07/2000 11:01:06:490] (EMERGENCY) ajp12: can not connect to host 212.69.195.15:8007 [14/07/2000 11:01:06:490] (EMERGENCY) ajp12: function connection fail [14/07/2000 11:01:12:116] (INFO) Apache Module was cleaned-up [14/07/2000 11:01:15:232] (INFO) wrapper classpath: /usr/apps/java/lib/tools.jar :/usr/lib/apache/ApacheJServ.jar:/usr/apps/jsdk2.0/lib/jsdk.jar:/home/httpd/servlets/hello_world_zone:/home/httpd/servlets/share_zone:/home/httpd/servlets/neff_zone [14/07/2000 11:01:15:232] (INFO) wrapper: Java VM spawned (PID=26164, PPID=26154) [14/07/2000 11:01:25:241] (INFO) wrapper: watching processes (PID=26154,PPID=26153,JVM PID=26164) [14/07/2000 11:05:22:720] (ERROR) ajp12: Servlet Error: Initialization error while loading the servlet: dealer.csv (No such file or directory) [14/07/2000 11:05:22:720] (ERROR) an error returned handling request via protocol "ajpv12" -------------------- I copied the HelloWorldServlet.class into the /myservlet servlet zone then browse: http://my.domain.com/myservlet/HelloWorldServlet the test servlet displays ok. The AdvancedServlet is suppose to search a file dealer.csv the jserv.log claims it cannot find this file but the file exists in the same directory as the servlet. The file permission is set to world readable. The webserver and JVM (JServ) has all the rights it should need. Can anybody help? Thanks in advance. For reference here are my configuration files entries with respect to servlets. httpd.conf ========== NameVirtualHost 000.000.000.000:80 LoadModule jserv_module /usr/lib/apache/mod_jserv.so <IfModule mod_jserv.c> ApJServManual off ApJServProperties /etc/httpd/conf/jserv.properties ApJServLogFile /var/log/httpd/jserv.log ApJServDefaultProtocol ajpv12 ApJServDefaultHost "localhost" ApJServSecretKey DISABLED ApJServMount /testservlets /hello_world_zone ApJServMount /share /share_zone ApJServMountCopy on <Location /jserv/> SetHandler jserv-status order deny,allow deny from all allow from my.MainDomain.com 000.000.000.000 </Location> </IfModule> <VirtualHost 000.000.000.000> ServerName my.domain.com DocumentRoot /www/vhtdocs/domain <IfModule mod_jserv.c> ApJServDefaultPort 8007 ApJServMount /myservlet /my_zone </IfModule> </VirtualHost> jserv.properties ================ wrapper.bin=/usr/apps/java/bin/java wrapper.class=org.apache.jserv.JServ wrapper.classpath=/usr/apps/java/lib/tools.jar wrapper.classpath=/usr/lib/apache/ApacheJServ.jar wrapper.classpath=/usr/apps/jsdk2.0/lib/jsdk.jar # # *** add the path of my servlets! *** wrapper.classpath=/home/httpd/servlets/hello_world_zone wrapper.classpath=/home/httpd/servlets/share_zone wrapper.classpath=/home/httpd/servlets/my_zone wrapper.protocol=ajpv12 port=8007 zones=my_zone,hello_world_zone,share_zone my_zone.properties=/home/httpd/servlets/my_zone/my_zone.properties hello_world_zone.properties=/home/httpd/servlets/hello_world_zone/hello_world_zone.properties share_zone.properties=/home/httpd/servlets/share_zone/share_zone.properties security.maxConnections=50 security.allowedAddresses=127.0.0.1,xxx.xxx.xxx.xxx security.authentication=false security.challengeSize=5 log=true log.file=/var/log/httpd/jserv.log log.timestamp=true log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz] log.channel.init=true log.channel.terminate=true log.channel.serviceRequest=true log.channel.authentication=true log.channel.requestData=true log.channel.responseHeaders=true log.channel.signal=true log.channel.exceptionTracing=true log.channel.servletManager=true my_zone.properties ================== #Specify the repositories this zone contains. # Syntax: repositories=<repository>,<repository>... # (either comma-separated or multiple 'repositories' directives) repositories=/home/httpd/servlets/my_zone ------------------------------------------------------------------------------ Archives: http://www.egroups.com/group/jrun-interest/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
