[jbossws-issues] [JBoss JIRA] (JBWS-3832) Different default Spring descriptor name for creating client and server Bus instances

Roberto Polli (JIRA) issues at jboss.org
Tue Sep 30 09:32:04 EDT 2014


     [ https://issues.jboss.org/browse/JBWS-3832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roberto Polli updated JBWS-3832:
--------------------------------
    Attachment: JBWS-3832-TEST_DRAFT.patch


Although it succeeds, I see the followinf exception on screen. 

{code}
Concurrency config is parallel='classes', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
org.jboss.test.ws.jaxws.cxf.in_container_client.CustomBusServletTestCase(org.jboss.test.ws.jaxws.cxf.in_container_client.CustomBusServletTestCase$3)java.lang.Exception: "JBAS014803: Duplicate resource [(\"system-property\" => \"org.jboss.ws.cxf.jaxws-client.bus.selector\")]"
        at org.jboss.as.webservices.deployer.RemoteDeployer.checkResult(RemoteDeployer.java:470)
        at org.jboss.as.webservices.deployer.RemoteDeployer.applyUpdate(RemoteDeployer.java:457)
        at org.jboss.as.webservices.deployer.RemoteDeployer.setSystemProperty(RemoteDeployer.java:442)
        at org.jboss.wsf.test.JBossWSTestHelper.setSystemProperty(JBossWSTestHelper.java:396)
        at org.jboss.test.ws.jaxws.cxf.in_container_client.CustomBusServletTestCase$3.setUp(CustomBusServletTestCase.java:85)
        at org.jboss.wsf.test.JBossWSTestSetup$1.protect(JBossWSTestSetup.java:140)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at org.jboss.wsf.test.JBossWSTestSetup.run(JBossWSTestSetup.java:148)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
        at org.junit.runners.Suite.runChild(Suite.java:128)
        at org.junit.runners.Suite.runChild(Suite.java:24)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Running org.jboss.test.ws.jaxws.cxf.in_container_client.ServletTestCase
{code}

> Different default Spring descriptor name for creating client and server Bus instances
> -------------------------------------------------------------------------------------
>
>                 Key: JBWS-3832
>                 URL: https://issues.jboss.org/browse/JBWS-3832
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>          Components: jbossws-cxf
>            Reporter: Alessio Soldano
>             Fix For: jbossws-cxf-5.0
>
>         Attachments: JBWS-3832-TEST_DRAFT.patch, JBWS-3832.diff
>
>
> When Spring integration is enabled, the CXF Bus factory uses the same name to lookup descriptor defining the bus to be used for clients or endpoints (usually cxf.xml). Generally speaking, we might want to have the JAX-WS clients end up always using different Spring descriptors then any other consumer of the CXF Spring Bus factory.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbossws-issues mailing list