[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Running a standalone tomcat session replication  XML
Forum Index -> Terracotta for Web Sessions
Author Message
erezhara

master

Joined: 08/01/2007 02:36:19
Messages: 57
Offline

I'm trying to runa simple session replication example with tomcat and terracotta (terracotta-2.4-stable1).
this sample works well when run inside Session Configurator. However, when following the instructions to run it standalone, it does not. It behaves in a strange manner, i.e. each time I switch browser in the same session I get the session reset..

to the tomcat startup script I have added the following parameters:
-Xbootclasspath/p:"%TC_INSTALL_DIR%\lib\dso-boot\dso-boot-hotspot_win32_150_10.jar"
-Dtc.install-root="%TC_INSTALL_DIR%"
-Dtc.config="localhost:9510"

see the attached jsp file and config file..

what am I missing?
 Filename files.zip [Disk] Download
 Description simple jsp and config file
 Filesize 1 Kbytes
 Downloaded:  318 time(s)

[Email]
kbhasin

consul

Joined: 12/04/2006 13:08:21
Messages: 340
Offline

Hi Erez,


each time I switch browser in the same session I get the session reset..
 


When you say "switch browser", do you mean different windows (or tabs) of the same browser session (e.g. Firefox) or you mean switch from one browser to another (e.g. IE to Firefox)?

Regards,

Kunal Bhasin,
Terracotta, Inc.

Be a part of the Terracotta community: Join now!
erezhara

master

Joined: 08/01/2007 02:36:19
Messages: 57
Offline

I switch browser using ctrl+n (same session)
anyway, problem was solved.. the thing must have been the log files having relative paths in config file.
would you know how this might have affected the system?
[Email]
kbhasin

consul

Joined: 12/04/2006 13:08:21
Messages: 340
Offline

The path to log files or server data directory should have nothing to do with Sessions getting reset or not being shared.

I'm glad it working for you now.

Regards,

Kunal Bhasin,
Terracotta, Inc.

Be a part of the Terracotta community: Join now!
 
Forum Index -> Terracotta for Web Sessions
Go to:   
Powered by JForum 2.1.7 © JForum Team