[JBoss Remoting] - homes and connecthomes parameter
by Gusti Benawi
Gusti Benawi [https://community.jboss.org/people/benawi] created the discussion
"homes and connecthomes parameter"
To view the discussion, visit: https://community.jboss.org/message/798330#798330
--------------------------------------------------------------
Hello,
If the number of homes entered does not equal the number of connecthomes, then I will get following exception:
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.start(BisocketServerInvoker.java:285)
at org.jboss.remoting.transport.Connector.start(Connector.java:344)
for example:
bisocket://multihome:1234/?homes=myhost!localhost&connecthomes=exthost1!exthost2!localhost
homes has 2 parameters: myhost and localhost
connecthomes has 3 parameters: exthost1, exthost2 and localhost
It it a bug or feature?
I need 3 parameters for the connecthomes, since the server has to be reached from those two external hosts and off course from localhost.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/798330#798330]
Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months
[jBPM] - how to build a specific release of jBPM 'ecosystem' from source
by Szymek Pindelski
Szymek Pindelski [https://community.jboss.org/people/sweeper] created the discussion
"how to build a specific release of jBPM 'ecosystem' from source"
To view the discussion, visit: https://community.jboss.org/message/797203#797203
--------------------------------------------------------------
hi, is there a way to build a specific release of jBPM 'ecosystem' (all the projects referenced in droolsjbpm-build-bootstrap) from source ? I need a stable release (preferably jBPM 5.4.0 Final + Drools 5.5.0 Final - just like in the latest full installer package) to use as a code reference in my little demo jbpm eclipse project. I followed the build instructions for project contributors (from droolsjbpm readme on github) to download and build the whole package using droolsjbpm-build-bootstrap but ended up with some buggy snapshot that wouldn't even compile due to some package-naming related errors (folder names using diactrical marks..) So i tried cloning the same droolsjbpm-build-bootstrap from 5.4.x branch and repeated the whole procedure using freshly-downloaded branch-specific scripts but i have soon noticed that git-clone-others.sh script is not parameterized in any way to use the proper branch - it just started cloning the same master repositories. I thought about adding a branch switch (-b 5.4.x) to the 'git clone' call inside it but since all these projects are released separately (e.g jbpm 5.4.0 final + drools 5.5.0 final) and have separate lifecycles, i figured it wouldn't work. So - my question is how to do it properly without using Hudson ? (I believe you are using CI server for this purpose) Thanks in advance for any assistance, regards Simon
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/797203#797203]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months
[jBPM] - jBPM 5.4 : original exception is swallowed when using LocalTaskService inside an EJB CMT
by gonzalad
gonzalad [https://community.jboss.org/people/gonzalad] created the discussion
"jBPM 5.4 : original exception is swallowed when using LocalTaskService inside an EJB CMT"
To view the discussion, visit: https://community.jboss.org/message/798310#798310
--------------------------------------------------------------
Hello,
I'm using LocalTaskService inside an EJB CMT.
Problem is, whenever TaskService generates an error, it tries to rollback the transaction calling ut.rollback() instead of ut.setRollbackOnly().
So, the original exception is swallowed and instead I get
Caused by: java.lang.IllegalStateException: JBAS014160: Tx erroné pour cette chaîne : TransactionImple < ac, BasicAction: 0:ffff0affce14:-23020732:512359da:43 status: ActionStatus.ABORTED > attendu, mais avons null
at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:80) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:302) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:188) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:181) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]
at com.natixis.odeon.process.SampleProcessService$$$view9.forward(Unknown Source) [classes:]
I think there's an error in org.jbpm.task.service.TaskServiceSession, lien 462, takeOverTransaction should be false when we're running inside an EJB CMT.
} catch (RuntimeException re) {
// We may not be the tx owner -- but something has gone wrong.
// ..which is why we make ourselves owner, and roll the tx back.
boolean takeOverTransaction = true;
tpm.rollBackTransaction(takeOverTransaction);
doOperationInTransaction(new TransactedOperation() {
public void doOperation() {
task.getTaskData().setStatus(Status.Error);
}
});
throw re;
}
I'll update this thread whenever I'll have more info.
Can someone confirm this is a bug in jBPM ?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/798310#798310]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months