[JBoss-user] [Installation & Configuration] - work and data folders

2005-06-30 Thread mfrost
Hi, I have started using JBoss 4.0.2 (previously using 3.2.3) Can someone please tell me how to configure the work and data folders that are created under /server/ e.g. /server/default/data and /server/default/work I've set my properties jboss.server.temp.dirand jboss.server.data.dir and these

[JBoss-user] [Installation & Configuration] - Re: AttributeNotFoundException when using ServiceBinding to

2004-07-15 Thread mfrost
Hi Mounika, No sorry I have had no luck with this yet. My colleague has a theory on why some attributes are declared as write-only and I include details but this doesn't really get us closer to a solution. I may look into writing my own version of the class that deals with reading mbean XML-ho

[JBoss-user] [Clustering/JBoss] - PartitionConfig attribute is set as WRITE-ONLY

2004-06-29 Thread mfrost
Hi Is there a reason for the PartitionConfig attribute of org.jboss.ha.framework.server.ClusterPartition to be write-only? You can see this from the jmx-console. Bring up the console. Find your Cluster service (usually service=DefaultPartition). Then scroll down to PartitionConfig. You'll notic

[JBoss-user] [Installation & Configuration] - AttributeNotFoundException when using ServiceBinding to chan

2004-06-29 Thread mfrost
Hello, I am trying to use the ServiceBindingManager to change the mcast_addr setting. We use this service successfully to allow us to run more than 1 JBoss node on a machine but also want to do this so that we can run independent clusters. Ideally I only want 1 version of cluster-service.xml an

[JBoss-user] [Persistence & CMP/JBoss] - Re: Entity Bean creation question

2004-06-25 Thread mfrost
many thanks alexey mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839963#3839963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839963 --- This SF.Net email sp

[JBoss-user] [Clustering/JBoss] - Writing own Load Balance Policy

2004-06-25 Thread mfrost
We wish to implement a load balance policy that has the following behaviour: Much like the FirstAvailable (org.jboss.ha.framework.interfaces.FirstAvailable) load balance policy except the the initial elected member is NOT randomly chosen but is well known. e.g. Client A will always elect target

[JBoss-user] [Persistence & CMP/JBoss] - Entity Bean creation question

2004-06-23 Thread mfrost
We have a service in a stateless session bean that must perform the following: 1. Find an EntityBean using a known PK using home.findByPrimaryKey() 2. If this fails with a FinderException then create the EntityBean using home.create() Our SLSB is defined as having transaction-type of "Bean" and w

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-18 Thread mfrost
Thanks for your comments Alexey - explained a great deal. regards mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839195#3839195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839195

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-17 Thread mfrost
Would there be any benefit from calling Management Bean method flushCache() on the entity beans EntityContainer? We've tried this and it causes the beans to passivate. We could the just truncate the table as previously suggested. Any ideas how this flushCache() might sit with any entity beans t

[JBoss-user] [Clustering/JBoss] - Re: Cache Invalidation seems to fail when redeploy CMP beans

2004-06-15 Thread mfrost
Please see bug: http://sourceforge.net/tracker/index.php?func=detail&aid=973234&group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838814#3838814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=383

[JBoss-user] [Persistence & CMP/JBoss] - Bulk deletion of CMP Entity bean

2004-06-14 Thread mfrost
We have employed a simple cache using CMP entity beans. We've now identified the need to drop this cache - albeit very infrequently. We noticed that bulk updates and deletes form part of the EJB3 spec but for now, what is the best mechanism for doing this? We could write a "findAll" method, ite

[JBoss-user] [Clustering/JBoss] - Re: Cache Invalidation seems to fail when redeploy CMP beans

2004-06-14 Thread mfrost
hi Sacha If I re-deploy to the RW node, cache invalidation still works fine. If I re-deploy to any of the RO nodes the invalidation mechanism fails. I will add a bug report as suggested (sourceforge site is down at present) cheers mark View the original post : http://www.jboss.org/index.html

[JBoss-user] [Clustering/JBoss] - Cache Invalidation seems to fail when redeploy CMP beans

2004-06-14 Thread mfrost
We have in place a clustering architecture as described in the JBoss clustering book. It currently consists of 3 nodes. 2 "read-only" nodes whose CMP entity beans have read-only accessor methods and a "read-write" node where the entity beans have "read-write" accessor methods. We use the cache