----------------------------------------------------------------
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 understood this from my JServ understanding and not from you ;-)
I am running two Apache's one regular and one secure and they have different
hostnames.
I guess we should have choosen the same hostname to make it real eays .....
Anyways, since both are using the same ajpv11 instance, can I make my
servlets thread safe across HOSTNAMES?
I don't need cookies or session tracking, I am just saving DATA on FILE and
accessing the same servlet from the :80 and the :443 side.
Christian
>> Christian Schrader wrote:
>> >
>> > Thanks,
>> > I haven't updated to the 1.1b3 version, since I want to wait,
>> until it is
>> > production stable.
>> > But I understand this correctly: A syncronize in my saveFile function
>> > wouldn't work between the SSL server:443/servlet and the
>> server:80/servlet.
>> >
>> Why did you understand this ???
>> I said : your browser (tested with Navigator) send the session cookie
>> regardless the protocol used.
>> This means that you can use http or https and hit the same zone, even on
>> different mount points.
>> You can use 1 Apache listening http on port 80 plus the same Apache (or
>> another one on THE SAME HOSTNAME) listening https on port 443 and only
>> ONE JServ listening on port 8007. If the same session id is shared
>> between secure & nonsecure servers, no problem on the java side. JServ
>> can even ignore the protocol used (http/https).
>>
>> ex:
>> ApJServMount /servlet /root
>> ApJServMount /sslservlet /root
>>
>> with /sslservlet possibly restricted (by Apache) to SSL protocol.
>>
http://localhost/servlet/test and https://localhost/sslservlet/test
will hit the same servlet test in zone root and share the same session.
Jean-Luc
--
--------------------------------------------------------------
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]
--
--------------------------------------------------------------
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]