[JBoss JIRA] Created: (JBPM-2072) ConnectionManager deadlock running XA transaction on AS 4
by Heiko Braun (JIRA)
ConnectionManager deadlock running XA transaction on AS 4
---------------------------------------------------------
Key: JBPM-2072
URL: https://jira.jboss.org/jira/browse/JBPM-2072
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Engine
Reporter: Heiko Braun
Assignee: Heiko Braun
Fix For: jBPM 4.0.0 Alpha2
10:15:41,408 ERROR [LogInterceptor] RuntimeException in method: public abstract java.lang.Object org.jbpm.enterprise.internal.ejb.LocalCommandExecutor.execute(org.jbpm.cmd.Command):
java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1137)
at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.unlock(BaseWrapperManagedConnection.java:278)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedConnection.java:180)
at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.end(JcaXAResourceWrapper.java:58)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.endSuspendedRMs(TransactionImple.java:1529)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:235)
at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:501)
--
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, 10 months
[JBoss JIRA] Commented: (JBPM-304) Transient variables are not available in scripts
by Simon Gibbs (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-304?page=com.atlassian.jira.plugi... ]
Simon Gibbs commented on JBPM-304:
----------------------------------
This issue is still present as of version 3.2.
I'd like to expose the services of Spring beans by injecting a list of named beans into the transient variables of individual process instances before signalling them. e.g. in beanshell I'd like this to work:
persistentVariable = transientSpringBean.findData(arg);
I've tried wrapping VariableResolver but this only affects EL, and is not a suitable alternative.
> Transient variables are not available in scripts
> ------------------------------------------------
>
> Key: JBPM-304
> URL: https://jira.jboss.org/jira/browse/JBPM-304
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM 3.0.0
> Reporter: Daniel Serodio
> Assignee: Tom Baeyens
> Priority: Minor
>
> The jBPM documentation, section 7.4.5. Script, says:
> "... By default, all process variables are available as script-variables and no script-variables will be written to the process variables."
> But the transient variables are not available to <script>s, just to <action>s.
--
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, 10 months
[JBoss JIRA] Updated: (JBPM-1210) spring configuration support
by Andries Inze (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-1210?page=com.atlassian.jira.plug... ]
Andries Inze updated JBPM-1210:
-------------------------------
Attachment: spring-jbpm-24022009-patch.zip
Added new svn patch (24022009)
Allows for the following process definitions:
<?xml version="1.0" encoding="UTF-8"?>
<process name="Spring">
<start>
<transition to="test" />
</start>
<spring name="test">
<bean>testBean</bean>
<method>testMethod</method>
<transition to="testWithParameters" />
</spring>
<spring name="testWithParameters">
<bean>testBean</bean>
<method>testMethodWithParameters</method>
<parameters>
<string value="a good test" />
</parameters>
<transition to="exclusive spring test" />
</spring>
<exclusive name="exclusive spring test" handler-ref="testBean">
<transition name="no" to="wait" />
<transition name="yes" to="wait" />
</exclusive>
<state name="wait" />
</process>
The handler-ref refers to a spring bean.
> spring configuration support
> ----------------------------
>
> Key: JBPM-1210
> URL: https://jira.jboss.org/jira/browse/JBPM-1210
> Project: JBoss jBPM
> Issue Type: Feature Request
> Components: PVM
> Reporter: Tom Baeyens
> Assignee: Mauricio Salatino
> Priority: Minor
> Fix For: jBPM 4.0.x
>
> Attachments: spring-jbpm-24022009-patch.zip, spring-jbpm-v1.7z, spring-jbpm-v1.zip
>
>
> The first goal is to create an EnvironmentFactory implementation that is based on spring configuration.
> The class to complete is org.jbpm.pvm.internal.env.SpringEnvironmentFactory
> The SpringEnvironmentFactory should relate to a spring ApplicationContext, I believe. The first thing to do is create a test that shows how a spring configuration can be used to create hibernate sessions.
> Something like this:
> static EnvironmentFactory environmentFactory = SpringEnvironmentFactory.parseResource("org/jbpm/pvm/spring/springbeans.xml");
> Environment environment = environmentFactory.openEnvironment();
> try {
> Session hibernateSession = environment.get(Session.class);
> assertNotNull(hibernateSession);
> } finally {
> environment.close();
> }
--
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, 10 months
[JBoss JIRA] Resolved: (JBPM-2057) Do not truncate long messages/exceptions
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-2057?page=com.atlassian.jira.plug... ]
Thomas Diesler resolved JBPM-2057.
----------------------------------
Resolution: Done
jbpm-3.2.5.SP2 contains this fix for sybase only.
< create table JBPM_JOB (... EXCEPTION_ varchar(4000) null, ...)
> create table JBPM_JOB (... EXCEPTION_ text null, ...)
< create table JBPM_LOG (... EXCEPTION_ varchar(4000) null, ...)
> create table JBPM_LOG (... EXCEPTION_ text null, ...)
Additional mappings to "text" properties need to be decided
> Do not truncate long messages/exceptions
> ----------------------------------------
>
> Key: JBPM-2057
> URL: https://jira.jboss.org/jira/browse/JBPM-2057
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Productization
> Environment: Sybase/DB2
> Reporter: Ryan Campbell
> Assignee: Thomas Diesler
> Fix For: jBPM-3.2.5.SP2
>
>
> For sybase, a "text" column should be used instead of the current varchar(4000)
> This will prevent the truncation of stack traces.
> Do to data migration issues we cannot change the mapping of existing db columns. Instead the issue should be resolved by adding additional "text" columns.
--
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, 10 months