----------------------------------------------------------------
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'm pretty sure there is no easy way to share session information between
JServ and mod_perl. The architectures are very different. Mod_perl runs
within each httpd process -- a different perl interpreter per process. It's
even difficult to share session information among these various interpreters
(although the Apache::Session module makes it easier)
JServ runs as a separate server linked via socket to each httpd process.
The session info in JServ is stored within this separate server. So unless
you use JNI to link in the java server to each mod_perl/httpd process,
there's no way to share sessions.
One work around might be to dump the JServ session information to disk or
shared memory (this would require JNI again) and then read it from
disk/shared memory in mod_perl. Or you could use a database to "share" the
session info.
Hope this helps.
--N
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of sudhi
Sent: Thursday, April 20, 2000 8:29 AM
To: Java Apache Users
Subject: Re: JServ and Mod_perl
----------------------------------------------------------------
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!!!
----------------------------------------------------------------
If you r running both of them with DSO ? Are they really sharing any
information (I mean session info ) ?
Steve Nguyen wrote:
>
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Yes it can. Indeed we are running both of them. We configured mod_perl
using
> experimental apxs (+DSO).
>
> Steve
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of sudhi
> Sent: Thursday, April 20, 2000 3:14 AM
> To: Java Apache Users; [EMAIL PROTECTED]
> Subject: JServ and Mod_perl
>
> ----------------------------------------------------------------
> 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 All,
> I have a strange question. I know nobody wants to do this. (I know jon
> don't like it at all).
> I read somewhere that mod_perl also has some session tracking
> functionality, and Jserv supports that.
> For my web site if I want to use both (perl and java), is there a way to
> get the session information or session objects from one to another. Or
> how can they two communicate with each other ? Is it possible at all ?
> If so can anybody give some info.
> Is it possible to develop a site which uses both, some pages use java
> and some perl. Can apache support both Jserv and mod_perl at the same
> time ( honestly I don't know much about mod_perl).
> Thanks in advance
> Sudhi
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]