[jbossws-issues] [JBoss JIRA] Commented: (JBWS-3069) Latest CXF release in AS trunk breaks XTS

Andrew Dinn (JIRA) jira-events at lists.jboss.org
Tue Jun 22 07:14:46 EDT 2010


    [ https://jira.jboss.org/browse/JBWS-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536647#action_12536647 ] 

Andrew Dinn commented on JBWS-3069:
-----------------------------------

The XTS release (jbossxts.sar) and test suite (jbossxts-tests.zip) are built as part of the normal build process for JBossTS/XTS and release versions are published to nexus. Unfortunately, you will need to build the latest version from JBossTS trunk as I have had to fix several other CXF-related problems to get to the point where this error appears. To test it you will also need to build JBoss AS from the latest AS trunk with the 3.3.1.SP1 CXF stack installed and then install the latest JBossTS into your AS.

So, you will need to do the following:

# check out and build AS trunk
. . .
# <xxx> is where your AS build is located
export JBOSS_HOME=<xxx> 

# check out and build JBossTS
# <yyy> is your your checked out svn tree root
cd  <yyy>
mkdir jbossts
cd jbossts
svn co https://svn.jboss.org/repos/labs/labs/jbosstm/trunk/
cd trunk
ant jbossjta

# install newly built JBossTS libs and bean config into AS
rm ${JBOSS_HOME}/common/lib/jbossjts.*
cp install/lib/jbossjta.jar install/lib/jbossjta-integration.jar  ${JBOSS_HOME}/common/lib
cp atsintegration/transaction-jboss-beans.xml ${JBOSS_HOME}/server/default/deploy

# build XTS sar and test ears
cd XTS
ant clean install

# install sar and WS-T tests
cp xts-install/sar/jbossxts.sar ${JBOSS_HOME}/server/default/deploy
cp xts-install/tests/ws-t-tests.ear ${JBOSS_HOME}/server/default/deploy

The easiest way to run the tests is via the web form -- the automated version will run all the other families of tests which will waste a lot of  your time.

Boot up JBoss AS with server default and visit this URL in your browser of choice:

http://localhost:8080/ws-t11-tests/

Click on Run and the tests will execute. While it puts up a Reload button click to view progress. When it returns to Run they have all completed.

The first test which manifests the problem in this JIRA is

CompletionCoordinatorTestCase.testSendError()

(n.b. the code for this test class is under .../XTS/WS-T/tests/src and the package is com.arjuna.wst11.tests.junit)

If you want to avoid running the other tests in the WS-T test suite then you can edit class TestSuite in the same location to remove these test classes from the junit Suite.SuiteClasses annotation.

> Latest CXF release in AS trunk breaks XTS
> -----------------------------------------
>
>                 Key: JBWS-3069
>                 URL: https://jira.jboss.org/browse/JBWS-3069
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-3.3.1
>            Reporter: Andrew Dinn
>            Assignee: Jim Ma
>            Priority: Blocker
>
> CXF JaxWS will no longer deliver asynchronous faults. The ability to do this is required by the XTS specification. See the forum thread for details.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list