[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-09 Thread [EMAIL PROTECTED]
You should set the useJK flag in 4.0.2.  There was a problem with the 
JVMRouteFilter in 4.0.0 (see issue 1037726 on Sourceforge), but that was fixed 
in 4.0.1.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911759#3911759

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911759


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-08 Thread [EMAIL PROTECTED]
Hi,  

You will need to post a lot more information than that!  :-)

- your cluster config
- are all your nodes on the same machine?
- have you tried the JGroups tests - 
http://www.jgroups.org/javagroupsnew/docs/newuser/node13.html
- anything in your error logs



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911379#3911379

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911379


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-08 Thread jbaiju
Hi,
Thanks.

are all your nodes on the same machine? 

No. I am running it in different machine 

My cluster config file
here i am adding the lines which i changed 

1. server.xml



2. jboss-service.xml

  false
  false
  true

4. worker.properties in appache/conf

worker.list=loadbalancer,status

# Define Node1
# modify the host as your host IP or DNS name.
worker.node1.port=8009
worker.node1.host=server1
worker.node1.type=ajp13
worker.node1.lbfactor=1
worker.node1.cachesize=10

worker.node2.port=8009
worker.node2.host=server2
worker.node2.type=ajp13
worker.node2.lbfactor=1
worker.node2.cachesize=10


# Load-balancing behaviour
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1,node2
worker.loadbalancer.sticky_session=0
#worker.list=loadbalancer


# Status worker for managing load balancer
worker.status.type=status


These are the changes i have done, there is no error in the log, simply in the 
application we are verfiying for the user session if the session is not there 
we are redirecting to login page.

Everthing working fine with sticky session

thanks

Baiju


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911386#3911386

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911386


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-08 Thread jbaiju
xml tags are missing 

server.xml

Engine name=jboss.web defaultHost=localhost jvmRoute=node1

jboss-service.xml

attribute name=UseJBossWebLoader = false
attribute name=UseLocalCache = false
attribute name=UseJK = true

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911387#3911387

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911387


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-08 Thread jbaiju
Hi Manik,

Session replication is working when we change the worker.properties

worker.loadbalancer.sticky_session=0 to 1

when the first server fails, the user is redirected to the second server and 
the session of the user is available in the second one can you please explain 
me how it is working 

thanks 

baiju

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911409#3911409

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911409


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-08 Thread [EMAIL PROTECTED]
Hi there.  This is the typical characteristic of sticky sessions, where all 
requests for a given session are directed to a single server until that server 
fails.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911415#3911415

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911415


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-08 Thread shvetha
I have a related problem regarding loadbalancing and session sharing. 

I have worker.loadbalancer.sticky_session=1 in my worker.properties file on 
Apache. ( Let me know if I should send the complete worker.properties).  Yet, 
the loadbalancer seems to be trying to send requests to both the servers. The 
first page goes to the first server and when I try submitting the page, the 
request goes to the second server.
 And it seems like the session information has not been shared between the 2 
servers yet. Because the response page has most elements missing. Only static 
logos and links show up. None of the real application elements are showing up.
I have set the JVMRoute='nodename' in server.xml on both servers.

An interesting thing I noticed was the when I tried to set the UseJK attribute 
to true in jboss-service.xml, the server would not start up and would give an 
error in JVMRouteFilter.  So have run the server without this. But clustering 
works. Am using JBoss 4.0.0.

Suprisingly, failover works fine. When a server goes down, the other server 
picks it up instantly.  I can see that the 2 servers have recognised each other 
and formed a cluster. Tried the jgroups Draw test recommended here too. works 
fine.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911508#3911508

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911508


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-08 Thread jbaiju
hi,

i think in JBoss 4.0.0 we dont need to add the attribute useJK, now we are 
using jBoss 4.0.2RC1 everything works fine in jboss ... but some time apache 
showing service not available ... if i refresh the page the page get loaded

baiju

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911630#3911630

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911630


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user