On Monday, July 29, 2002, at 01:25 , Bill Brown wrote:
> Does the J2EE session framework through jsessionid persist across
> servers? I know that that was the problem with using the session scope
> in prior versions of CF. I also know that I could use the client
scope,
> but I'm not a big fan of that.

I haven't tried this, but the answer should be "yes". J2EE sessions can
be 
made to persist across a buddy-group of servers. However, I *think* you 
need the full JRun 4 edition for that to work - which would mean you'll 
need the "CFMX for J2EE" Edition. Hopefully someone else from MM can 
confirm / deny that?


Sean,

There was a post by Stacy Young a few days back stating that he was able
to accomplish this with the current release of CFMX.

Thread contents:
--------------------------------------------

Any version of CFMX...waiting for confirmation on whether it can be done
in Pro...I think so....


-----Original Message-----
From: Chris Kief [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 25, 2002 3:03 PM
To: CF-Talk
Subject: RE: Measuring session scope impact on memory?

Is this with CFMX for JRUN4 (currently in Beta)?

Chris


-----Original Message-----
From: Stacy Young [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 25, 2002 11:25 AM
To: CF-Talk
Subject: RE: Measuring session scope impact on memory?

Check this out:

http://livedocs.macromedia.com/jrun4docs/JRun_Administrators_Guide/clust
erin
g2.jsp#1113343

(watch for url wrapping)

This applies to CFMX since it runs on JRun4...and we're using it now. In
short, you specify a list of "buddy" servers running in the cluster and
CMFX will handle automatic session sync'ing with the other machines.

Here's a snippet of what to edit in the xml properties file:

<session-config>
  <persistence-config>
    <active>true</active>
    <persistence-type>file</persistence-type>
    <persistence-synchronized>true</persistence-synchronized>
    <class-change-option>reload</class-change-option>
    <session-swapping>true</session-swapping>
    <session-swap-interval>5</session-swap-interval>
    <session-max-resident>500</session-max-resident>
    <replication-config>
      <active>true</active>
      <buddy-list>jrunserver2</buddy-list>
      <buddy-list>jrunserver3</buddy-list>
      <buddy-list>jrunserver4</buddy-list>
    </replication-config>
  </persistence-config>
  ....

That should do it!


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to