[jboss-user] [Clustering/JBoss] - Re: Custom InvokerInterceptor

2009-08-21 Thread chrismeadows
I'm bumping this as I would be very interested in the response from JBoss themselves. The original questions raised by Ben are highly relevant to the last two JBoss based projects I've worked on, and I'm now hitting it on a 3rd. Would it be possible for JBoss to give a statement on what is the

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Specifying the schema for EJBTimerService's TIMERS datab

2008-07-12 Thread chrismeadows
FWIW, we've also had many problems with this same table, and we're using oracle. Specifying the schema name appears to be redundant - it is ignored. We found that we had to make sure the table name was unique across ALL schemas in the database. That is, we had a schema per developer in the dev

[jboss-user] [Beginners Corner] - Re: How to get a WorkManager from a Bean

2008-01-31 Thread chrismeadows
+1 But until then, the MBean approach is a good approach. If, however, your system is mostly asynchronous/event driven, then J2EE isn't really the way to proceed; you may want to use the JBoss JSLEE container instead, http://labs.jboss.com/mobicents View the original post :

[jboss-user] [JBoss Messaging] - Re: Failover failed

2007-12-07 Thread chrismeadows
Just noticed SP2 released - I'll give it a whirl. In particular, the fix for http://jira.jboss.com/jira/browse/JBMESSAGING-1184 look promising View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=476#476 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Failover failed

2007-12-07 Thread chrismeadows
Hi Tim, First of all, I have a large portion of humble pie to eat - I hadn't clustered the SLSB that publishes. However, I'm still seeing unreliable results, so I'll elaborate on what I am doing... I have a pojo that connects via JNDI to queue/testQueue on the ClusteredConnectionFactory.

[jboss-user] [JBoss Messaging] - Re: Failover failed

2007-12-07 Thread chrismeadows
SP2 + the patched jboss remoting gives much better, complete results. I receive duplicates, but I'm sure the clients can handle that if they're aware that it can happen. (For anyone lese reading this, see the Clustering Notes at

[jboss-user] [JBoss Messaging] - Re: Failover failed

2007-12-06 Thread chrismeadows
I'm wondering why durable subscription failover is, in my experience, so flaky. An obvious reason would be that I've got something wrong, although I don't believe I have or otherwise I'd go and fix it (!). If I posted some zipped up code, would anyone in the JBM team be able to give it a sanity

[jboss-user] [JBoss Messaging] - Failover failed

2007-12-04 Thread chrismeadows
JBoss 4.2.2 GA with JBM 1.4.0.SP1 configured as per documentation, deployed identically over a two node cluster (ServerPeers 0 and 1 respectively). I send 1000 messages to a queue. An MDB is listening to the queue, and it redispatches each message to one of 50 topics (randomly). Each topic has

[jboss-user] [JBoss Messaging] - Re: Jboss problem with messages over 2.5 M.B.

2007-12-04 Thread chrismeadows
The docs advise you to not use HSQLDB for serious work - it isn't a production database. Use something else e.g. MySQL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110257#4110257 Reply to the post :

[jboss-user] [Clustering/JBoss] - Re: SFSB failover not working as expected

2007-11-15 Thread chrismeadows
Whoops - forgot to mention that this is EJB3. Can't edit forum posts :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104959#4104959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104959

[jboss-user] [Clustering/JBoss] - Re: SFSB failover not working as expected

2007-11-15 Thread chrismeadows
It's a proper shutdown - I do a run.sh -c all -b 0.0.0.0 to start the server in the foreground, then do a Ctrl-C View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105099#4105099 Reply to the post :

[jboss-user] [Clustering/JBoss] - SFSB failover not working as expected

2007-11-14 Thread chrismeadows
Hi there, I'm testing two JBoss 4.2.2 GA nodes in a cluster using the 'all' config. The nodes cluster together fine. I then run a multithreaded client to start up 200 or so SFSBs that cycle through a number of states. The client requests are are load balanced in the cluster as expected.

[jboss-user] [JBossCache] - Re: One node in two clusters?

2007-02-21 Thread chrismeadows
I've almost achieved what I need by using TcpDelegatingCacheLoaders. The configuration I have is: Cluster 1 has two nodes A and B replicating using UDP. Cluster 2 has two nodes C and D replicating using UDP. A, B, C, D all use unshared cacheloaders Clusters 1 and 2 cannot find each other Node

[jboss-user] [JBossCache] - One node in two clusters?

2007-02-19 Thread chrismeadows
Is it possible for one cache node to be in two clusters? I've read in a couple of places around the JBoss website that it is possible, but haven't seen how to configure the cache in that way. What config sections do I duplicate? The reason I want to do this as follows; I have a cluster in

[jboss-user] [JBossCache] - Re: Persistent configuration in clustered environment.

2007-02-12 Thread chrismeadows
Thanks Manik. My caches are geographically separated (UK, Japan, east and west coast US), so I don't think shared cache loaders I going to work for me unless I do async cache loader updates, and I'm pretty sure I don't want to do that. The configuration I'm trying out has N gegraphically

[jboss-user] [JBossCache] - Re: Persistent configuration in clustered environment.

2007-02-06 Thread chrismeadows
victor75 wrote : Thank you for the answer. | | I have one problematic scenario. | There're two instances in my clustered environment: serverA and serverB, at the beginning both of them are alive. | step 1. shutdown the serverA | step 2. make a change in serverB. | step 3. shutdown

[jboss-user] [JBossCache] - runShellDemo.sh broken in 1.4.1 GA ?

2007-01-25 Thread chrismeadows
Believe I've found some broken parts of runShellDemo.sh in JBossCache 1.4.1 GA. I was getting a Exception in thread main java.lang.NoClassDefFoundError: bsh/Console fix to line 4 CACHE_HOME=. (not ./../) fix to line 39 java -cp $CLASSPATH $ARGS $JAVA_OPTS -Djboss.aop.aoppath=$AOP_PATH

[jboss-user] [EJB 3.0] - Re: EntityManagers and DAOs

2006-11-13 Thread chrismeadows
ALRubinger wrote : | ...if you set stuff in a ThreadLocal, ensure that its removed if the Thread has been obtained from a Thread pool. Otherwise, nightmares. | Thanks ALR, I'll watch out for that ALRubinger wrote : | Or in your case...if you don't want to put any JPA stuff in your DAO

[jboss-user] [EJB 3.0] - EntityManagers and DAOs

2006-11-09 Thread chrismeadows
My scenario is that I don't want to do my entity manager interaction in a session bean - I want to use a layering approach that has Session beans - Business Delegates - DAOs - JPA entities. I'm getting frustrated that I cannot inject an entity manager into a DAO class inside the ejb container

[jboss-user] [EJB 3.0] - Re: EntityManagers and DAOs

2006-11-09 Thread chrismeadows
Done some more testing using the above ThreadLocal paradigm, because I was worried about multiple serfver side threads and in particular if the JBoss container ever uses 1 thread to service a session bean call. But apparently it does not - I can happily kick off multiple (e.g. 100) concurrent

[jboss-user] [JBoss AOP] - Re: Aspect scope and construction pointcuts

2006-11-03 Thread chrismeadows
Hi there, I've pulled and built the 1_5_0 branch, but still get the same problem. I've been having a look at the source and believe the casue of the problem is in org.jboss.aop.advice.AbstractAdvice#resolveAdvice(Invocation) The code I see states | ... | if (invocation instanceof

[jboss-user] [JBoss AOP] - Re: Aspect scope and construction pointcuts

2006-11-02 Thread chrismeadows
Thanks for replying stalep. stalep wrote : | @Aspect(scope=Scope.PER_INSTANCE) | | public class MyAspect { | | @Bind (pointcut=execution(public MyAspected-new())) | | public Object construction(Invocation invocation) throws Throwable { ... } | | } | Yup, I had tried

[jboss-user] [JBoss AOP] - Re: Aspect scope and construction pointcuts

2006-11-02 Thread chrismeadows
Thanks Kabir/Stalep! Much appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3982635#3982635 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982635 ___ jboss-user mailing

[jboss-user] [JBoss AOP] - Aspect scope and construction pointcuts

2006-11-01 Thread chrismeadows
AOP 1.5.2 libs being used I'm having problems with construction pointcuts and PER_INSTANCE scope. All other scopes work as expected, but it is PER_INSTANCE that I need. @Aspect(scope=Scope.PER_INSTANCE) public class MyAspect { private static final Logger log =