[JBoss JIRA] Created: (JBPM-2116) Index names too long for DB2 8.2
by Jiri Pechanec (JIRA)
Index names too long for DB2 8.2
--------------------------------
Key: JBPM-2116
URL: https://jira.jboss.org/jira/browse/JBPM-2116
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Engine
Affects Versions: jBPM-3.2.5.SP3
Environment: DB2 8.2, JDBC driver 2.10.52, RHEL4
Reporter: Jiri Pechanec
Two indices are not created beacuse their names are too long
2009-03-19 06:13:23,025 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Unsuccessful: create index IDX_PSTATE_SBPRCDEF on JBPM_NODE (SUBPROCESSDEFINITION_)
2009-03-19 06:13:23,025 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] DB2 SQL error: SQLCODE: -107, SQLSTATE: 42622, SQLERRMC: IDX_PSTATE_SBPRCDEF;18
2009-03-19 06:13:23,362 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Unsuccessful: create index IDX_VARINST_TKVARMP on JBPM_VARIABLEINSTANCE (TOKENVARIABLEMAP_)
2009-03-19 06:13:23,362 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] DB2 SQL error: SQLCODE: -107, SQLSTATE: 42622, SQLERRMC: IDX_VARINST_TKVARMP;18
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 5 months
[JBoss JIRA] Created: (JBPM-1752) Expression Evaluation in ActionHandler Properties
by Alejandro Guizar (JIRA)
Expression Evaluation in ActionHandler Properties
-------------------------------------------------
Key: JBPM-1752
URL: https://jira.jboss.org/jira/browse/JBPM-1752
Project: JBoss jBPM
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Core Engine
Reporter: Alejandro Guizar
Assignee: Alejandro Guizar
Fix For: jBPM 3.3.0 GA
The parameters for an ActionHandler should be able to use expressions in it, so you could write
<action class="...">
<x>#{someObject.x}</x>
</action>
This could be done in the FieldInstatiator class (around line 67 we have "setPropertyValue(Class clazz, Object newInstance, String propertyName, Element propertyElement)"), but the execution context is not available there.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 5 months
[JBoss JIRA] Created: (JBPM-2368) verifty job execution transaction integration with jboss
by Tom Baeyens (JIRA)
verifty job execution transaction integration with jboss
--------------------------------------------------------
Key: JBPM-2368
URL: https://jira.jboss.org/jira/browse/JBPM-2368
Project: JBoss jBPM
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Runtime Engine
Reporter: Tom Baeyens
Assignee: Tom Baeyens
Priority: Critical
Fix For: jBPM 4.0
13:32:12,680 ERROR [DispatcherThread] exception in job executor thread. waiting 640000 milliseconds
org.jbpm.pvm.internal.wire.WireException: couldn't create object 'org.jbpm.pvm.internal.tx.jta.JtaTr
ansaction': BaseClassLoader@93b72e{vfszip:/Users/hbraun/Desktop/jbpm-workspace/jbpm-4.0-SNAPSHOT/jbo
ss-5.0.0.GA/server/default/deploy/jbpm/gwt-console-server.war} classLoader is not connected to a dom
ain (probably undeployed?) for class org.jbpm.pvm.internal.tx.jta.JtaTransaction
at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.construct(ObjectDescriptor.java:146)
at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:151)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:142)
at org.jbpm.pvm.internal.env.Environment.getFromCurrent(Environment.java:200)
at org.jbpm.pvm.internal.env.Environment.getFromCurrent(Environment.java:189)
at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:41)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.acquireJobs(DispatcherThread.java:129)
at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.run(DispatcherThread.java:67)
Caused by: java.lang.IllegalStateException: BaseClassLoader@93b72e{vfszip:/Users/hbraun/Desktop/jbpm
-workspace/jbpm-4.0-SNAPSHOT/jboss-5.0.0.GA/server/default/deploy/jbpm/gwt-console-server.war} class
Loader is not connected to a domain (probably undeployed?) for class org.jbpm.pvm.internal.tx.jta.Jt
aTransaction
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:730)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:378)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jbpm.pvm.internal.util.ReflectUtil.loadClass(ReflectUtil.java:47)
at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.construct(ObjectDescriptor.java:144)
... 14 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 5 months
[JBoss JIRA] Created: (JBPM-2094) Unindexed Foreign Keys cause deadlocks in oracle when trying to kill a worklfow
by Elhanan Maayan (JIRA)
Unindexed Foreign Keys cause deadlocks in oracle when trying to kill a worklfow
-------------------------------------------------------------------------------
Key: JBPM-2094
URL: https://jira.jboss.org/jira/browse/JBPM-2094
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Engine
Affects Versions: jBPM 3.2.0
Environment: aix/red hat linux, websphere 6.1, jvm 1.5
Reporter: Elhanan Maayan
attempting to execute deleteProcessInstance api using the follwoing code:
LOG.info("Delete process instance " + pi.getId());
try {
jbpmContext.getGraphSession().deleteProcessInstance(pi, true, true);
LOG.info("finished process instance deleted ");
}
catch (RuntimeException ex) {
LOG.error("problems while delete process", ex);
throw ex;
}
if this code runs in parallal at the same time (like for example from 2 different http requests) then records in jbpm_log table will be deleted, however since jbpm_log has about 13 parent table, and none of them are indexed foreign keys, all 13 will be table locked, causing one process to be deaclocked.
after creating more indexes manually this seemed to slove the problem:
CREATE INDEX "JBPM_LOG_INDEX1" ON "JBPM_LOG" ("ACTION_") ;
CREATE INDEX "JBPM_LOG_INDEX_CHILD" ON "JBPM_LOG" ("CHILD_") ;
CREATE INDEX "JBPM_LOG_INDEX_DESTINATIONNODE" ON "JBPM_LOG" ("DESTINATIONNODE_") ;
CREATE INDEX "JBPM_LOG_INDEX_NEWBYTEARRAY" ON "JBPM_LOG" ("NEWBYTEARRAY_") ;
CREATE INDEX "JBPM_LOG_INDEX_NODE" ON "JBPM_LOG" ("NODE_") ;
CREATE INDEX "JBPM_LOG_INDEX_OLDBYTEARRAY" ON "JBPM_LOG" ("OLDBYTEARRAY_") ;
CREATE INDEX "JBPM_LOG_INDEX_PARENT" ON "JBPM_LOG" ("PARENT_") ;
CREATE INDEX "JBPM_LOG_INDEX_SOURCENODE" ON "JBPM_LOG" ("SOURCENODE_") ;
CREATE INDEX "JBPM_LOG_INDEX_SWIMINST" ON "JBPM_LOG" ("SWIMLANEINSTANCE_") ;
CREATE INDEX "JBPM_LOG_INDEX_TASKINSTANCE" ON "JBPM_LOG" ("TASKINSTANCE_") ;
CREATE INDEX "JBPM_LOG_INDEX_TOKEN" ON "JBPM_LOG" ("TOKEN_") ;
CREATE INDEX "JBPM_LOG_INDEX_TRANSITION" ON "JBPM_LOG" ("TRANSITION_") ;
CREATE INDEX "JBPM_LOG_INDEX_VARINSTANCE" ON "JBPM_LOG" ("VARIABLEINSTANCE_") ;
however i would expect this to be included in the hbm files as this is not a performance issue but actually a causing a failure in our application.
CREATE INDEX "JBPM_BYTEARR_INDEX_FILE" ON "JBPM_BYTEARRAY" ("FILEDEFINITION_") ;
CREATE INDEX "JBPM_VARINST_INDEX_TINSTANCE" ON "JBPM_VARIABLEINSTANCE" ("TASKINSTANCE_") ;
CREATE INDEX "JBPM_VARINST_INDEX_ARR" ON "JBPM_VARIABLEINSTANCE" ("BYTEARRAYVALUE_") ;
CREATE INDEX "JBPM_MODINST_INDEX_DF" ON "JBPM_MODULEINSTANCE" ("TASKMGMTDEFINITION_") ;
i believe this directly relates to : https://jira.jboss.org/jira/browse/JBPM-931
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 5 months