[JBoss Portal] - jbpm on portal 2.7.2 WARN logs
by ozguy
Hi,
I am using jboss 4.2.3 with portal 2.7.2 and when the server starts up i see lots of WARN related to jbpm configurations not found as listed below.
How can i fix this warnings?
21:07:41,250 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node]; using defaults.
21:07:41,406 WARN [EhCacheProvider] Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.
21:07:41,718 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
21:07:42,156 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.
21:07:42,437 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
21:07:42,453 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Action]; using defaults.
21:07:42,468 WARN [EhCacheProvider] Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.
21:07:44,281 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Event]; using defaults.
21:07:44,531 WARN [EhCacheProvider] Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.
21:07:44,703 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.
21:07:44,953 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.
21:07:45,031 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults
21:07:45,031 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defau
21:07:45,031 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.
21:07:45,031 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.
21:07:45,031 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.
21:07:45,046 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using d
21:07:45,046 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using
.
21:07:45,046 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; using default
21:07:45,046 WARN [EhCacheProvider] Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults.
21:07:45,062 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.
21:07:45,062 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using default
21:07:45,062 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.
21:07:45,078 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using defaults.
21:07:45,078 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults.
21:07:45,078 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; using defaul
21:07:45,093 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults.
21:07:45,093 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults.
21:07:45,093 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults.
21:07:45,093 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defa
21:07:45,093 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults.
21:07:45,093 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using defaults.
21:07:45,109 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using defaults.
21:07:45,109 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults.
21:07:45,109 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using defaults.
21:07:45,109 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238764#4238764
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238764
16 years, 10 months
[JBoss Cache: Core Edition] - Re: Manual node locking?
by mircea.markus
anonymous wrote : To lock object O:
| 1. val = cache.put( '/locks', O, 'lock' )
| 2a. If val == null, we have the lock (no previous 'put')
| 2b. Else (val != null ) somebody else locked it first. Use a cache listener to wait for removed nodes
| 3a. Lock owner in (2a) proceeds. When finished, call cache.remove( '/locks', O )
| 3b. Contenders from (2b) get notified and return to (1)
You have to use tx in order to keep the lock from step1 to step 3. Otherwise the lock will be released when cache.put returns. Here is a way for doing this:
//1 use the tx manager that comes with cache;line bellow can also be specified through configuration, in transaction element, transactionManagerLookupClass attribute
| configuration.setTransactionManagerLookupClass(DummyTransactionManagerLookup.class.getName());
|
| //2. obtain the TransactionManager
| TransactionManager tm = cache.getConfiguration().getRuntimeConfig().getTransactionManager();
|
| //3. start a transaction
| tm.begin();
|
| //4. make sure that the node will be locked even if you only read it. After this call you are ensured to be the only one having access to the node
| cache.getInvocationContext().getOptionOverrides().setForceWriteLock(true);
| Object o = cache.get(fqn, "k");
|
| //5. do whatever you need, the locks are still held here
| ....
|
| //locks are released here, other trying to read same fqn will be allowed to
| 6.tm.release();
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238745#4238745
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238745
16 years, 10 months