[Design of JBoss Web Services] - Re: ws-eventing clustering problem
by maeste
"heiko.braun(a)jboss.com" wrote :
| OK. So far you are right.
| The load balancer doesn't know about the addressing porperties.
| But JBossWS does. Currently we can dispatch beased on WS-Addressing properties. I think this should be extended to fully support virtual addresses within a cluster topology.
|
Ok, right. I have to read something more on ws-addressing
"heiko.braun(a)jboss.com" wrote :
| IMO this problem is not related to WS-Eventing in particular.
| It's a WS-Addressing problem that occurs in any cluster toplogy and should addressed there.
|
100% agree
"heiko.braun(a)jboss.com" wrote :
| Therefore i'd favor a common solution that's build around WS-Addressing and thus supports any WS-* extension which is composed with WSA.
|
Of course it's the best approach...I'm going to have a deeper look to WS specs.
Just one more question: it seems becoming something more widespread modification. Can I go on, or do you prefer a committer working on that?
And if yes, is it better it will go in jbossws 2.0?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989727#3989727
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989727
17 years, 10 months
[Design of JBoss Web Services] - Re: ws-eventing clustering problem
by heiko.braun@jboss.com
Your approach is perfectly valid. I just think that the problem is not directly related to WS-Eventing. It's more an addressing problem.
Two simple use cases:
1.) client send's subscribe request
1.1 ) loadbalancer points it to node A
1.3) event source on node A addresses the subscription manager (node B) HA-Singleton through HA-JNDI
1.4) event source sends SM EPR (node B) to client
2.) client send's renew
2.1) loadbalancer points it to node C
2.3) EXCEPTION: no subscription manager on node C
OK. So far you are right.
The load balancer doesn't know about the addressing porperties.
But JBossWS does. Currently we can dispatch beased on WS-Addressing properties. I think this should be extended to fully support virtual addresses within a cluster topology.
IMO this problem is not related to WS-Eventing in particular.
It's a WS-Addressing problem that occurs in any cluster toplogy and should addressed there.
Therefore i'd favor a common solution that's build around WS-Addressing and thus supports any WS-* extension which is composed with WSA.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989720#3989720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989720
17 years, 10 months
[Design of JBossCache] - Re: Default classloader for deserialization
by bstansberry@jboss.com
Not in the AS if a scoped classloader is used, i.e.:
1) Cache is deployed from an ear/sar with a loader-repository configured
2) (I'm pretty sure) if cache is deployed from a webapp (e.g. a ServletContextListener does it at startup.)
If region-based marshalling isn't used, the classloader JBC uses to deserialize messages is the one that loaded JBC itself. In the above cases, this classloader is a parent to the application's classloader, and thus can't see classes loaded by the parent classloader.
I mistakenly believed this would also cause problems with things deployed directly in /deploy (e.g. an ear without its own loader-repository) but experiments today show this is not the case. I assume this means the default UCL for the deploy dir also loads the jars in /server/all/lib (where jboss-cache.jar and jgroups.jar are located.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989719#3989719
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989719
17 years, 10 months