[jBPM] - jbpm-5.1.0 Demo can't work fine
by paul twa
paul twa [http://community.jboss.org/people/paultwa] created the discussion
"jbpm-5.1.0 Demo can't work fine"
To view the discussion, visit: http://community.jboss.org/message/613750#613750
--------------------------------------------------------------
hi,
I have learned the file[ch03.html] in jbpm-5.1.0.Final-docs,
On the basis of the file,
1> I have installed all components successfully by the command [ant install.demo].
2> and then ant start demo successfully.
3> after starting Eclipse, I have Imported the sample project 'evaluation' successfully.
To show the state of the process instance you just started graphically,
click on the Process Instances View and then select the ksession variable in the Variables View.
the Process Instances View popup the message:
The selected working memory has no process instances.
In the end, I have learned the tutorial video several time.
I found some differences:
1> when debug the demo, in my pc, it can't popup a Save and
Launch Dialog, but the 0:46 frame in the video, it can popup the dialog.
why, Could you share a idea for solving this problem?
Thanks in advance...
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/613750#613750]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 10 months
[jBPM] - Dealing & working with drl (drules)
by Senhaji Mustapha
Senhaji Mustapha [http://community.jboss.org/people/m.senhaji] created the discussion
"Dealing & working with drl (drules)"
To view the discussion, visit: http://community.jboss.org/message/613700#613700
--------------------------------------------------------------
Hello everybody,
I would like to work with *rules-decision* but unfortunatly I don't know how to deploy(use) drl file.
This is my jpdl.
+<process name="commerce" xmlns=" http://jbpm.org/4.4/jpdl http://jbpm.org/4.4/jpdl">+
+<swimlane candidate-groups="DC" name="DC"/>+
+<start g="356,7,80,40">+
+ <transition g="-84,-16" name="createOpportunity" to="commerce_rules"/>+
+</start>+
+<rules-decision name="commerce_rules" g="663,374,48,48" >+
+<transition g="379,397:49,13" name="CCI" to="SubProcess : CCI"/>+
+ <transition g="-22,11" name="CCP" to="SubProcess : Clientele Privee"/>+
+ <transition g="954,399:5,-15" name="CCPT" to="SubProcess : CCPT"/>+
+</rules-decision>+
+......+
And this is my *drl* file.
global java.lang.String decision;
global org.jbpm.jpdl.internal.rules.Outcome outcome;
rule "CCP"
when
eval(decision == "CCP")
then
outcome.set("CCP");
end
If anybody knows the solution, please write it right down. Thank's for help
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/613700#613700]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 10 months
[JBoss Messaging] - Failed to replay transaction
by John Heijm
John Heijm [http://community.jboss.org/people/jheijm] created the discussion
"Failed to replay transaction"
To view the discussion, visit: http://community.jboss.org/message/594927#594927
--------------------------------------------------------------
JBoss is attempting to recover existing prepared transactions by redelivering unhandled messages and acknowledgements on the appropriate channels (from TransactionRepository#recoverPreparedTransactions javadocs). The queue that was bound to the channel id specified is no longer defined.
I have two questions:
1) How can this happen? There are three nodes in this cluster.
2) How can I remove these transactions or force them to recover? This same message keeps repeating for the same 3 ids over and over and over again).
Thanks a lot.
Here is my stack trace:
2011-03-21 11:23:47,285 WARN -> (Thread-6) [TransactionRepository] Failed to replay transaction (XID: MessagingXid (24348582 bq:45.55.52.99.102.55.49.52.57.58.99.52.53.51.58.52.100.55.54.56.55.52.98.58.51.51.48.101.57.49 fo
rmatID:131075 gtxid:49.45.45.55.52.99.102.55.49.52.57.58.99.52.53.51.58.52.100.55.54.56.55.52.98.58.51.51.48.101.57.48, LocalID: 21293346538722831) during recovery.
java.lang.IllegalStateException: Cannot find binding for channel id 751
at org.jboss.messaging.core.impl.tx.TransactionRepository.handleAcks(TransactionRepository.java:377)
at org.jboss.messaging.core.impl.tx.Transaction.loadState(Transaction.java:357)
at org.jboss.messaging.core.impl.tx.TransactionRepository.recoverPreparedTransactions(TransactionRepository.java:149)
at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.getPreparedTransactions(ServerConnectionEndpoint.java:539)
at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$getPreparedTransactions$aop(ConnectionAdvised.java:106)
at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$getPreparedTransactions_8083036720366990761.invokeNext(ConnectionAdvised$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$getPreparedTransactions_8083036720366990761.invokeNext(ConnectionAdvised$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.getPreparedTransactions(ConnectionAdvised.java)
at org.jboss.jms.wireformat.ConnectionGetPreparedTransactionsRequest.serverInvoke(ConnectionGetPreparedTransactionsRequest.java:67)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:866)
at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
at org.jboss.remoting.Client.invoke(Client.java:1640)
at org.jboss.remoting.Client.invoke(Client.java:554)
at org.jboss.remoting.Client.invoke(Client.java:542)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$getPreparedTransactions$aop(ClientConnectionDelegate.java:265)
at org.jboss.jms.client.delegate.ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.invokeNext(ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.invokeNext(ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.invokeNext(ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.client.delegate.ClientConnectionDelegate.getPreparedTransactions(ClientConnectionDelegate.java)
at org.jboss.jms.tx.ResourceManager.recover(ResourceManager.java:575)
at org.jboss.jms.tx.MessagingXAResource.recover(MessagingXAResource.java:281)
at org.jboss.jms.server.recovery.MessagingXAResourceWrapper.recover(MessagingXAResourceWrapper.java:110)
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecovery(XARecoveryModule.java:746)
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecovery(XARecoveryModule.java:685)
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:179)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWork(PeriodicRecovery.java:237)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:163)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/594927#594927]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 10 months