----------------------------------------------------------------
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!!!
----------------------------------------------------------------

We have the following problem:

machine 1:
hostname is hernanc
OS: Linux Redhat 6.1
Apache 1.3.9 configured with JServ 1.0 as a shared dynamic object
hernanc apache is a fresh install with an Include to the example included
in JServ 1.0 with the following modifications:

ApJServMount /example ajpv11://prometeo/example
ApJServAction .jhtml /example/org.apache.servlet.ssi.SSI

These two keywords instruct the server to mount a remote zone called
example on prometeo and set the SSI servlet as a handler for .jhtml.


machine 2:
hostname is prometeo
OS: Linux Redhat 6.1
Installed apache 1.3.9 (we didn't use it, but see below who did) JServ
1.0 and Apache JSSI 1.1.2. Also installed is JDK1.2.2 and JSDK 2.0 (as
instructed in the readme).

jserv.properties was modified to reflect the correct paths on the machine
and to accept remote connections from hernanc
example.properties was modified to use the repositories we needed, for
example /usr/local/src/ApacheJSSI-1.1.2/src/java/ApacheJSSI.jar

Having done that, servlets started to work OK.

e.g.

http://hernanc/example/Hello

works great.

Also a page like:

http://hernanc/ssi.jhtml

works great

Given that the JDK for Linux was having some problems, our final setup
included using JServ remotely on an NT machine so we rebooted prometeo to
NT, installed and configured JServ and JSSI under NT. After the needed
changes reflecting NT's paths, the following happened:

http://hernanc/example/Hello

worked OK, but

http://hernanc/ssi.jhtml


didn't work. MMHHHH, strange.
So we rebooted to Linux and checked if it worked, and yes it was working.
Back to NT and it didn't work. We kept rebooting/checking configs for a
while and everything seemed OK but .jhtml pages when running JServ under NT
were not being served.}

Finally we discovered by chance that the .jhtml page was being served
remotely by prometeo, the page existed on both servers. Now we knew that
somehow Apache gets that page through apjv11 remotely and gets it from the
/usr/local/apache/htdocs, which in the dual Linux config we had by chance.
What we are trying to do now is learn how to point prometeo's JServ under
NT to serve pages from other directory different from
/usr/local/apache/htdocs. Can anybody help us with this? We've seen the
SSISiteRoot parameter and we tried using it with no success. Are we in the
right direction?
Thanks in advance.

Bye, Hernan





--
--------------------------------------------------------------
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