Hi, Folks, I have a web report service application, which is a servlet application, accepting the requests from clients ( using UrlConnection.connect() ) to generate report. I have setup 2 instances in my computer using clustering.
The work flow is like this: 1.) the client use new URL(http://locahost/report/submit? ).connection() to submit request to report server to generate a report. At report server site, it will generate a sessionID, for example: anonymous wrote : D914C93143AF95B2712C64E7637EED68.node1, This ID will save in a hashtable of report server code , and the server responds this id to client. 2.) After client gets this id, every 15 seconds, the client will use this id to query the status of the percentage of report done. new URL(http://locahost/report/query?id=D914C93143AF95B2712C64E7637EED68.node1 ).connection() the current issue is the each request doesn't maintain a Session, so when the client sends the first query to node1, the second query will send the node2, but node2 doesn't save the id, so the client gets no id for the second quest. I have set up worker.loadbalancer.sticky_session=1 in workers.perperties. but it is not useful. 1.)There is any way to fix this issue? 2.) or can I specify a node to send? because I know seesion id is like this anonymous wrote : D914C93143AF95B2712C64E7637EED68.node1, I can retrieve node1 , so I can send the request to it. Thank you. Chwang Thank you very much. Chwang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955341#3955341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955341 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user