[jboss-user] [Clustering/JBoss] - Re: How to run a Queue and MDB into a cluster

2008-08-20 Thread dmary
help !? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171482#4171482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171482 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [Clustering/JBoss] - Re: How to run a Queue and MDB into a cluster

2008-08-18 Thread dmary
well, i didn't found any solution at this time, is someone can help me ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170994#4170994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170994

[jboss-user] [Clustering/JBoss] - Re: How to run a Queue and MDB into a cluster

2008-08-12 Thread dmary
nobody ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170113#4170113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170113 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [Clustering/JBoss] - Re: How to run a Queue and MDB into a cluster

2008-08-11 Thread dmary
Any help would be appreciated. ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169864#4169864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4169864 ___ jboss-user mailing list

[jboss-user] [Clustering/JBoss] - How to run a Queue and MDB into a cluster

2008-08-08 Thread dmary
Hi all, I need to migrate a queue and mdb into a cluster configuration. I've read mutliple wiki and docs and I need some help. I'm running all into a Jboss AS 4.05 Ga. Actualy, to create queue, it is done directly by Jboss , in reading annotation from my MDB. I haven't any xml files, all is

[jboss-user] [Clustering/JBoss] - Re: How to run a Queue and MDB into a cluster

2008-08-08 Thread dmary
and third question, why when I put myqueue-service.xml into JBOSS_HOME/deploy-hasingleton/jms , why it doesn't hot deploy ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169608#4169608 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-07-04 Thread dmary
up View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162561#4162561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162561 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [Management, JMX/JBoss] - Re: partition name via JMX

2008-06-24 Thread dmary
Hi all, I would appreciated also to know how to determine cluster name programmaticly ?? If any guy of Jboss team know the solution or somebody ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160287#4160287 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-23 Thread dmary
and another question :) how do you add one task only ? put into cache and call a new method to add task into provider which call manager to put into timer ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4159818#4159818 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread dmary
thks a lot for ur response, two years after ;) I'm trying actualy , a little bit the same way , but for moment with db provider. I was also thinking about JbossCache as I use it in other parts. I was wondering what is the goods and bads between JbossCache and a database . One good point for

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread dmary
well I aims at execute many small jobs which needs few cpu. I see your post and finaly, I'm not far from you. The difference is that I've got a JMX target in addition, like it is written here : http://www.madplanet.com/jboss-docu-wiki/Wiki.jsp?page=40.Utilities.Scheduler But this JMX target,

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread dmary
just one question, what do u do of the task which has been pushed into cache, after his execution ? do u deleted it ? how ? just after push it into queue ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4159538#4159538 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Re: How to programmaticly schedule many tasks ?

2008-06-19 Thread dmary
nobody ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4159279#4159279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4159279 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [Clustering/JBoss] - Best way to get master node (HASingletonDeployer with Barrie

2008-06-18 Thread dmary
Hi all, I'm using Jboss AS 4.05GA and I was wondering how to contact the master node in order to add new schedules on a ScheduleProvider. I have 3 nodes in a Farm, and at one moment, there is only one node managing Schedules See my conf: mbean

[jboss-user] [Clustering/JBoss] - Re: Best way to get master node (HASingletonDeployer with Ba

2008-06-18 Thread dmary
| MBeanServer server = MBeanServerLocator.locateJBoss(); | ClusterPartitionMBean cluster = (ClusterPartitionMBean) MBeanProxyExt.create(ClusterPartitionMBean.class, jboss:service=default_partition, server); | VectorString nodes = cluster.getCurrentView(); |

[jboss-user] [Management, JMX/JBoss] - Re: How to programmaticly schedule many tasks ?

2008-06-16 Thread dmary
some help will be appreciated ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4158329#4158329 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4158329 ___ jboss-user mailing list

[jboss-user] [JBoss Cache: Core Edition] - Re: Exclusive lock is acquired on all nodes not one only

2008-06-16 Thread dmary
You're the boss ! thks a lot, I can achieve it with R_R and your trick. I will leave dummy key as I understand it is much better than other solution , for the cost of time. thanks again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4158317#4158317 Reply to

[jboss-user] [JBoss Cache: Core Edition] - Re: Exclusive lock is acquired on all nodes not one only

2008-06-16 Thread dmary
no , what I want exactly is : 1) node 1 read /root/subroot/A 2) other nodes cannot read /root/subroot/A as node 1 is reading it (locked) 3) node 5 read /root/subroot/B 4) other nodes cannot read /root/subroot/B as node 5 is reading it (locked) 5) node 1 finishing reading (and writing

[jboss-user] [JBoss Cache: Core Edition] - Re: Exclusive lock is acquired on all nodes not one only

2008-06-16 Thread dmary
Well, I don't want any concurrency. The fact is if one node of the farm is reading one node of the tree cache, other node won't we allowed to read . but with REPEATABLE_READ, all nodes can read cache. if the first node read, override with same data, re - read, and I choose R_R, will it lock

[jboss-user] [JBoss Cache: Core Edition] - Re: Exclusive lock is acquired on all nodes not one only

2008-06-16 Thread dmary
well I understand ur point of view. I'm exactly use TreeCache (1.4.1 SP3 with Jboss 4.0.5GA) in this way : put all my objects at /root/subroot , so I have : | /root | /subroot | Integer1 : Object1 | Integer2 : Object2 | Integer3 : Object3 | instead, I must have as

[jboss-user] [JBoss Cache: Core Edition] - Re: Exclusive lock is acquired on all nodes not one only

2008-06-13 Thread dmary
so, anybody has one solution for my use case ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4157875#4157875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157875 ___ jboss-user

[jboss-user] [Management, JMX/JBoss] - How to programmaticly schedule many tasks ?

2008-06-13 Thread dmary
Hi all, I was reading many docs and post on scheduling into Jboss and I didn't really found any good solution. I use Jboss 4.05 GA in clustered environnement. I need to create and schedule programmaticly each days , at any time, many tasks which require at least one parameter (this parameter

[jboss-user] [Management, JMX/JBoss] - Re: How to programmaticly schedule many tasks ?

2008-06-13 Thread dmary
Help plz ..! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4157959#4157959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157959 ___ jboss-user mailing list

[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-13 Thread dmary
Hi thehunt, could you please post some codes as I'm interested too in your use case. I've got same problem as I want to execute task with specific parameters. Does your solution replicate task on all nodes when the master node going down ?? Thanks. View the original post :

[jboss-user] [Management, JMX/JBoss] - Re: How to programmaticly schedule many tasks ?

2008-06-13 Thread dmary
For moment, I've succeed in create one task programmaticly, but : - first I add a schedule which must start 30 sec after - I stop the server which add schedule - I didn't see the schedule started on one other node on my farm (3 servers) Did I forgot something ? MBeanServer server =

[jboss-user] [JBoss Cache: Core Edition] - Exclusive lock is acquired on all nodes not one only

2008-06-12 Thread dmary
Hi all, I use TreeCache (JbossCache 1.4.1 SP3 with Jboss 4.0.5GA) with a cache configured in a clustered environnement. I set in PESSIMISTIC/SERIALIZABLE mode and I want to lock only one node when I read or write to it. For example, if I have /root/subroot/A and /root/subroot/B, I read node A,

[jboss-user] [JBoss Cache: Core Edition] - Re: Exclusive lock is acquired on all nodes not one only

2008-06-12 Thread dmary
oups, don't care about READ_UNCOMMITTED in conf file, it is SERIALIZABLE I use. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4157736#4157736 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157736

[jboss-user] [JBoss Cache: Core Edition] - Re: Does JBoss Cache and semaphores

2008-04-30 Thread dmary
Hi, is still exist any solution for this kind of case ? I'm also have same problem as I'm running a farm of Jboss onto 2 servers, sharing some datas into a jboss cache, and I want in some explicit case, to lock an arraylist for one thread (server 1 or server 2), other thread on same server or

[jboss-user] [EJB/JBoss] - How to pass object between EJB during just a session / trans

2008-04-08 Thread dmary
Hi all, I've got a queue declared that handle messages. A stateless EJB consumer A is handling message and call another stateless EJB B (business level). I use log4j to log infos, and I want that infos which be logged into A and B starts with same ID, like a session ID. I've try to give a look

[jboss-user] [EJB/JBoss] - Is there a similar annotation of seam @in annotation in jbos

2008-04-08 Thread dmary
Hi all, Is there a similar annotation of seam @in annotation in current jboss AS ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4142392#4142392 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4142392

[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-21 Thread dmary
Well, does it work in version 2.xx and could I install 2.xx version with Jboss 4.0.5 GA ? Thanks for ur response. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130984#4130984 Reply to the post :

[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-19 Thread dmary
nobody ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130469#4130469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130469 ___ jboss-user mailing list

[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-14 Thread dmary
up! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129355#4129355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129355 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-13 Thread dmary
I see this in JbossCache docs : anonymous wrote : When the eviction policy in effect calls evict() to evict a node from the cache, if passivation is enabled, a notification that the node is being passivated will be emitted to the tree cache listeners and the node and its children will be

[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-13 Thread dmary
mircea.markus wrote : I've run the following test on 1.4.1SP3, works fine: |public void testIssues() throws Exception | |{ | | TreeCache cache = new TreeCache(); | | PropertyConfigurator conf = new PropertyConfigurator(); | | conf.configure(cache,

[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-13 Thread dmary
Well, I've try your code + two objects (Integer) : this.cache.put(/za_node, key, value); | this.cache.put(/za_node2, key, value); | this.cache.put(/za_node3, key, value); | this.cache.put(/za_node4, key, value); | this.cache.putObject(/za_node5, new Integer(56));

[jboss-user] [JBossCache] - Manual eviction not working

2008-02-12 Thread dmary
Hi all, I'm trying to evict manualy all nodes from memory cache to cache loader (mysql datastore). I'm doing this as I want to keep data from cache even if I shutdown JBoss server, so I want to store physicaly datas , and when I start Jboss another time, it will bring up all datas from

[jboss-user] [JBossCache] - Pojo doesn't get replicated in datastore

2007-12-13 Thread dmary
Hi, I've got a POJO which contains another POJO extends an ArrayList and when I put in cache, it store in datastore only the POJO which extends ArrayList but not its child elements. If I use directly an ArrayList, it works like a charm. Here is the code : @PojoCacheable | public class

[jboss-user] [JBossCache] - Re: JDBCCacheLoader and MySQL problems

2007-12-11 Thread dmary
do u try to change the type of field named node in table jbosscache from blob to longblob ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111952#4111952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111952

[jboss-user] [JBossCache] - Re: CacheLoader is not notified when a POJO is modified

2007-12-11 Thread dmary
well, i've try to do again same deploy, with a fresh install of jboss 4.05 GA, and I found another error, and in searching into forum, I found that someone have got same error (see http://www.jboss.org/index.html?module=bbop=viewtopict=98752postdays=0postorder=ascstart=10), and the solution

[jboss-user] [JBossCache] - Eviction/passivation is called when server shutdown ?

2007-12-11 Thread dmary
Hi all, I see someone on forum which have success on having evicting action called when his server have shutdown, and with passivation=true, the datas goes into cacheloader and be stored into database. I've try it (passivation = true), and never , the datas goes into my database. So this is

[jboss-user] [JBossCache] - Re: CacheLoader is not notified when a POJO is modified

2007-12-06 Thread dmary
well, I've decided to use aopc precompile time mode, it well create my EAR. but when I deploy my ear, now , I've got an error with a stateless EJB : | Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: notifyObservers | at

[jboss-user] [JBossCache] - Re: CacheLoader is not notified when a POJO is modified

2007-12-06 Thread dmary
It happend only on a stateless EJB (with local and remote interface) which have on several methods signature, a POJO use by jbosscache. If I do not use aopc task, my project well deploy on Jboss AS (Ps : I put AOP 1.5.2) View the original post :

[jboss-user] [JBossCache] - Re: CacheLoader is not notified when a POJO is modified

2007-12-06 Thread dmary
Nobody knows where can the problem for the exception java.lang.NoSuchMethodException: notifyObservers ? I think it could be eventualy one library is needed .. Resume of what have been done : 1 - annotation on POJO 2 - xml file for create MBean cache with cacheloader in /deploy 3 - use of

[jboss-user] [JBossCache] - Re: CacheLoader is not notified when a POJO is modified

2007-12-05 Thread dmary
Hi, I've got no response so I will precise more detail :) : - i'm running with JBoss 4.0.5 GA - i've got the JbossCache 1.4.0 SP1 dist I've read all tutorials on JBossCache (TreeCache and PojoCache), i've read the wiki (PojoCacheAS405) and I didn't understand why any interceptor is called

[jboss-user] [JBossCache] - Re: CacheLoader is not notified when a POJO is modified

2007-12-05 Thread dmary
nobody can explain to me ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110746#4110746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110746 ___ jboss-user mailing list

[jboss-user] [JBossCache] - Treecache - CacheLoader - Evicting not called when server is

2007-12-04 Thread dmary
Hi all, I try with a TreeCache, to backup my data stored previously from memory to disk or database, when I shutdown my JBOSS AS 4.0.5 GA (with JBossCache 1.4.0 SP1) Here is my config : | ?xml version=1.0 encoding=UTF-8 ? | server | classpath codebase=./lib archives=jboss-cache.jar,

[jboss-user] [JBossCache] - CacheLoader is not notified when a POJO is modified

2007-12-03 Thread dmary
Hi all, I've got a problem with JDBCCacheLoader, as when i change some datas from a POJO, these changes are not reflected on the datastore used (an mysql database) Here is my config : ?xml version=1.0 encoding=UTF-8? | server | | | mbean code=org.jboss.cache.aop.PojoCache |