[jboss-user] [JBoss jBPM] - Re: Hibernate Error when persist the outer ProcessInstance.

2009-04-09 Thread kenees
So is there any jBPM guy can answer my question? Is this the rude way is the only way for this question? thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224814#4224814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss jBPM] - Re: Hibernate Error when persist the outer ProcessInstance.

2009-04-09 Thread kenees
"boercher" wrote : Obviously creation of ProcessInstances involves the database. I've looked up the ProcessInstance constructor: | | public ProcessInstance(ProcessDefinition processDefinition, Map variables, String key) | | { | | [...] | | // if this process instance i

[jboss-user] [JBoss jBPM] - Hibernate Error when persist the outer ProcessInstance.

2009-04-08 Thread kenees
Hi guys I'm using JBPM 3.3.0.GA, I have a use case that want to create a new ProcessInstance (name as A) inside an actionHandler of an outer one, the code in the action handler would like this: | @Override | public void execute(ExecutionContext executionContext) throws Exception { |

[jboss-user] [JBoss jBPM] - Re: Is that possible to create a non-persisted ProcessInstan

2009-04-08 Thread kenees
Hi Volker Unfortunately, your hack doesn't work, I got a more serious exception: | 17:41:04,598 ERROR [AssertionFailure] an assertion failure occured (this may indicate a bug in Hiber | nate, but is more likely due to unsafe use of the session) | org.hibernate.AssertionFailure: possible no

[jboss-user] [JBoss jBPM] - Re: Is that possible to create a non-persisted ProcessInstan

2009-04-08 Thread kenees
"boercher" wrote : Have you tried to remove the offending object(s) from the Hibernate session? I don't know if it is possible to access it in the right moment but I would try | jbpmContext.getSession().evict(processInstance) (or the like) | | BTW: Doesn't it help to omit the call to jbpmC

[jboss-user] [JBoss jBPM] - Is that possible to create a non-persisted ProcessInstance i

2009-04-08 Thread kenees
The question is that I want to create a new ProcessInstance inside an outer ProcessInstance, actually this creation (new) operation is done in the ActionHandler of the outer ProcessInstance, the key is that the outer one is a persisted one, but I don't want the inner one to be persisted. So I go

[jboss-user] [JBoss Cache: Core Edition] - Re: Error function when working with passivation.

2009-01-21 Thread kenees
OK, thanks Manik, I will try it later. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203857#4203857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203857 ___ jboss-user maili

[jboss-user] [JBoss Cache: Core Edition] - Re: No-storage nodes (coherence-like feature) question

2008-12-28 Thread kenees
Hi RS, I think you can try the TcpDelegatingCacheLoader. Although I didn't try it yet, the behavior of this loader described in the user guide may be is the one you want. I quote some of the description in the user guide for this loader as below: anonymous wrote : "This cache loader allows to de

[jboss-user] [JBoss Cache: Core Edition] - Re: Error function when working with passivation.

2008-12-28 Thread kenees
It seems no body care about my problem :( Anyway, I'm still doing the test and finally find that whenever I write the following code in my run() method of the reader Thread, the reader has a big chance to get null from a specific node which should have value, the code is: @Override | publi

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem setting up clustered JBossCache

2008-12-28 Thread kenees
I think it shouldn't be a problem, I have tried JBossCache 3.0.1 (with the embeded jgroup.jar) and successfully deployed it on a Weblogic cluster enviroment with the default configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198614#4198614 Reply

[jboss-user] [JBoss Cache: Core Edition] - Re: Error function when working with passivation.

2008-12-28 Thread kenees
BTW, i was using JDK1.6 and following is some log output: 2008-12-26 13:28:16,415 [Thread-1] DEBUG (AdjListJDBCCacheLoader.java:147) - executing sql: select fqn from jbosscache where parent=? (/testRegion) | 2008-12-26 13:28:16,509 [Thread-1] INFO (ReadThread.java:40) - currently node (/testRe

[jboss-user] [JBoss Cache: Core Edition] - Error function when working with passivation.

2008-12-28 Thread kenees
Hi guys, I wrote a test application to test passivation function with JDBCCacheLoader, the application is simple, two threads, the writer thread try to put 20 nodes into the cache and the reader thread do the read operation periodically. I only set maxNodes to be 10 and passivation to be true, s

[jboss-user] [JBoss Cache: Core Edition] - Re: Data gravitation not work if you create two nodes with s

2008-12-28 Thread kenees
Please, anyone, I need help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198410#4198410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198410 ___ jboss-user mailing list jb

[jboss-user] [JBoss Cache: Core Edition] - Data gravitation not work if you create two nodes with same

2008-12-22 Thread kenees
Hi I have two cluster nodes, nodeA and nodeB deployed on WLS 10.3, the demo code is very simple, I list the step is follow: 1. create a FQN using: Fqn.fromString("/testRegion"); 2. create a Cache with default "total-replication.xml" configuration, and store it in a servelet property, so all the

[jboss-user] [JBoss Cache: Core Edition] - How to use data gravitation?

2008-11-25 Thread kenees
will pass in an Option to enable data gravitation on a per-invocation basis. If autoDataGravitation is true this Option is unnecessary. But do we have any chance to know if the cache miss is caused by server failure or the data is not loaded before in the server? Kindes regards Kenees Vie