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


Hi,
I tried this once out, but really should have put it in the documentation.
Basically, the Servlet just runs as any remote servelt, so if you've set
up the remote JServ successfully already, this is fine.

Problem is, that the SSI servlet really needs to access the *.jhtml
itself, and must be in the same zone the servlet to be executed is in.

So, in order to get the *.jtml-stuff running is to just place a copy of
these files on the server, the JServ server is running, i.e. the remote
machine without the actual apache.
Currently, the SSI servlets gets its information where the *.jhtml file
actually is from the Apache which resolves it using its document root,
giving an absolute path to read from. Because this can't be configured in
JSSI yet, you've to put the *.jtml-file it in a path, named the _same_ as
it would be on the server. So, if your files on the apache server are all
below /home/httpd/html, you've to create this exact path on the JServ
machine and place your *.jhtml-files there.

I've to check this out again, but I am a bit busy
right now. But these hints should be sufficent to make this all work.
Sorry, I'll work on this issue to make it easier in future versions to
use the distributed features of apache-jserv in conjuction with JSSI.

ciao,
 -hen

D| Hi
D| 
D| I am trying to run a .jhtml page on machine "A" while the servlet I am
D| trying to embed is on machine "B".
D| I have scanned through all the Jserv and JSSI material I could find, and I
D| can happily make servlets run and embed from diffrent zones if they are on
D| the same machine.
D| However if I have tried configuring as per Advanced Apache JServ
D| Techniques - remote mode config examp, but I still can't get the jhtml file
D| to find the servlet or for that matter the machine.
D| Where exactly should I specify the IP address of machime B?
D| Do I have machine B's zone.properties file on B or A?
D| 



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