[Design of JBoss Build System] - Re: Updating versions in AOP build
by kabir.khan@jboss.com
Thanks,
That works locally, but on Hudson I get the following error:
http://hudson.qa.jboss.com/hudson/view/AOP/job/jboss-aop-head-testsuite/2...
| et.proxy:
|
| createthirdparty:
| [echo] Calling mvn command located in /qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-testsuite/trunk/build/../tools/maven
| [java] [INFO] Scanning for projects...
| [java] WAGON_VERSION: 1.0-beta-2
| [java] [INFO] ------------------------------------------------------------------------
| [java] [INFO] Building JBoss AOP Thirdparty
| [java] [INFO] task-segment: [package]
| [java] [INFO] ------------------------------------------------------------------------
| [java] Downloading: http://repo1.maven.org/maven2/org/jboss/maven/plugins/maven-buildmagic-th...
| [java] Downloading: http://repo1.maven.org/maven2/org/jboss/maven/plugins/maven-buildmagic-th...
| [java] [INFO] ------------------------------------------------------------------------
| [java] [ERROR] BUILD ERROR
| [java] [INFO] ------------------------------------------------------------------------
| [java] [INFO] Failed to resolve artifact.
|
| [java] GroupId: org.jboss.maven.plugins
| [java] ArtifactId: maven-buildmagic-thirdparty-plugin
| [java] Version: 2.1
|
| [java] Reason: Unable to download the artifact from any repository
|
| [java] org.jboss.maven.plugins:maven-buildmagic-thirdparty-plugin:pom:2.1
|
| [java] from the specified remote repositories:
| [java] central (http://repo1.maven.org/maven2)
|
|
| [java] [INFO] ------------------------------------------------------------------------
| [java] [INFO] For more information, run Maven with the -e switch
| [java] [INFO] ------------------------------------------------------------------------
| [java] [INFO] Total time: 2 seconds
| [java] [INFO] Finished at: Tue Sep 09 10:59:46 EDT 2008
| [java] [INFO] Final Memory: 6M/67M
| [java] [INFO] ------------------------------------------------------------------------
| [java] Java Result: 1
|
| BUILD FAILED
| /qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-testsuite/trunk/build/build.xml:315: Unable to build thirdparty directory. See maven output for details.
|
| Total time: 4 seconds
| ERROR: No artifacts found that match the file pattern "trunk/aop/output/reports/". Configuration error?
| ERROR: 'trunk/aop/output/reports/' doesn't match anything, but '' does. Perhaps that's what you mean?
| Recording test results
| Sending e-mails to: jboss-aop-builds(a)lists.jboss.org builds(a)lists.jboss.org
| finished: FAILURE
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175338#4175338
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175338
17 years, 7 months
[Design of Clustering on JBoss] - Handling soft versus hard pooledInvoker exceptions in JRMPIn
by ScottMarlowNovell
Before I create a jira for this issue, I wanted to gather some feedback. Let me know if I didn't explain this clearly enough. :-)
I noticed that the PooledInvokerProxy.invoke() handles java.io.EOFException by throwing a java.rmi.ConnectException (this is in a general catch all Exception).
I happened to hit this case and found that the call target (cluster member) is removed as a dead member (in JRMPInvokerProxyHA.invoke). This is not the right thing to do for java.io.EOFException which only means that the pooled connection went bad but the cluster member is still alive (in my case the cluster member was still fine.)
As a quick hack, I'm going to try changing the JRMPInvokerProxyHA.invoke from the following:
| catch (java.rmi.ConnectException e)
| {
| lastException = e;
| }
|
To:
| catch (java.rmi.ConnectException e)
| {
| lastException = e;
| if(e.getCause() != null && e.getCause() instanceof java.io.EOFException)
| {
| // don't failover as we may of reached the target
| invocationHasReachedAServer (invocation);
| throw e;
| }
| }
|
I need to do more testing to see if this is the right approach (need to ensure that the real fail-over case still works).
Perhaps there are other exceptions that should also be treated differently.
Thoughts?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175307#4175307
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175307
17 years, 7 months
[Design of JBoss ESB] - jBPM Integration, EsbActionHandler and payload location
by p.mischke
In the last few weeks I've tried some of the jBPM-ESB integration features. Now and then I run into trouble with the payload location. I would like to discuss the problems with you.
The EsbActionHandler (and EsbNotifier too) is able to map jBPM context variables to the ESB message. See samples and docs for the element. Sometimes (maybe most of time) you map more than one variable. Each mapping is given a name by the "esb" attribute. Inspecting the resulting ESB message you will see that the body of the message contains one object for each variable. They all can be retrieved inside the actions by calling
message.getBody().get("myVariableName")
This approach works fine when developing custom actions.
But is does not work with all these useful ESB actions supplied out-of-the-box. For example the org.jboss.soa.esb.actions.soap.SOAPClient or org.jboss.soa.esb.actions.Notifier. As described in the Programmers Guide in section "Getting and Setting Data on the Message Body" all standard ESB actions expect the payload as a single object located at the default payload location. This object can be a String, a byte-array, a Map containing several more Java objects, or anything else. Nevertheless they all expect a single object. This message format is not compatible with ESB messages created by the EsbActionHandler.
After discovering this contradiction I thought about using the SmooksAction to transform the message format. Unfortunately the SmooksAction expects a single object at the default payload location too :-(
Another work-around is to configure a different default payload location. But this work-around only helps with a single variable.
Now I am thinking about patching the EsbActionHandler to store all mapped variables inside a Map at the default payload location.
I would be grateful for any ideas on this topic. Thanks in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175277#4175277
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175277
17 years, 7 months