Author |
Message |
08/01/2007 02:42:30
|
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 |
Download
|
Description |
simple jsp and config file |
Filesize |
1 Kbytes
|
Downloaded: |
318 time(s) |
|
|
|
08/01/2007 03:05:17
|
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! |
|
|
08/01/2007 04:53:24
|
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?
|
|
|
08/01/2007 10:35:12
|
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! |
|
|
|