[JBoss-user] [Clustering/JBoss] - Re: How to send a request to a node instance that I specify

2006-07-10 Thread chwang
Hi, Geert,

I tried both ways, they don't work. 

First, I used httpclient to set cookie, but Appache2.0 still sends the package 
to different node. 

Second, I used Apache2.2, mod_proxy, mod_proxy_ http , mod_proxy_balancer 
,does't work well. 

Thank you very much. I am not sure the reason why.

Chwang


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956726#3956726

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956726


-
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


[JBoss-user] [Clustering/JBoss] - Re: Changing Ports (two nodes, same machine, 4.0.4)

2006-07-10 Thread burakbayramli
Just looked, bindingservice-plugin.jar was not in the JBoss 4.0.4 installation. 

How should I install JBoss in order to get this jar? Or should I deploy this 
file manually (through Ant) from my project's development lib directory? Either 
way is fine, I just want to know the right method. 

Thanks, 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956532#3956532

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956532


-
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


[JBoss-user] [Clustering/JBoss] - Re: Where to specify custom LoadBalancePolicy?

2006-07-10 Thread vishnu_vsv
Hello Kurt,

Thanks for your reply.

I don't want to send each request to the same node every time.
My requirement is like this:
Suppose first request from UserA is handled by NodeA, i want NodeA to handle 
all subsequent request from UserA. Similarly if NodeB handles first request 
from UserB, NodeB should handle all subsequent request from UserB. 

This is the constraint in our application. We are developing a application to 
create a meeting request in Microsoft Outlook directly using MAPI calls. For 
this all request from one user should be handled by one Node because of some 
profile creation problem.

To achieve this, i need to write my own LoadBalancePolicy class.
I want to know how to do this. Is it enough if i replace LoadBalancePolicy 
attribute in cluster-service.xml with my custom LoadBalancePolicy class or 
something else i need to do?

Thanks in advance.

Vishnu


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956480#3956480

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956480


-
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


[JBoss-user] [Clustering/JBoss] - Re: Changing Ports (two nodes, same machine, 4.0.4)

2006-07-10 Thread [EMAIL PROTECTED]
Do you see bindingservice-plugin.jar in your lib directory?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956479#3956479

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956479


-
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


[JBoss-user] [Clustering/JBoss] - Re: Where to specify custom LoadBalancePolicy?

2006-07-08 Thread jboss2005_01
So you don't want to actually use clustering at all since you sent eacht 
request to the same node every time...

To achieve a request specific node for subsequent requests within the same 
application, I think you need to write your own LoadBalance policies

Where do you need this behaviour for actually?


Kurt

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956373#3956373

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956373

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


[JBoss-user] [Clustering/JBoss] - Re: Unique for every server instance.

2006-07-08 Thread jboss2005_01
Hi, 

Perhaps a stupid idea, but why don't you bind a constant value to each JBoss 
AS's Naming Service with the same name and a different value that you use as a 
unique ID and include this value in your request to the server. Take a look at 
the properties service provided with each JBoss AS. Perhaps this is useful for 
your purpose.

Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956372#3956372

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956372

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


[JBoss-user] [Clustering/JBoss] - Re: Problem with Loadbalancing of Sateless Session Beans acr

2006-07-08 Thread jboss2005_01
Interesting point you mention. I guess this is normal since EJBs rely on the 
dynamic proxy to decide to which node the request from the client application 
should be redirected. It actually contains a list of all nodes and this list is 
being iterated when you use round robin.

Activate load-balancing between different clients should be nice but I don't 
think you can actually do something about this behaviour. In other words, I 
don't think it's possible to control this... unless you start using hardware 
loadbalancers instead of software loadbalancers, but I'm not 100% sure about it 
:-S

Not a real response to your question, but perhaps it might be usefull for you...


Kurt

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956371#3956371

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956371

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


[JBoss-user] [Clustering/JBoss] - Re: Cold Deployment

2006-07-07 Thread ScottMarlowNovell
anonymous wrote : Is there a recommended best practice for deployment that can 
mitigate this issue? For example, would having each node point to a central 
HTTP farm URL help at all, since it might be easier to trigger hot deployment 
everywhere by updating the "last modified" time on the centrally-distributed 
file?
  | 

Sure, this would work.  Others have followed this approach as well to work 
around the farm deployment issues.  The central farm url (perhaps a shared 
filesystem) can be a single point of failure but you could add a secondary 
(alternative) farm folder in case the shared filesystem crashes.

Regarding your other question of what the timetable is for fixing this.  The 
problem has been recorded in the Jira system and design forums, however, there 
is no timetable set for resolving these issues.

http://jira.jboss.com/jira/browse/JBAS-1322 describes the problem that you have 
hit.  

http://jira.jboss.com/jira/browse/JBAS-2326 describes a problem that you could 
hit if connectivity between nodes breaks and latest resumes (cluster nodes 
continue to run throughout this situation but do not react to changes made 
while disconnected from the rest of cluster.)



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956283#3956283

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956283

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


[JBoss-user] [Clustering/JBoss] - Re: Cold Deployment

2006-07-07 Thread evk
Hi, thanks for the information. I'm running into this issue as well. I have a 
cluster of several nodes and just want to be able to have nodes go down and 
come up at random and not have clients notice (assumption is that at least one 
node will be up at any given time)... as it is, in a simple two node cluster 
I've been testing on, if one node goes down and then comes back up, unless I 
manually trigger hot deployment somehow, coming back up will use cold 
deployment and that node will be useless since my app won't be loaded. 

So I have two questions: 

Is there a recommended best practice for deployment that can mitigate this 
issue? For example, would having each node point to a central HTTP farm URL 
help at all, since it might be easier to trigger hot deployment everywhere by 
updating the "last modified" time on the centrally-distributed file?

And is there any projected timetable for a fix of the underlying issue itself?

Thanks,
--Erik

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956253#3956253

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956253

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


[JBoss-user] [Clustering/JBoss] - Re: Cold Deployment

2006-07-07 Thread [EMAIL PROTECTED]
Yes, just a distributed deployment.  There is an issue that prevents placing 
something in a node that is not running and then having it deploy when the node 
starts.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956230#3956230

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956230

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


[JBoss-user] [Clustering/JBoss] - Re: Cold Deployment

2006-07-07 Thread jleech
anonymous wrote : Maybe I am missing something here. If you want cold 
deployment, why do you need to deploy your app under farm directory? Shouldn't 
a regular deploy directory work the same?

Perhaps... I am new to JBoss clustering and thought deploying to the farm 
directory might give special clustering powers to the EJBs in the application.  
Does deploying to the farm directory just do a distributed hot deployment?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956222#3956222

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956222

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


[JBoss-user] [Clustering/JBoss] - Re: Changing Ports (two nodes, same machine, 4.0.4)

2006-07-07 Thread burakbayramli
The JBoss installation was done using "java -jar jems-installer-1.2.0.BETA.jar" 
and selecting ejb3-clustered profile.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956149#3956149

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956149

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


[JBoss-user] [Clustering/JBoss] - Re: Problem with Loadbalancing of Sateless Session Beans acr

2006-07-06 Thread [EMAIL PROTECTED]
I have never tried it myself. But how about RandomRobin? Will that meet your 
need?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956039#3956039

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956039

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


[JBoss-user] [Clustering/JBoss] - Re: Cold Deployment

2006-07-06 Thread [EMAIL PROTECTED]
Maybe I am missing something here. If you want cold deployment, why do you need 
to deploy your app under farm directory? Shouldn't a regular deploy directory 
work the same?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956038#3956038

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956038

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


[JBoss-user] [Clustering/JBoss] - Re: HA-JMS fails, Master node undeploying channels, no failo

2006-07-06 Thread jkressin
Sorry for not replying for a while, but I was analyzing the logfiles and trying 
to reproduce the behaviour we have on our production system. Thanks to the 
answers here I think I understand now better what is going on, and I indeed 
found a way to reproduce the behaviour.

First, I was wrong in my assumption that the channels are never rebound to JNDI 
when the master node fails.  Here's what happens:

Initally node 210 is the master node, and node 211 is a "slave" (hope the 
terminology is correct).  At 08:14:24 the node 211 begins to receive new views. 
Taken from 211's logfile:

2006-06-21 08:14:24,757 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.StagePartition] New 
cluster view for partition StagePartition (id: 201, delta: -2) : 
[62.50.43.211:1099, 62.50.
43.213:1099, 62.50.43.216:1099, 62.50.43.215:1099]
2006-06-21 08:14:24,757 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
I am (62.50.43.211:1099) received membershipChanged event:
2006-06-21 08:14:24,757 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
Dead members: 2 ([62.50.43.210:1099, 62.50.43.214:1099])
2006-06-21 08:14:24,757 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
New Members : 0 ([])
2006-06-21 08:14:24,757 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
All Members : 4 ([62.50.43.211:1099, 62.50.43.213:1099, 62.50.43.216:1099, 
62.50.43.215:1
099])


As node 211 is now the master node and node 210 is in the list of dead members, 
node 211 deploys all channels, like it should.
Taken from 211's logfile:

2006-06-21 08:14:25,496 INFO  [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, 
ctxPath=/jbossmq-httpil, 
warUrl=.../deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
2006-06-21 08:14:26,916 INFO  
[org.jboss.mq.server.jmx.Topic.sgw/MOCacheInvalidationTopic] Bound to JNDI 
name: topic/sgw/MOCacheInvalidationTopic
2006-06-21 08:14:26,917 INFO  
[org.jboss.mq.server.jmx.Topic.sgw/CdaHtmlCacheInvalidationTopic] Bound to JNDI 
name: topic/sgw/CdaHtmlCacheInvalidationTopic
[...]

But: Node 210 did not receive view 201 at all, so this node still has all the 
channels deployed as well. The next thing I see in the logfile of 211 is that 
node 214 is still sending messages, but from the viewpoint of 211 is not a 
cluster member anymore. I do not know if this is of any relevance, but to give 
you a complete picture I wanted to mention it.
Taken from 211's logfile:
2006-06-21 08:14:29,985 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
62.50.43.214:54923 (additional data: 17 bytes) is not a member !
2006-06-21 08:14:29,987 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.StagePartition] 
Suspected member: 62.50.43.214:54923 (additional data: 17 bytes)

Next, 211 is receiving two more view changes (id 202 and 203). 
Taken from 211's logfile:

2006-06-21 08:14:34,867 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.StagePartition] New 
cluster view for partition StagePartition (id: 202, delta: 1) : 
[62.50.43.211:1099, 62.50.4
3.213:1099, 62.50.43.216:1099, 62.50.43.215:1099, 62.50.43.214:1099]
2006-06-21 08:14:34,867 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
I am (62.50.43.211:1099) received membershipChanged event:
2006-06-21 08:14:34,867 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
Dead members: 0 ([])
2006-06-21 08:14:34,867 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
New Members : 1 ([62.50.43.214:1099])
2006-06-21 08:14:34,867 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
All Members : 5 ([62.50.43.211:1099, 62.50.43.213:1099, 62.50.43.216:1099, 
62.50.43.215:1
099, 62.50.43.214:1099])
2006-06-21 08:14:35,021 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.StagePartition] New 
cluster view for partition StagePartition (id: 203, delta: 1) : 
[62.50.43.211:1099, 62.50.4
3.213:1099, 62.50.43.216:1099, 62.50.43.215:1099, 62.50.43.214:1099, 
62.50.43.210:1099]
2006-06-21 08:14:35,021 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
I am (62.50.43.211:1099) received membershipChanged event:
2006-06-21 08:14:35,021 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
Dead members: 0 ([])
2006-06-21 08:14:35,021 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
New Members : 1 ([62.50.43.210:1099])
2006-06-21 08:14:35,021 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.StagePartition] 
All Members : 6 ([62.50.43.211:1099, 62.50.43.213:1099, 62.50.43.216:1099, 
62.50.43.215:1
099, 62.50.43.214:1099, 62.50.43.210:1099])

Node 210 was not receiving view 202, but view 203. After receiving view 203 
node 210 is aware th

[JBoss-user] [Clustering/JBoss] - Re: How to send a request to a node instance that I specify

2006-07-06 Thread greyfairer
anonymous wrote : Cookie mycookie = new 
Cookie(D914C93143AF95B2712C64E7637EED68.node1 , ""); 
  | response.addCookie( mycookie );

No, that would be 
Cookie mycookie = new Cookie("JSESSIONID", 
"D914C93143AF95B2712C64E7637EED68.node1");
But I think that gets done automatically by the servlet API.

There is no API from Sun AFAIK to manipulate cookies, other than parsing the 
HTTP Headers yourself and writing them back on the URLConnection.

If you use mod_proxy_balancer as in the wiki, sticky sessions should also work 
if you specify the jsessionid in the URL, instead of a cookie, using 
";jsessionid=...".

new 
URL("http://locahost/report/query?;jsessionid=D914C93143AF95B2712C64E7637EED68.node1";
 ).connection()



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955832#3955832

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955832

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


[JBoss-user] [Clustering/JBoss] - Re: ClusterFileTransferException

2006-07-06 Thread ScottMarlowNovell
Something went wrong on the first machine that you started as that is where we 
are trying to pull hello.ear from.

Check the console of the machine that you started first.  I'm hoping that we 
will see an error message there indicating what went wrong when we tried to 
pull hello.ear.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955794#3955794

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955794

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


[JBoss-user] [Clustering/JBoss] - Re: How to send a request to a node instance that I specify

2006-07-05 Thread chwang
Hi, Geert,

I also read the link you gave me 
[url]
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_proxyWithJBoss[/url]

there is this set up 

Add stickysession parameter to ProxyPass
  | 
  | ProxyPass /jmx-console balancer://mycluster stickysession=jsessionid 
lbmethod=bytraffic nofailover=Off 
  | ProxyPassReverse /jmx-console balancer://mycluster 

Coule you tell me what is jsessionid, it is the same as 
reuest.getSession(true).getId() 

Chwang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955689#3955689

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955689

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


[JBoss-user] [Clustering/JBoss] - Re: How to send a request to a node instance that I specify

2006-07-05 Thread chwang
Hi, Geert,

Thank you very much. 
I used  (request.getSession(true)).getId() to generate id.

D914C93143AF95B2712C64E7637EED68.node1 is genrated by above code.

I have a couple of questions.

1.) you mean I put this id in the cookie, 
like this:

Cookie mycookie = new  Cookie(D914C93143AF95B2712C64E7637EED68.node1 , "");
reposnse.addCookie(   mycookie );

then at the client site, using HTTPClient to keep this cookie. 
I know HTTPClient is from Apache, There is any related class from Sun' library?

2.) if I  use mod_proxy_balancer instead of mod_jk, I wonder if I don't need to 
use cookie nad httpclient. becasue I have written code using URLconnection. 
with only mod_proxy_balancer setup will make it easy. 

Chwang 




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955671#3955671

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955671

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


[JBoss-user] [Clustering/JBoss] - Re: Deployment exploded war to jboss cluster

2006-07-05 Thread ScottMarlowNovell
The archive needs to be J2EE deployable as it normally would need to be 
(including the WEB-INF).



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955657#3955657

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955657

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


[JBoss-user] [Clustering/JBoss] - Re: Deployment exploded war to jboss cluster

2006-07-05 Thread mittalr
Thanks a lot Scott,

I was reading the link. At the end it says

"One way to solve would be to archive the contents of the exploded directory 
and farm deploy the archive instead (users can currently do this on their own). 
"

Does this archive has to be J2EE compliant or I can just make use of folder 
structure with out WEB-INF directory ?

Thanks
Rajesh Mittal

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955635#3955635

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955635

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


[JBoss-user] [Clustering/JBoss] - Re: Deployment exploded war to jboss cluster

2006-07-05 Thread ScottMarlowNovell
Hi Rajesh,

No, you cannot deploy exploded war(s) to the Jboss cluster.  You could either 
build the war each time as you suggest or you could use non-clustered 
deployment on a shared file system (e.g. instead of using farm folder, use 
alternative deploy folder that is shared between server machines).

The issue was reported via http://jira.jboss.com/jira/browse/JBAS-1239

You can vote for the issue to be fixed if you like.

Scott

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955623#3955623

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955623

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


[JBoss-user] [Clustering/JBoss] - Re: How to send a request to a node instance that I specify

2006-07-05 Thread greyfairer
Hi chwang,

Mod_jk will recognize your session id request parameter only if it's called 
jsessionid, I suppose. 

Why don't you use the 'real' HttpSession? In you servlet, you use 
getSession(true), this will generate a sessionId for you, and put it in a 
JSESSIONID cookie in the response. In the next request, you put this cookie in 
the request, and mod_jk will also recognize this. If your client would use 
commons-httpclient, this all goes automatically. HttpClient will keep all 
cookies, including the JSESSIONID, in a HttpState object, that you can reuse 
for the next request. It will even retain Credentials.

Instead of mod_jk, you could also use mod_proxy_balancer from Apache 2.2. You 
can configure the stickysession parameter of the balancers to JSESSIONID or 
PHPSESSIONID, maybe others, too, or even use your own rewrite rules like in 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_proxyWithJBoss

Greets,
Geert.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955600#3955600

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955600

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


[JBoss-user] [Clustering/JBoss] - Re: Clustering of ResourceAdapter (RAR)

2006-07-04 Thread mgruebsch
Thanks for the info!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955374#3955374

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955374

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


[JBoss-user] [Clustering/JBoss] - Re: Clustering of ResourceAdapter (RAR)

2006-07-04 Thread [EMAIL PROTECTED]
The RAR will will be copied to all cluster nodes and deployed on each.  Any 
coordination of activity between the ResourceAdapter instances on the different 
cluster nodes is the responsibility of the ResourceAdapter.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955310#3955310

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955310

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


[JBoss-user] [Clustering/JBoss] - Re: Always query one instance with a greater port number for

2006-07-03 Thread chwang
hi, I have found some reason. 
I  have found the reson is related to 

worker.loadbalancer.sticky_session=1

if I set 

worker.loadbalancer.sticky_session=0

They will swtich loading.

But  sticky_session=1 doesn't work well. 

for example,  when I send a request  to the node1 through browser, 
I got a session ID, then I re-loaded browser, the request went to node2. 
According to set up sticky_session=1, it  should still go to node1. 
Please tell the reson why?

Chwang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955127#3955127

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955127

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


[JBoss-user] [Clustering/JBoss] - Re: Xerces conflicts whith JBoss 4.0.3SP1. Is there a soluti

2006-07-01 Thread k_bharat
I fixed this by downloading the xerces source and changed the package(SAXParser 
package) to different name and re-compiled the source to to different jar file, 
deployed in lib folder and it worked for me. Try it and let me know

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954853#3954853

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954853

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


[JBoss-user] [Clustering/JBoss] - Re: JBoss Cluster issue

2006-06-30 Thread [EMAIL PROTECTED]
It looks like when you fail over to the other server, the failover server 
doesn't know the first one is dead yet and tries to replicate to it.  This then 
fails.

If you wait a few secs, the 2nd server knows the 1st is dead and doesn't try to 
replicate to it.

Suggest you use a combination of FD and FD_SOCK in your jgroups configs.  See 
http://wiki.jboss.org/wiki/Wiki.jsp?page=FDVersusFD_SOCK, particularly the bit 
at the bottom.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954780#3954780

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954780

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


[JBoss-user] [Clustering/JBoss] - Re: Active/passive configuration

2006-06-29 Thread [EMAIL PROTECTED]
You'd need to write a custom load balance policy that always picked the first 
server from the list of targets and then stuck to it. See the code for 
org.jboss.ha.framework.interfaces.FirstAvailable -- change the part where it 
using a Random to pick the target.

You'd also have to make sure your active server was completely started before 
starting the passive.  That way the active one would be the first target.

This is kind of a quick-and-dirty approach; with thought maybe you can come up 
with something more elegant.

Another point -- if you use the PooledInvoker instead of the JRMPInvoker, the 
targets the load balancer works on are of type ServerAddress.  That class 
exposes the address of the host it connects to.  A custom load balance policy 
could potentially make use of that info (e.g. check a system property for a 
"preferred" active host, and access that if its available, otherwise choose a 
passive host from the remaining targets).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954502#3954502

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954502

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


[JBoss-user] [Clustering/JBoss] - Re: HA-JMS fails, Master node undeploying channels, no failo

2006-06-29 Thread [EMAIL PROTECTED]
OK, things are a bit clearer.  Don't know the full answer yet but we're getting 
there.

"jkressin" wrote : 
  | But the most intersting question for me is: Even if the (Master-)node lost 
some viewchanges,  why does it suddenly undeploy the (HA-)queues and  
(HA-)topics?

They are undeployed because when view 203 came in, 65.20.43.211 was no longer 
the first node in the view, 62.50.43.211 was.  All HASingleton services 
(currently, we're looking to change this) run on the first member in the view 
on which they are deployed. If a node that is currently the singleton master 
for the service discovers its no longer that first node, it will stop providing 
the service.

"jkressin" wrote : And why is the failover not happening, no other node is 
starting to deploy the queues and topics instead. I cannot explain how this is 
possible and also found no information in the docs or in the forums on this 
issue.

This is the key question.  65.20.43.211 should have taken over as the HA-JMS 
server and deployed the queues and topics.  Is there anything interesting in 
the 65.20.43.211 logs that could shed light on why it didn't?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954498#3954498

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954498

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


[JBoss-user] [Clustering/JBoss] - Re: Separating wars and jar for clustering

2006-06-29 Thread JerryGauth
I think the preferred approach is to deploy the application (e.g., the ear) to 
the farm directory of a node and then let JBoss distribute it throughout the 
cluster.  There are some open issues with the farming feature so you should 
verify that it works properly for you in you choose this option.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954364#3954364

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954364

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


[JBoss-user] [Clustering/JBoss] - Re: Active/passive configuration

2006-06-29 Thread vzilka
10x, but what I ment was EJB clustering. The web machine needs to activate an 
EJB, and the 2 EJB machines should be configured active/passive

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954352#3954352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954352

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


[JBoss-user] [Clustering/JBoss] - Re: JBoss Cluster issue

2006-06-29 Thread tterm
Ok thank you all for the fast replies!

I tried it again with tracing and a small sample application.

The node (node pluto) which serves the user did the following during a normal 
request:

12:20:03,195 DEBUG [JBossCacheManager] Creating an empty ClusteredSession
  | 12:20:03,196 DEBUG [JBossCacheManager] loadSession(): session 
kenH3CFYvQjvouUiK8UxYQ** not found in distributed cache
  | 12:20:03,196 DEBUG [JBossCacheManager] Creating an empty ClusteredSession
  | 12:20:03,197 DEBUG [JBossCacheManager] Session with 
id=kenH3CFYvQjvouUiK8UxYQ**.node1 added. Current active sessions 1
  | 12:20:03,200 DEBUG [JBossCacheManager] Created a ClusteredSession with id: 
kenH3CFYvQjvouUiK8UxYQ**.node1
  | 12:20:03,537 DEBUG [JBossCacheManager] check to see if needs to store and 
replicate session with id kenH3CFYvQjvouUiK8UxYQ**.node1
  | 12:20:03,541 DEBUG [ClusteredSession] processSessionRepl(): session is 
dirty. Will increment version from: 0 and replicate.
  | 12:20:11,003 DEBUG [JvmRouteValve] checkJvmRoute(): check if need to 
re-route based on JvmRoute. Session id: kenH3CFYvQjvouUiK8UxYQ**.node1 
jvmRoute: node1
  | 12:20:11,686 DEBUG [ClusterSFBean] myInit
  | 12:20:11,769 DEBUG [ExtendedPersistenceContextPropagationInterceptor]  
LongLivedSessionPropagationInterceptor
  | 12:20:12,046 DEBUG [JBossCacheManager] check to see if needs to store and 
replicate session with id kenH3CFYvQjvouUiK8UxYQ**.node1
  | 12:20:12,047 DEBUG [ClusteredSession] processSessionRepl(): session is 
dirty. Will increment version from: 1 and replicate.

After that I killed the node pluto and tried to get the values from the 
replicated session (there is only a remote reference to a stateful session bean 
in it).

Then this is the message from node mars which tried to serve the request:

12:26:19,812 DEBUG [JBossCacheManager] Creating an empty ClusteredSession
  | 12:26:19,947 DEBUG [JBossCacheManager] Session with 
id=kenH3CFYvQjvouUiK8UxYQ**.node1 added. Current active sessions 1
  | 12:26:19,959 DEBUG [JBossCacheManager] loadSession(): id= 
kenH3CFYvQjvouUiK8UxYQ**, session=SessionBasedClusteredSession[id: 
kenH3CFYvQjvouUiK8UxYQ**.node1 lastAccessedTime: 1151576411002 version: 3 
lastOutdated: 0]
  | 12:26:19,973 DEBUG [JvmRouteValve] checkJvmRoute(): check if need to 
re-route based on JvmRoute. Session id: kenH3CFYvQjvouUiK8UxYQ**.node1 
jvmRoute: node2
  | 12:26:19,973 DEBUG [JvmRouteValve] handleJvmRoute(): We have detected a 
failover with different jvmRoute. old one: node1 new one: node2. Will reset the 
session id.
  | 12:26:19,974 DEBUG [JvmRouteValve] resetSessionId(): changed catalina 
session to= [kenH3CFYvQjvouUiK8UxYQ**.node2] old one= 
[kenH3CFYvQjvouUiK8UxYQ**.node1]
  | 12:26:19,995 DEBUG [JBossCacheManager] Setting cookie with session 
id:kenH3CFYvQjvouUiK8UxYQ**.node2 & name:JSESSIONID
  | 12:26:20,046 DEBUG [ClusterSFServlet] 
jboss.j2ee:ear=cluster.ear,jar=cluster.jar,name=ClusterSFBean,service=EJB3:5c4o03-5yvadc-ep0ys7kt-1-ep0yv20w-6
  | 12:26:21,436 DEBUG [ExtendedPersistenceContextPropagationInterceptor]  
LongLivedSessionPropagationInterceptor
  | 12:26:30,191 INFO  [TreeCache] viewAccepted(): [mars:32835|2] [mars:32835]
  | 12:26:30,191 INFO  [TreeCache] viewAccepted(): [mars:32835|2] [mars:32835]
  | 12:26:31,590 ERROR [[ClusterSF]] Servlet.service() for servlet ClusterSF 
threw exception
  | java.lang.RuntimeException: org.jboss.cache.ReplicationException: 
rsp=sender=pluto:32886, retval=null, received=false, suspected=true
  | at 
org.jboss.ejb3.cache.tree.StatefulTreeCache.remove(StatefulTreeCache.java:115)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:89)
  | .
  | .
  | 12:26:31,692 INFO  [TreeCache] viewAccepted(): [mars:32826|2] [mars:32826]
  | 12:26:31,692 INFO  [TreeCache] viewAccepted(): [mars:32826|2] [mars:32826]
  | 12:26:31,811 DEBUG [JBossCacheManager] check to see if needs to store and 
replicate session with id kenH3CFYvQjvouUiK8UxYQ**.node2
  | 12:26:31,820 DEBUG [ClusteredSession] processSessionRepl(): session is 
dirty. Will increment version from: 3 and replicate.
  | 12:26:37,661 INFO  [TreeCache] viewAccepted(): [mars:32833|2] [mars:32833]
  | 12:26:37,661 INFO  [TreeCache] viewAccepted(): [mars:32833|2] [mars:32833]
  | 12:26:38,763 WARN  [FD] ping_dest is null: members=[pluto:32891 (additional 
data: 16 bytes), mars:32831 (additional data: 16 bytes)], 
pingable_mbrs=[mars:32831 (additional data: 16 bytes)], local_addr=mars:32831 
(additional data: 16 bytes)
  | 12:26:38,763 WARN  [FD] ping_dest is null: members=[pluto:32891 (additional 
data: 16 bytes), mars:32831 (additional data: 16 bytes)], 
pingable_mbrs=[mars:32831 (additional data: 16 bytes)], local_addr=mars:32831 
(additional data: 16 bytes)
  | 12:26:39,264 INFO  [DefaultPartition] Suspected member: pluto:32891 
(additional data: 16 bytes)
  | 12:26:39,276 INFO  [DefaultPartition] New cluster 

[JBoss-user] [Clustering/JBoss] - Re: HA-JMS fails, Master node undeploying channels, no failo

2006-06-29 Thread jkressin
Thanks very much for your reply. I examined the logfiles again to answer your 
questions:

"[EMAIL PROTECTED]" wrote : 1) You refer to "the master node".  Please confirm 
that this is 62.50.43.211.
  | 

No, at that time the master node was 62.50.43.210. The first logoutput and the 
second one are from this machine, means that the master node (62.50.43.210) 
produced the output "Dead members:0, New members: 0" and immediately after that 
undeployed all the HA-Queues and HA-Topics. Sorry, I should have made that 
clear in my first post.

"[EMAIL PROTECTED]" wrote : 
  | 2) On the node that produced the first bit of logging in your post, do you 
see log entries with this content "New cluster view for partition 
StagePartition: 202" and "New cluster view for partition StagePartition: 201"?
  | 

No, these messages are not present in the logfile.

"[EMAIL PROTECTED]" wrote : 
  | 3) If you have a log entry somewhere that contains "New cluster view for 
partition StagePartition: 200", please compare the list of nodes to the first 
line in the first log entry in your post.  Does it have the same 6 nodes but in 
different order?
  | 

You are right, I can see the same nodes, but in different order

"[EMAIL PROTECTED]" wrote : 
  | What I'm driving at here is I wonder if the machine doing the first bit of 
logging lost a couple view changes, going from 200 to 203.  The result would be 
Dead members:0, New members: 0 but a different order of members.
  | 

Thanks, now I start to understand what is happening. You are right that the 
machine indeed lost some of the view changes, that's a problem I probably have 
to investigate on the network level. 

But the most intersting question for me is: Even if the (Master-)node lost some 
viewchanges,  why does it suddenly undeploy the (HA-)queues and  (HA-)topics? 
And why is the failover not happening, no other node is starting to deploy the 
queues and topics instead. I cannot explain how this is possible and also found 
no information in the docs or in the forums on this issue.

The critical thing is that if I run into this scenario my HA-Queues and 
HA-Topics are not present on any instance, leading to lost messages and 
therefore also lost data. This situation should not be possible at all in a 
cluster. I am not quite sure if this is a cluster issue (I guess so), so if it 
is something related to JMS please let me know so I can ask in JMS-Forum. 

BTW: This is the only real problem we have with the JBoss platform. Everything 
else is working fine and stable. Developing with JBoss really was a breeze, so 
thanks for this great piece of software. 

Thanks again for your help.

Jochen


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954296#3954296

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954296

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


[JBoss-user] [Clustering/JBoss] - Re: I cann't access http://localhost/jmx-console/ in Multip

2006-06-28 Thread chwang
Jerry,

Thank you, I changed node2 port number to 8109, node1's port is still 8009. I 
still can not access http://localhost/jmx-console

but if I only typed run, I could access  http://localhost/jmx-console,
which means the request didn't go to node1 or node2,  instead going to default, 
which part I missed to set up?

node1 and node2 are copied from all/ folder.

Thak you.

Chwang  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954213#3954213

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954213

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


[JBoss-user] [Clustering/JBoss] - Re: I cann't access http://localhost/jmx-console/ in Multip

2006-06-28 Thread JerryGauth
I'm not sure what the problem is but you can't use "the same IP address and 
same port number (8009)."  If you're using a binding address at JBoss server 
startup (-b parameter), the IP's will differ.  If you're using JBoss service 
bindings, the ports will differ.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954211#3954211

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954211

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


[JBoss-user] [Clustering/JBoss] - Re: HA-JMS fails, Master node undeploying channels, no failo

2006-06-28 Thread [EMAIL PROTECTED]
1) You refer to "the master node".  Please confirm that this is 62.50.43.211.

2) On the node that produced the first bit of logging in your post, do you see 
log entries with this content "New cluster view for partition StagePartition: 
202" and "New cluster view for partition StagePartition: 201"?

3) If you have a log entry somewhere that contains "New cluster view for 
partition StagePartition: 200", please compare the list of nodes to the first 
line in the first log entry in your post.  Does it have the same 6 nodes but in 
different order?

What I'm driving at here is I wonder if the machine doing the first bit of 
logging lost a couple view changes, going from 200 to 203.  The result would be 
Dead members:0, New members: 0 but a different order of members.

I'm not sure what that would mean if it were the case, but it's an avenue to 
explore.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954206#3954206

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954206

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


[JBoss-user] [Clustering/JBoss] - Re: JBoss Cluster issue

2006-06-28 Thread [EMAIL PROTECTED]
Please also make sure your SFSB is clustered, i.e. has @Clustered annotation if 
EBJ3 or 
true in jboss.xml if EJB 2.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954205#3954205

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954205

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


[JBoss-user] [Clustering/JBoss] - Re: How to cluster a web component (a servlet application)?

2006-06-27 Thread chwang
Hi, Brain, 

I see, Thank you very much.

Best Regards,

Chwang 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953786#3953786

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953786

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


[JBoss-user] [Clustering/JBoss] - Re: How to cluster a web component (a servlet application)?

2006-06-27 Thread [EMAIL PROTECTED]
Lets say the client sends the request and starts polling every 15 seconds.  
Then the server producing the report dies.  What do you want to happen?  Client 
connects to another server *which picks up the report creation where the first 
one left off*?  Probably not possible, but if it is and you want it, then you 
need failover.  I suspect that's not what you want/need.

How to set up sticky sessions depends on what load balancer you use.  Here is a 
wiki page with more on using Apache mod_jk as the load balancer:

http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953782#3953782

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953782

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


[JBoss-user] [Clustering/JBoss] - Re: How to cluster a web component (a servlet application)?

2006-06-27 Thread chwang
Hi, Brian,

Thank you very mcuh for your replying. 

I think I don't need to maintain the seesion state. the client send a request 
to report servlet, the servet will generate a sessionID being save in a 
hastable, and send ID back to the client.  then Every 15 seconds, the client 
will send a request with this ID to query the status of report (like how many 
the percentage is done).  

Could you tell me I need to care about fails over for this case?
If there are 2 nodes, How to set up my every 15 seconds request will stick on 
the the first request node?

Thank you again,

Chwang




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953774#3953774

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953774

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


[JBoss-user] [Clustering/JBoss] - Re: How to cluster a web component (a servlet application)?

2006-06-27 Thread [EMAIL PROTECTED]
Whether you need the "cache stuff" depends on whether your 1) servlet 
application maintains session state between requests and 2) you care about 
failover, i.e. is it important that the session state be there if the client 
fails over.

Re: UrlConnection.connect, if you cluster the servlet app, you need some kind 
of load balancer in front of it to distribute the requests.  The URL the 
applications point to is the load balancer.  UrlConnection.connect is fine; the 
issue is having the correct URL.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953763#3953763

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953763

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


[JBoss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine

2006-06-26 Thread JerryGauth
Are you actually using the "default" server?  If so, your cluster instances 
need to be copies of the "all" server.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953426#3953426

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953426

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


[JBoss-user] [Clustering/JBoss] - Re: JBoss Cluster issue

2006-06-24 Thread [EMAIL PROTECTED]
The best way to troubleshoot is to turn on log tracing for both tomcat 
(org.jboss.web.tomcat.tc5.session) and ejb3 (I assume? org.jboss.ejb3). This 
way you are sure whether the states have been replicated or not.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953258#3953258

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953258

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


[JBoss-user] [Clustering/JBoss] - Re: (another) XAConnectionFactory not bound

2006-06-24 Thread [EMAIL PROTECTED]
You may try to upgrade jgroups.jar from 2.2.7 to 2.2.9 (or later). Looks like 
the problem lies in the group membership.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953256#3953256

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953256

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


[JBoss-user] [Clustering/JBoss] - Re: AutoDiscovery Not Working in RHES 4 update 3

2006-06-23 Thread [EMAIL PROTECTED]
Your 'localhost' points to 127.0.0.1, this will only allow processes on the 
same box to cluster. Use bind_addr in UDP, or use -Dbind.address=1.2.3.4 to use 
a real NIC

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952962#3952962

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952962

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


[JBoss-user] [Clustering/JBoss] - Re: Data file synchronization

2006-06-22 Thread andytsoy
THX~~

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952859#3952859

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952859

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


[JBoss-user] [Clustering/JBoss] - Re: Data file synchronization

2006-06-21 Thread [EMAIL PROTECTED]
Your XML file is a form of state; the tool we generally recommend for keeping 
state in sync between servers is JBoss Cache.

Using the farm service is definitely not the way to go; it's not meant to be a 
file distribution mechanism.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952445#3952445

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952445


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: CLUSTERING IN JBOSS

2006-06-20 Thread [EMAIL PROTECTED]
http://docs.jboss.org/jbossas/clustering/JBossClustering7.pdf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952054#3952054

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952054


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: node enters and exits cluster

2006-06-19 Thread [EMAIL PROTECTED]
Best way to troubleshoot this is to do it at jgroups level. You can check out 
the Wiki page first.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951781#3951781

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951781


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Active/passive configuration

2006-06-19 Thread lepe
http://tomcat.apache.org/connectors-doc/howto/workers.html

Look for disabled and redirect properties.

/L

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951712#3951712

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951712


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: [HttpMethodBase] Redirect requested but followRedirects

2006-06-19 Thread greyfairer
Nothing to worry about, it's just commons-httpclient that logs this as INFO, 
where it should have been DEBUG.

The loadbalancer application probably takes care for redirects itself, so it 
doesn't enable followRedirects in the commons-httpclient component it uses 
underneath. This gives the warning from the commons-httpclient.

Greets, Geert.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951632#3951632

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951632


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: replication problem with cross-context session updates

2006-06-18 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS-3318

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951557#3951557

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951557


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster or not Cluster?

2006-06-16 Thread [EMAIL PROTECTED]
Yes, but any session state will be lost.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951364#3951364

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951364


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster or not Cluster?

2006-06-16 Thread xiaoly
Will AJP13 do fail over with multiple JBoss servers even without clustering?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951357#3951357

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951357


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster or not Cluster?

2006-06-16 Thread JerryGauth
Clustering is useful if you have a need for any of the following when running 
your application on multiple servers: failover support, replication, load 
balancing of artifacts other than sessions (e.g., EJB's), true singletons, 
notifications, etc.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951344#3951344

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951344


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster or not Cluster?

2006-06-16 Thread xiaoly
In order to use http session replication, you have to do extra work on top of 
the cluster. I see the cluster is the base for other HA functionality.

If our app is not ready for http session replication, there is no use to use 
cluster, right?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951317#3951317

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951317


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster or not Cluster?

2006-06-15 Thread [EMAIL PROTECTED]
For clustering you get http session replication.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951232#3951232

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951232


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster with different operating systems?

2006-06-15 Thread knobbo
Thanks for the reply!

I've found out that clustering works with vmware set to bridged networking - I 
had it previously set to host-only.
Someone at the university pointed out that this may be due to Windows sending 
out multicast packets only on the primary network interface. To my 
understanding, this can't be 100% true because the Linux JBoss instances did 
receive packets from the Windows instance and just refused to form a cluster.
Anyhow, if anyone reads this who wants to build a cluster with JBoss instances 
running in the host OS as well as the virtual machines - set it to bridged 
networking and it should work :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951077#3951077

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951077


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: replication problem with cross-context session updates

2006-06-14 Thread bradleybeck
I am also interested in following this issue.

Can you post the JIRA key?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950900#3950900

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950900


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster with different operating systems?

2006-06-14 Thread [EMAIL PROTECTED]
The nodes absolutely should be able to form a cluster irregardless of OS.  It's 
Java after all ;)

Perhaps 
http://www.jgroups.org/javagroupsnew/docs/manual/html_single/index.html#ItDoesntWork
 will give you some tips on how to resolve the problem.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950792#3950792

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950792


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Basic TCP Cluster of two nodes fails to recover from a n

2006-06-12 Thread kpandey
Here's sample of JGroup   setting in 10.0.1.62. Other have similiar setting(ie 
all three are mentioned in initial hosts )












View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950589#3950589

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950589


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Basic TCP Cluster of two nodes fails to recover from a n

2006-06-12 Thread kpandey
I have more information on this issue --

I have three node setup using TCP for JGroup. It all works fine and if I stop
a node and restart or do a kill -9 and restart oldest becomes Master and all is 
well.
Now while testing error condition with network I'm running into problems. So in 
the normal working case I have three nodes whose 
DefaultPartition CurrentView is
  [10.0.1.48:1099, 10.0.2.130:1099, 10.0.1.61:1099]


Now I unplug the network cable from 10.0.1.61

I see the following debug trace in 10.0.2.130

02:05:18,276 INFO  [DefaultPartition] Suspected member: 10.0.1.61:7800 
(additional data: 14 bytes)
02:05:18,278 INFO  [DefaultPartition] Suspected member: 10.0.1.48:7800 
(additional data: 14 bytes)
02:05:18,280 INFO  [DefaultPartition] New cluster view for partition 
DefaultPartition (id: 3, delta: -2) : [10.0.2.130:1099]
02:05:18,281 INFO  [DefaultPartition] I am (10.0.2.130:1099) received 
membershipChanged event:
02:05:18,281 INFO  [DefaultPartition] Dead members: 2 ([10.0.1.48:1099, 
10.0.1.61:1099])
02:05:18,282 INFO  [DefaultPartition] New Members : 0 ([])
02:05:18,282 INFO  [DefaultPartition] All Members : 1 ([10.0.2.130:1099]

I do not undersatnd why it thought 10.0.1.48 was dead as well?1.48

debug trace in 10.0.1.48 is --

9:50:43,033 INFO  [DefaultPartition] Suspected member: 10.0.1.61:7800 
(additional data: 14 bytes)
19:50:44,611 WARN  [FD] I was suspected, but will not remove myself from 
membership (waiting for EXIT message)
19:50:45,533 INFO  [DefaultPartition] Suspected member: 10.0.1.61:7800 
(additional data: 14 bytes)
19:50:46,122 WARN  [CoordGmsImpl] I am the coord and I'm being am suspected -- 
will probably leave shortly
19:50:46,132 WARN  [GMS] checkSelfInclusion() failed, 10.0.1.48:7810 is not a 
member of view [10.0.2.130:7810|3] [10.0.2.130:7810]; discarding view
19:50:46,517 WARN  [FD] I was suspected, but will not remove myself from 
membership (waiting for EXIT message)
19:50:48,023 WARN  [GMS] checkSelfInclusion() failed, 10.0.1.48:7800 
(additional data: 14 bytes) is not a member of view [10.0.2.130:7800 
(additional data: 15 bytes)|3] [10.0.2.130:7800 (additional data: 15 bytes)]; 
discarding view
19:50:48,032 WARN  [CoordGmsImpl] I am the coord and I'm being am suspected -- 
will probably leave shortly
19:50:48,033 INFO  [DefaultPartition] Suspected member: 10.0.1.61:7800 
(additional data: 14 bytes)
19:50:48,034 INFO  [DefaultPartition] Suspected member: vallance-lnx:7800 
(additional data: 14 bytes)


Why is 10.0.1.48 a suspect?

The result is that both 10.0.1.48 and 10.0.2.130 now runs in Master mode and 
not in a cluster.

Upon connecting the nework cable back to 10.0.1.61 , the cluster goes thru some 
variance of group and finally stettles down the following view on all three 
views
[10.0.2.130:1099, 10.0.1.61:1099, 10.0.1.48:1099]

How do I troubleshoot this? I would expect 10.0.2.130 and 10.0.1.48 to never 
loose the cluser group and 10.0.1.61 tojoin at the end as the newest.

Testing on jboss-3.2.8sp1 and jdk1.5

Thanks
Kumar



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950578#3950578

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950578


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering auto-discovery --> TCP

2006-06-12 Thread JerryGauth
How did you change the stack to use TCP?  Disabling AutoDiscovery shouldn't 
have the effect you note.  I disabled AutoDiscovery and used a TCP stack for 
ClusterPartition in both 4.0.2 and 4.0.4 (I don't have 4.0.3 installed) - the 
servers started fine in both cases.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950424#3950424

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950424


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-12 Thread MarcReis
Thanks !

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950387#3950387

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950387


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Basic TCP Cluster of two nodes fails to recover from a n

2006-06-09 Thread kpandey
Yes, here's my JGroup TCP settings











I have similiar setting on the other node.




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950222#3950222

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950222


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: replication problem with cross-context session updates

2006-06-09 Thread [EMAIL PROTECTED]
Yes, sessions other than the initial on a cross-context request aren't getting 
replicated.  This is a bug; I'll open a JIRA for it.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950192#3950192

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950192


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: replication problem with cross-context session updates

2006-06-09 Thread emreed
also worth mentioning -- a HttpSessionAttributeListener on webapp2 shows that 
the attribute setter is causing the attributeReplaced() method to be called, so 
these events are firing.

However, the VERSION of webapp2's session shown in the JMX console under 
TomcatClusteringCache printDetails() remains unchanged...  Does that mean no 
replication of the update happened?

thanks,

Eric

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950147#3950147

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950147


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Loadbalancing issue

2006-06-09 Thread [EMAIL PROTECTED]
For mod_jk docs, start at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss[/url] and 
[url]http://tomcat.apache.org/connectors-doc/ .

Your 3rd option is to use a hardware load balancer.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950146#3950146

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950146


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-09 Thread [EMAIL PROTECTED]
OK. So you are not using nested bean but a Hibernate session instead. In this 
case, I think Steve has just fixed this bug mentioned in EJBTHREE-612:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1816



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950137#3950137

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950137


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Loadbalancing issue

2006-06-09 Thread JerryGauth
mod_jk instructions -

http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950120#3950120

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950120


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Loadbalancing issue

2006-06-09 Thread [EMAIL PROTECTED]
loadbalancer.sar is unsupported and has been dropped as of 4.0.4.GA so its not 
a viable option.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950108#3950108

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950108


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Basic TCP Cluster of two nodes fails to recover from a n

2006-06-09 Thread [EMAIL PROTECTED]
Do you have a MERGE2 protocol in your stack ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950101#3950101

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950101


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-09 Thread MarcReis
I guess I was to euphoric... so forget my last post :(.
Its still there.  I tested invoking initialy on node 2 and deploying first on 
node 1. That worked, no idea why. I tried it  three time and all was good. Then
 I invoked first on node 1 and the problem is there again and also in other 
combinations of invoking and deploying. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950100#3950100

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950100


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-09 Thread MarcReis
I have just "stumbled" over a solution.I thought about would could cause the 
SessionFactory Problem (for the x't time) and had a stupid idea...
Clear the Farm folder on both nodes before start up (so all is up before 
deploying the App). Start the nodes up. Then drop the ear to deploy in the farm 
folder -> SFSB works fine.

Tried it with combinations of leaving the ear in the farm folder and then 
startign up -> SessionFactoryObjectFactory fails to lookup the uid.

So no inital farm no harm ;-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950088#3950088

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950088


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-09 Thread MarcReis
I have gone through all of the logs files. I thing it seems to be the problem 
that
Node A registers org.hibernate.impl.SessionFactoryImpl with uid x1
An invokation on A does fine, when turning to Node B 
"SessionFactoryObjectFactory" trys to look up the uid x1, which it cant find 
since node B only has y1.
Same happens the other way around when initially invoking on B, it registers 
the SessionFactory with uid y2 (also has y1), next invoke goes to A where it 
trys to look up uid y2 but A only has x1 and so the lookup in ther 
SesionFactoryObjectFactory fails.

a part of the server.log from Node B for this:


  |  ...
  |  DEBUG [org.hibernate.SQL]  SELECT PersonID...
  |  DEBUG [com.mchange.v2.c3p0.stmt.GooGooStatementCache]  > CACHE HIT
  |  DEBUG [com.mchange.v2.c3p0.stmt.GooGooStatementCache] checkoutStatement: 
com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 4; 
checked out: 1; num connections: 2; num keys: 4
  | 
  |  DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] lookup: 
uid=2c9096850bb7af1e010bb7b881390001
  |  WARN  [org.hibernate.impl.SessionFactoryObjectFactory] Not found: 
2c9096850bb7af1e010bb7b881390001
  |  DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] [EMAIL PROTECTED], 
[EMAIL PROTECTED]
  |  DEBUG [org.jboss.remoting.transport.servlet.ServletServerInvoker] Error 
thrown calling invoke on server invoker.
  | org.jboss.ejb3.stateful.ForwardId: java.lang.RuntimeException: 
java.io.IOException  at 
org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:314)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) 
  | 
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950083#3950083

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950083


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Start error..

2006-06-09 Thread Spice1978
We have the same problem, JBoss 4.03SP1 on Windows 2000 Server|Linux using Java 
5

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950081#3950081

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950081


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-08 Thread MarcReis
Sure ! Somethings might be pointless, as it is a class just for testing purpose.


  | @RemoteBinding(jndiBinding="EJBTEST/NatPerLstSFBean/remote")
  | /* This is set as a System.property 
  | clientBindUrl="servlet://mc0430-116.somewhere.de:8080/invoker/JNDIFactory"
  | */
  | @LocalBinding(jndiBinding="comp/env/EJBTEST/NatPerLstSFBean/local")
  | @Stateful
  | @Clustered(partition= "DefaultPartition", loadBalancePolicy = 
org.jboss.ha.framework.interfaces.RoundRobin.class)
  | public class NatPersLstSFBean implements INatPersLstLocal,
  | 
 INatPersLstRemote,
  | 
 Serializable{
  | @Resource SessionContext sctx;
  | //@PersistenceManager EntityManager em;
  | private int hitCount= 0;
  | private Session sess= null;
  | List   myResult= null;
  | private String  oldletterLastName= "";
  | 
  | public int getIntValue(String intString) {
  | hitCount++;
  | return hitCount;
  | }   
  | 
  | @PermitAll
  | public List getNatPersLst(String letterLastName){  
  | if (sess==null || sess.isConnected()==false)
  | sess = new 
HibTestUtil().sessionFactory.getCurrentSession(); // Could this cause the 
problem when clustering ? 
  | 
  | try{
  | sess.beginTransaction();
  | System.out.println("about to create query");
  | Query qry = sess.createSQLQuery(
  | " SELECT PersonID, Name, Vorname from NATPERSON 
np" +
  | " WHERE  np.name like '"+ letterLastName + "%' 
" +
  | " ORDER BY NAME, VORNAME" 
).addEntity("np",NatPers.class);
  | //qry.setCacheable(false);
  | System.out.println("about to save result");
  | myResult = (List) qry.list();
  | sess.getTransaction().commit();
  | }catch (Exception e){
  | e.printStackTrace();
  | sess.getTransaction().rollback();
  | }   
  | String sctxUserName="";
  | try{
  | if (sctx !=null){
  | sctxUserName = 
sctx.getCallerPrincipal().getName();
  | System.out.println(sctxUserName);
  | }
  | }catch(Exception e){System.out.println(e);}
  | 
  | return myResult;
  | }   
  | @Init
  | public void createSession(){
  | System.out.println("I have been created by"+ 
  | 
  | " " 
+this.getClass().getName());
  | }
  | @Remove
  | public void endSession(){
  | System.out.println("I am ending "+this.getClass().getName());
  | }
  | @PrePassivate
  | public void doSerialization(){
  | System.out.println("I will be serial soon 
"+this.getClass().getName());
  | }   
  | 
  | @PostActivate
  | public void doDeSerialization(){
  | System.out.println("I am deserialized again 
"+this.getClass().getName());
  | }
  | }
  | 

Mainly it fetches a hibernate session from a factory and uses this to to the 
query on the db and passes the result back to the client.  The client invokes 
the methodes a couple times in a row and ends.
After what you said, could it for some reason be that the  getCurrentSession() 
method trys to somehow use the factory of node one ?

Sincerely
Marc

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950046#3950046

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950046


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Basic TCP Cluster of two nodes fails to recover from a n

2006-06-08 Thread kpandey
Some more details on test setup. 
Node A running on XP in a NAT address of say 10.0.1.4
Node B running in Red Hat 9 in a NAT address of 10.0.1.5 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950041#3950041

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950041


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-08 Thread [EMAIL PROTECTED]
OK. Actually I am looking at the ejb3 sfsb replication now. There is one 
outstanding issue with the nested bean.

http://jira.jboss.com/jira/browse/EJBTHREE-612

Simply stating, it is broken for replication when you have nested bean because 
of replication ahppens for the nested bean first (instead of parent bean).

Your case may be slightly different though. Can you post your bean class?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950024#3950024

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950024


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re

2006-06-08 Thread [EMAIL PROTECTED]
Cool :)  Be sure to test thoroughly.  The session is really composed of 2 
elements -- the attributes and the metadata (things like lastAccessedTime, id, 
etc).  The metadata is still replicated at the end of the request, so you may 
get odd behavior.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949937#3949937

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949937


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re

2006-06-08 Thread hamptont
Thank you.  This configuration seems to produce the behavior I was expecting.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949935#3949935

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949935


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-08 Thread MarcReis
Hi
Sorry for the information overflow...
I guess this sums it up:

  | [org.jboss.cache.eviction.RegionManager] getRegions(): size of region 2
  | [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover 
notifying pools, interval: 45
  | [org.hibernate.impl.SessionFactoryObjectFactory] lookup: 
uid=2c9096850bad968e010bad9899550001
  | [org.hibernate.impl.SessionFactoryObjectFactory] Not found: 
2c9096850bad968e010bad9899550001
  | [org.hibernate.impl.SessionFactoryObjectFactory] [EMAIL PROTECTED]
  | [org.jboss.remoting.transport.servlet.ServletServerInvoker] Error thrown 
calling invoke on server invoker.
  | org.jboss.ejb3.stateful.ForwardId: java.lang.RuntimeException: 
java.io.IOException
  | at 
org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:314)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
  | 

I could give you an ear with the EJB's and Client, but I dont belive this would 
help a lot (except for clearing up the config of the client).
 The App and client ist is rather simple. The App just uses a Hibernate session 
to do a sql query on a Oracle DB and give the result to the Client.
 I guess I would need to also send you the server modifikations and setup.
The main Problem seems to be that the SFSB is not replicating correctly and so 
cant be invoked an the second node. This could be caused by the combination of 
using httpha-invoker.sar and using the host name rather than the ip. The 
problem is that I cant find the point were it fails, do to lack of knowledge of 
the things that happen on the server.

If you want I can pack that all up and send it to you.

Thanks for your time !
(and sorry for the overflow of text)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949924#3949924

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949924


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble

2006-06-08 Thread [EMAIL PROTECTED]
This is too much information to read over. Can you produce a sample jar file 
and also client code for me try it out?

Thanks,

-Ben

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949919#3949919

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949919


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Second and folowing nodes take very long time to come up

2006-06-08 Thread sheckler
I figured it out. The reason for that behaviour was a system property 
"java.naming.provider.url" (node1:100,node2:1100) set on the server.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949916#3949916

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949916


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re

2006-06-08 Thread [EMAIL PROTECTED]
No, it doesn't replicate at the start of the request.

In releases prior to 4.0.4, calling session.getAttributeNames() would mark the 
session as dirty, thus causing replication at the end of the request.  That's 
why your "dump" call causes replication.  I believe I changed that in 4.0.4.

I figured out a hack you can try to get immediate replication upon change of an 
attribute.  This may or may not work.  You'd need to use 4.0.4, with this in 
your jboss-web.xml


  | 
  |FIELD
  |(whatever you want)
  |false
  | 
  | 

With FIELD granularity and no batching, you'll get immediate replication.  You 
don't need to instrument your classes to use FIELD; you just don't get the 
benefits of fine-grained replication if you don't.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949902#3949902

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949902


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re

2006-06-08 Thread hamptont
Thank you.

Does it also replicate at the start of a request ?  If it replicates at both 
the start and end of a request that would explain the behavior I've observed.


Thanks for your help.
Tom

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949889#3949889

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949889


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering and load balancing - how to disable

2006-06-08 Thread jboss_idiot
what i've done is set ip_mcast="false" in my xml files under my all directory. 
e.g.

cluster-service.xml
tc5-cluster-service.xml
ejb3-clustered-sfsbcache-service.xml
ejb3-entity-cache-service.xml

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949887#3949887

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949887


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: LAN cluster with WAN for geographical failover

2006-06-07 Thread kpandey
Let me refine my question as I dig more dipper into it.

I've been able to run two nodes on different IP addresses (on same subnet) with 
following settings using JBoss 3.2.8 sp1
1) Both nodes using TCP (although I had some issues like restart of one node 
not seeing the exisiting group so both instances running on Master mode etc.)
2) Both nodes using MULTICAST 

However is the following configuration possible out of the box?

LAN Cluster using Multicast<---> TCP over WAN <---> LAN Cluster(or just a 
single node)  under same partition

or 
does all the nodes in LAN also has to be configured in TCP mode in which case 
we loose the Auto discovery.

Thanks
Kumar Pandey  



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949687#3949687

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949687


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re

2006-06-07 Thread [EMAIL PROTECTED]
The session replicates at the end of the request, not as modifications are 
made. There is currently no way to change this behavior.

If this is important to you, please raise a feature request in the JBoss 
Application Server project on jira.jboss.com.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949659#3949659

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949659


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Second and folowing nodes take very long time to come up

2006-06-07 Thread sheckler
I addition I tested running 2 instances on 1 machine with binding manager.
The behaviour does not change. The deployment of clustered SLSBs takes very 
long time on the 2nd instance, while the logfiles (JGroups trace, jboss debug) 
show no errors or warnings. So network issues are not the reason.

The time is taken after the SecurityProxy initialization messages. What happens 
at that point?

When I stop the first instance in this phase, the startup of the second 
instance returns to "normal speed".

Please can someone give me a hint, what is happening at this point behind the 
scenes. Has someone seen similar effects?

Thanks




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949552#3949552

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949552


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re

2006-06-06 Thread hamptont
Sorry, had some extraneous code in the example.  The block of code commeted 
"Hack to make the session replicate" should not have been there (it did not 
make the session replicate).  Below is the correct code.

Thanks,
Tom




<%@ page import="org.apache.commons.logging.Log" %>
  | <%@ page import="org.apache.commons.logging.LogFactory" %>
  | <%@ page import="java.util.Enumeration" %>
  | 
  | <% final Log logger = LogFactory.getLog("JSP Logger"); %>
  | 
  | 
  | Hit the start button to start the countdown.  Hit the stop button to stop 
the countdown.  Hit the dump button to print the http session state.  
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | <%
  | String state = (String)request.getParameter("state");
  | if (state == null) state = "stop";
  | 
  | if (state.equals("dump")) {
  |   Enumeration enm = session.getAttributeNames();
  |   while(enm.hasMoreElements()) {
  | String attr = (String)enm.nextElement();
  | logger.error("*** TEST SessionID=" + session.getId());
  | logger.error("*** TEST Session variable: " + attr + " 
value: " + session.getAttribute(attr));
  |   }
  | } else {
  |   session.setAttribute("state", state);
  |   if (state.equals("start")) {
  | if (session.getAttribute("cnt") == null) {
  |   session.setAttribute("cnt", new Integer(1));
  | }
  | 
  | int i = ((Integer)session.getAttribute("cnt")).intValue();
  | while (i > 0) {
  |   logger.error("*** TEST " + i);
  |   session.setAttribute("cnt", new Integer(--i));
  |   Thread.sleep(2000);
  |   if (((String)session.getAttribute("state")).equals("stop")) break;
  | }
  |   }
  | }
  | %>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949513#3949513

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949513


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Farm on Linux

2006-06-02 Thread patrickdalla
thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948725#3948725

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948725


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Rollback during session replication

2006-06-02 Thread fotero
Yes, I was not using sticky sessions. With sticky sessions, everything is 
working properly.

Thanks,
Fernando

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948619#3948619

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948619


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster on Linux

2006-06-02 Thread muhviehstarr
The Problem is that the name of the server is mapped in /etc/hosts to 127.0.0.1 
and not the public ip. So the autodetection fails.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948608#3948608

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948608


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Farm on Linux

2006-06-01 Thread [EMAIL PROTECTED]
Sounds like http://jira.jboss.com/jira/browse/JBAS-3145

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948567#3948567

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948567


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Yed clustering setup

2006-06-01 Thread [EMAIL PROTECTED]
This (http://wiki.jboss.org/wiki/Wiki.jsp?page=LoopbackAdaptor) may be the same 
problem. You should try setting null_src_addresses="true" in your 2.2.8 XML 
config file. Note that this flag was removed in 2.2.9, so it should work there. 
 The associated JIRA issue was for Windows, so I don't know if the same applies 
to your problem...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948305#3948305

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948305


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster on Linux

2006-06-01 Thread [EMAIL PROTECTED]
#1 Try disabling the firewall
#2 Disable IPv6: -Djava.net.preferIPv4Stack=true

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948289#3948289

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948289


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Yed clustering setup

2006-05-31 Thread davewebb
That is my problem exactly.  Thanks for the closure.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948227#3948227

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948227


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Yed clustering setup

2006-05-31 Thread [EMAIL PROTECTED]
David,

Perhaps http://wiki.jboss.org/wiki/Wiki.jsp?page=PromiscuousTraffic is the 
explanation for your cluster separation issue.

gohip,

Hijacking a thread with a question that is off-topic to the forum is normally 
not the best way to get an answer.  But... in general the -b switch only 
controls the interface used for sockets JBoss opens to listen on.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948219#3948219

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948219


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   4   5   6   7   8   9   10   >