I run Jboss3.2.3/tomcat on 2 computers with clustering support. (run -c all), I want
to test the HttpSession Replication function from tomcat.
but it seems failed.
any advice would highly appreciate.
----------
how I tested:
i wrote a servlet, which implements java.io.serializable.
.....
HttpSession session=request.getSession();
session.setAttribute("username", "peterjack-"+(new java.util.Date()));
session.setAttribute("password", "passoooo");
.......
and jsp for viewing the session value.
only the jsp on the same server can see the session value, the other node's jsp cannot.
here is my jboss server.log file
----------
2004-04-26 19:06:53,493 INFO [org.jboss.deployment.MainDeployer] Starting deployment
of package: file:/D:/jboss-3.2.3/server/all/farm/testWeb222.war
2004-04-26 19:06:53,634 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy,
ctxPath=/testWeb222,
warUrl=file:/D:/jboss-3.2.3/server/all/tmp/deploy/tmp28155testWeb222.war/
2004-04-26 19:06:53,649 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService]
ClusteredHTTPSessionService found
2004-04-26 19:06:53,649 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Enabled
clustering support for ctxPath=/testWeb222
2004-04-26 19:06:53,774 INFO [org.jboss.web.localhost.Engine]
SingleSignOnContextConfig[/testWeb222]: Added certificates -> request attribute Valve
2004-04-26 19:06:53,806 WARN [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Unable
to invoke setDelegate on class loader:[EMAIL PROTECTED]
2004-04-26 19:06:53,806 INFO [org.jboss.web.localhost.Engine]
StandardWrapper[/testWeb222:default]: Loading container servlet default
2004-04-26 19:06:53,806 INFO [org.jboss.web.localhost.Engine]
StandardWrapper[/testWeb222:invoker]: Loading container servlet invoker
2004-04-26 19:06:53,993 INFO [org.jboss.deployment.MainDeployer] Deployed package:
file:/D:/jboss-3.2.3/server/all/farm/testWeb222.war
2004-04-26 19:06:53,993 INFO [org.jboss.ha.framework.server.FarmMemberService]
Started jboss:service=FarmMember,partition=DefaultPartition
2004-04-26 19:06:53,993 INFO [org.jboss.deployment.MainDeployer] Deployed package:
file:/D:/jboss-3.2.3/server/all/deploy/deploy.last/
2004-04-26 19:06:54,009 INFO [org.jboss.deployment.scanner.URLDeploymentScanner]
Started jboss.deployment:type=DeploymentScanner,flavor=URL
2004-04-26 19:06:54,040 INFO [org.jboss.deployment.MainDeployer] Deployed package:
file:/D:/jboss-3.2.3/server/all/conf/jboss-service.xml
2004-04-26 19:06:54,056 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel)
[3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 20s:484ms
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832376#3832376
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832376
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development