cancel
Showing results for 
Search instead for 
Did you mean: 

Session Failover Documentation

Former Member
0 Kudos

Is there any detailed documentation available concerning the configuration of session failover in the Java EE 5 preview?

Michael

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks for the clarification.

Michael

Former Member
0 Kudos

Thanks to both of you for the info.

Based on the testing from the tutorial it looks like the session failover is pretty straight forward.

Was there any configuration that was done to the preview version of the application server that would normally be performed by a customer to provide session failover?

Thanks.

Michael

Former Member
0 Kudos

Additional configuration was not made to the server and a customer does not need to do anything else in order to activate session failover. All you need to do is to set <b>fail-over-enable mode</b> in <b>application-j2ee-engine.xml</b>

Greetings,

Bobby

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Michael,

just to clarify: session failover functionality is not the new feature with shared memory!

While shared memory failover works immediately but just for the current server, session failover is the usual Java EE functionality that serializes to disk or database.

Regards,

Benny

Former Member
0 Kudos

Hi Benny ,

How is the new feature of shared memroy is working with the concept of stciky applcations like portal and webdynpro (the user gets sessionid that incldues the server node name that he was first connected to) . after shutting down a specific server all the web sessions are automatically transfered to the next avaliable server ,but all this session are corrupted because they are sticky ones.

Regards,

Pavel

Former Member
0 Kudos

Hello Michael,

to enable Session Failover, open the <b>application-j2ee-engine.xml</b> file and set:

<b> fail-over-enable mode="on_request" </b>

All the possible options are:

<b>disable</b> – failover is not enabled.

<b>on_request</b> – the HTTP session is serialized after completing each request.

<b>on_attribute</b> – the HTTP session is serialized every time an attribute is added, changed, or removed from the HTTP session.

Greetings,

Bobby

Former Member
0 Kudos

Hi Michael,

did you have a look at the recordings available in the SAP NetWeaver Developer Studio?

Those can be accessed via the Welcome page of the Developer Studio:

Help -> Welcome from the main menu, then (on the Welcome page) open the Tutorials tab, then click on Session Failover. This opens a page with links to 3 flash movies, which guide you through steps to configure and eexecute the session failover demo.

Hope that helps!