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
"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
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
{
|
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
"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
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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo