----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I am experiencing an odd behavior with JSSI on JServ 1.1.  I have double (and
triple) checked my installation, but the code in the servlet tags doesn't
execute servlets in a servlet zone for a particular virtual host.

The irony is that the following code works:

<SERVLET CODE="Hello.class">
 servlets are not working
</SERVLET>

But the following doesn't:

<SERVLET CODE="MyHello.class">
 servlets are not working
</SERVLET>

Note that MyHello is a working simple servlet in a virtual hosted directory. 
I can execute servlet just fine with the full URL
(www.SolarisCentral.org/servlet/MyHello) but not from JSSI.  I would have
thought this was a path or repository issue, but I have the following in my
zones.properties for this virtual host:

servlet.JServSSI.code=org.apache.servlet.ssi.ParameterPropagatingSSI
servlet.JServSSI.initArgs=PropagateParameters=JServSessionId
servlet.JServSSI.initArgs=buffered=yes
servlet.JServSSI.initArgs=SSISiteRoot=/usr/local/apache/htdocs/solariscentral.org
repositories=/usr/local/jserv/servlets
repositories=/usr/local/jserv/SSI/ApacheJSSI.jar
repositories=/usr/local/apache/htdocs/solariscentral.org/servlets

I also have the following as the classpath in the jserv.properties:

wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
wrapper.classpath=/usr/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/local/mm.mysql.jdbc-1.2c/mysql_uncomp.jar
wrapper.classpath=/usr/local/jserv/SSI/ApacheJSSI.jar

I have no doubt that JServ is finding the JSSI libraries, but I believe it
can't find MyHello.  Does anyone have any clues about this or suggestions? 
The FAQ question about how to setup JSSI for virtual hosts is empty.  If I
figure this out I'll be glad to update the FAQ with my findings.

Duane


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to