[JBoss-user] [J2EE Design Patterns] - Service Locator pattern to recognise stale home reference

2005-08-10 Thread glyn_walters
Hi Just wondering if it's worth pursuing some refelection in a Service Locator to detect stale home references. Or will this code produce to much overhead on each cache lookup? | if (cache.containsKey(jndiHomeName)) { | home = (EJBHome) cache.get(jndiHomeName);

[JBoss-user] [Persistence & CMP/JBoss] - Advice needed on locking issues

2005-07-04 Thread glyn_walters
Hi I am using a session bean to create CMP EJBs. I am using "Standard CMP 2.x EntityBean with CI in Commit Option C" with cache-invalidation so that I can maintain their state in a cluster. The backend is a sql server database. With asynchronous calls to the session bean to create EJBs, the dat

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-03 Thread glyn_walters
Or indeed here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45327. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823979#3823979";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823979>Reply to the post

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-03 Thread glyn_walters
There are some threads on this. Transaction must be Required, RequiresNew or Mandatory. See here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45327. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823977#3823977";>View the original post http://www.jboss.org/index.html?modu

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread glyn_walters
The answer of course being in the subject :) http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823903#3823903";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823903>Reply to the post --- SF

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread glyn_walters
The other question is what version are you running? Mine is 3.2.3. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823874#3823874";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823874>Reply to the post

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread glyn_walters
Tim Here are my configs: from jboss.xml | | BBClientSessionEJB | BBClientSessionHomeRemote | | ejb/BBClientHomeRO | BBClientHomeRO | | | ejb/BBClientHomeRW

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread glyn_walters
It works for me. I've got the home load balance policy and the bean load balance policy set to RoundRobin and I cache the home reference. The only difference is that I specify Context.PROVIDER_URL for the HA-JNDI servers rather than using autodiscovery. The SLSB load balances round robin perfect

[JBoss-user] [Clustering/JBoss] - Re: RO/RW pattern questions

2004-03-02 Thread glyn_walters
The answer being RTFM :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823768#3823768 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823768 --- SF.Net is sponsored

[JBoss-user] [Clustering/JBoss] - Re: RO/RW pattern questions

2004-03-01 Thread glyn_walters
I've just spotted the tag for so I think that's the answer to one my questions above. I'm now getting an error with my deployment of the 2 EJB entities. The error is because they are both sharing the same schema. Presumably this is a neccessary feature of the pattern. Is there something I am

[JBoss-user] [Clustering/JBoss] - RO/RW pattern questions

2004-03-01 Thread glyn_walters
Hi I have a couple of questions about the RW/RO pattern. 1. Is it valid to use the Clustered CMP 2.x EntityBean container configuration with commit B for the RW deployment? Or should I use commit C? 2. This is definitely a newbie question but I can't see how to differentiate in my session bean

[JBoss-user] [EJB/JBoss] - Re: port 1099 problem !

2004-02-28 Thread glyn_walters
I had this problem today and thought I'd share my findings in case it helps anyone. There are a few service on W2K server that get a dynamically allocated port. If JBoss isn't already running then these will get allocated. I have had it most frequently with 1099 and 1098. This tool is an easy wa

[JBoss-user] [Clustering/JBoss] - Re: JBoss Clustering is the Coolest Thing Ever

2004-02-26 Thread glyn_walters
The problem may be with the lookup code in your client. Are you using HA-JNDI when you create the IntialContext? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823071#3823071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[JBoss-user] [Clustering/JBoss] - Re: sql server locking

2004-02-26 Thread glyn_walters
Thanks for the advice. I have seen a few issues users on these boards have been having with sql server. Particularly the way sql server may promote a row lock to a page or table lock. I am stuck with using sql server and am nervous about whether I will be creating problems for myself trying to u

[JBoss-user] [Clustering/JBoss] - Re: datasource config problem when using 2nd node in cluster

2004-02-26 Thread glyn_walters
Could it be something as simple as your machineA address? What happens if you use the same address instead of localhost in the node A config? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823110#3823110 Reply to the post : http://www.jboss.org/index.html?mo

[JBoss-user] [Clustering/JBoss] - sql server locking

2004-02-23 Thread glyn_walters
Hi Does anyone successfully use sql server as the CMP datasource in a clustered environment? I am using commit option B and have the following settings in jbosscmp-jdbc: | | http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";> | | | | | BBClientEJB

[JBoss-user] [Clustering/JBoss] - Problem with farming using 3.2.1

2004-02-09 Thread glyn_walters
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820731#3820731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820731 Hi I am running JBoss 3.2.1 on XP and W2K. I am using the out of the box configuration for clusteri

[JBoss-user] [EJB/JBoss] - Synchronization issues with EJB Collection returned by findB

2004-02-03 Thread glyn_walters
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820010#3820010 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820010 Hi Could anyone advise how JBoss would handle a change in Collection members returned by a findBy m