[JBoss JIRA] (JBWS-3974) Incorreclty bypass the SecurityManager and call AccessControl.checkPermission() directly
by Jason Shepherd (JIRA)
[ https://issues.jboss.org/browse/JBWS-3974?page=com.atlassian.jira.plugin.... ]
Jason Shepherd updated JBWS-3974:
---------------------------------
Environment: EAP 7.0.0.Beta1, jbossws-spi 3.1.1 (Couldn't find in affected version list) (was: EAP 7.0.0.Beta1, jbossws-spi 3.3.1 (Couldn't find in affected version list))
> Incorreclty bypass the SecurityManager and call AccessControl.checkPermission() directly
> ----------------------------------------------------------------------------------------
>
> Key: JBWS-3974
> URL: https://issues.jboss.org/browse/JBWS-3974
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-integration
> Environment: EAP 7.0.0.Beta1, jbossws-spi 3.1.1 (Couldn't find in affected version list)
> Reporter: Jason Shepherd
> Priority: Minor
>
> Calls to AccessControl.checkPermission() should be done by the Security Manager so that policies can be centrally managed. See this guide as a reference:
> bq. Note that the method AccessController.checkPermission is normally invoked indirectly through invocations of specific SecurityManager methods that begin with the word check such as checkConnect or through the method SecurityManager.checkPermission. Normally, these checks only occur if a SecurityManager has been installed; code checked by the AccessController.checkPermission method first checks if the method System.getSecurityManager returns null.
> [https://docs.oracle.com/javase/8/docs/technotes/guides/security/doprivile...]
> Also refer to fixed issue WFCORE-1266, as it is similar.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (JBWS-3974) Incorreclty bypass the SecurityManager and call AccessControl.checkPermission() directly
by Jason Shepherd (JIRA)
Jason Shepherd created JBWS-3974:
------------------------------------
Summary: Incorreclty bypass the SecurityManager and call AccessControl.checkPermission() directly
Key: JBWS-3974
URL: https://issues.jboss.org/browse/JBWS-3974
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-integration
Environment: EAP 7.0.0.Beta1, jbossws-spi 3.3.1 (Couldn't find in affected version list)
Reporter: Jason Shepherd
Priority: Minor
Calls to AccessControl.checkPermission() should be done by the Security Manager so that policies can be centrally managed. See this guide as a reference:
bq. Note that the method AccessController.checkPermission is normally invoked indirectly through invocations of specific SecurityManager methods that begin with the word check such as checkConnect or through the method SecurityManager.checkPermission. Normally, these checks only occur if a SecurityManager has been installed; code checked by the AccessController.checkPermission method first checks if the method System.getSecurityManager returns null.
[https://docs.oracle.com/javase/8/docs/technotes/guides/security/doprivile...]
Also refer to fixed issue WFCORE-1266, as it is similar.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (JBWS-3973) Disable schema cache to workaround intermittent failure in WFLY testsuite
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-3973?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-3973:
----------------------------------
Issue Type: Enhancement (was: Task)
> Disable schema cache to workaround intermittent failure in WFLY testsuite
> -------------------------------------------------------------------------
>
> Key: JBWS-3973
> URL: https://issues.jboss.org/browse/JBWS-3973
> Project: JBoss Web Services
> Issue Type: Enhancement
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.1.2.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: jbossws-cxf-5.1.3.Final
>
>
> We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
> {noformat}
> org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
> at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
> at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
> at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
> at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
> at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
> at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
> at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
> at javax.xml.ws.Service.getPort(Service.java:188)
> at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
> ------- Stdout: -------
> 12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> [0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
> [0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> {noformat}
> {noformat}
> Running org.jboss.as.test.xts.wsat.client.ATTestCase
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
> testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy176.invoke(Unknown Source)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
> testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
> Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
> Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
> Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
> testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
> testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
> testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
> testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
> testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
> testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
> Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
> testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
> testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
> testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy255.saveData(Unknown Source)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
> testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
> testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
> Results :
> Failed tests:
> BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> Tests in error:
> ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
> ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
> TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
> CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
> BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
> BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
> BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
> BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (JBWS-3973) Disable schema cache to workaround intermittent failure in WFLY testsuite
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-3973?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-3973:
----------------------------------
Summary: Disable schema cache to workaround intermittent failure in WFLY testsuite (was: Disable schema cache to workaround the intermittent failure in WFLY testsuite)
> Disable schema cache to workaround intermittent failure in WFLY testsuite
> -------------------------------------------------------------------------
>
> Key: JBWS-3973
> URL: https://issues.jboss.org/browse/JBWS-3973
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.1.2.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: jbossws-cxf-5.1.3.Final
>
>
> We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
> {noformat}
> org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
> at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
> at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
> at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
> at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
> at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
> at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
> at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
> at javax.xml.ws.Service.getPort(Service.java:188)
> at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
> ------- Stdout: -------
> 12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> [0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
> [0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> {noformat}
> {noformat}
> Running org.jboss.as.test.xts.wsat.client.ATTestCase
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
> testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy176.invoke(Unknown Source)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
> testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
> Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
> Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
> Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
> testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
> testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
> testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
> testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
> testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
> testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
> Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
> testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
> testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
> testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy255.saveData(Unknown Source)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
> testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
> testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
> Results :
> Failed tests:
> BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> Tests in error:
> ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
> ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
> TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
> CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
> BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
> BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
> BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
> BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (JBWS-3973) Disable schema cache to workaround the intermittent failure in WFLY testsuite
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-3973?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-3973:
----------------------------------
Fix Version/s: jbossws-cxf-5.1.3.Final
(was: jbossws-cxf-5.2.0.Final)
> Disable schema cache to workaround the intermittent failure in WFLY testsuite
> -----------------------------------------------------------------------------
>
> Key: JBWS-3973
> URL: https://issues.jboss.org/browse/JBWS-3973
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.1.2.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: jbossws-cxf-5.1.3.Final
>
>
> We got several intermittent failures like following in wildfly test suite(InjectionTestCase and XTS tests). This is nothing to do with thread issue, because all wfly test suite is not executed in parallel. From the analysis , these failures happens when the client service is created with same wsdl url for multiple times. From the error log, it seems there is some dirty schema is read from the WSDLManagerImpl.
> {noformat}
> org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://webservice.basic.ejb.injection.ws.integration.test.as.jboss.org/}echo which is not in the schema.
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:886)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:615)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:593)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:353)
> at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:209)
> at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:162)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:405)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525)
> at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
> at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199)
> at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
> at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
> at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
> at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493)
> at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.createPort(ProviderImpl.java:563)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:343)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:338)
> at javax.xml.ws.Service.getPort(Service.java:188)
> at org.jboss.as.test.integration.ws.injection.ejb.basic.InjectionTestCase.testEjb3Endpoint(InjectionTestCase.java:119)
> ------- Stdout: -------
> 12:11:22,685 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> [0m12:11:22,678 INFO [org.jboss.as.test.integration.ws.injection.ejb.basic.webservice.AbstractEndpointImpl] (default task-15) echo: Hello World!:Inbound:TestHandler
> [0m12:11:22,706 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (main) Creating Service {http://jbossws.org/injection}EJB3Service from WSDL: http://[::1]:8080/jaxws-injection-ejb3/EJB3Service?wsdl
> {noformat}
> {noformat}
> Running org.jboss.as.test.xts.wsat.client.ATTestCase
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.74 sec <<< FAILURE! - in org.jboss.as.test.xts.wsat.client.ATTestCase
> testWSATApplicationExceptionCommit(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.286 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Error when enlisting participants [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy176.invoke(Unknown Source)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATApplicationExceptionCommit(ATTestCase.java:227)
> testWSATRollbackOnly(org.jboss.as.test.xts.wsat.client.ATTestCase) Time elapsed: 0.12 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.wsat.client.ATTestCase.testWSATRollbackOnly(ATTestCase.java:172)
> Running org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.TransactionalTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.TransactionalTestCase) Time elapsed: 0.018 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.startTransaction(UserTransactionImple.java:308)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:80)
> at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:70)
> at org.jboss.as.test.xts.annotation.client.TransactionalTestCase.testActiveTransaction(TransactionalTestCase.java:78)
> Running org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.411 sec <<< FAILURE! - in org.jboss.as.test.xts.annotation.client.CompensatableTestCase
> testActiveTransaction(org.jboss.as.test.xts.annotation.client.CompensatableTestCase) Time elapsed: 0.054 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.annotation.client.CompensatableTestCase.testActiveTransaction(CompensatableTestCase.java:77)
> Running org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase
> Running org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.648 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase
> testWSBAParticipantApplicationException(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.236 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantApplicationException(BAParticipantCompletionTestCase.java:218)
> testWSBAParticipantCannotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.104 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete(BAParticipantCompletionTestCase.java:177)
> testWSBAParticipantClientCancelNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.095 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete(BAParticipantCompletionTestCase.java:161)
> testWSBAParticipantDoNotComplete(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.07 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete(BAParticipantCompletionTestCase.java:141)
> testWSBAParticipantCompleteSimple(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.067 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple(BAParticipantCompletionTestCase.java:125)
> testWSBAParticipantCompleteSingle(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.106 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle(BAParticipantCompletionTestCase.java:114)
> testWSBAParticipantClientCancel(org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase) Time elapsed: 0.101 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.participantcompletion.client.BAParticipantCompletionTestCase.testWSBAParticipantClientCancel(BAParticipantCompletionTestCase.java:202)
> Running org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 0.585 sec <<< FAILURE! - in org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase
> testWSBACoordinatorSimple(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSimple(BACoordinatorCompletionTestCase.java:106)
> testWSBACoordinatorSingle(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorSingle(BACoordinatorCompletionTestCase.java:97)
> testWSBACoordinatorCannotComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete(BACoordinatorCompletionTestCase.java:134)
> testWSBACoordinatorApplicationException(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.359 sec <<< ERROR!
> org.jboss.arquillian.test.spi.ArquillianProxyException: javax.xml.ws.soap.SOAPFaultException : Fault occurred while processing. [Proxied because : Original exception caused: class java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl]
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:140)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:71)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> at com.sun.proxy.$Proxy255.saveData(Unknown Source)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException(BACoordinatorCompletionTestCase.java:163)
> testWSBACoordinatorCompletionFailToComplete(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.097 sec <<< FAILURE!
> java.lang.AssertionError: Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.jboss.as.test.xts.base.BaseFunctionalTest.assertEventLog(BaseFunctionalTest.java:85)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.assertEventLogClient1(BACoordinatorCompletionTestCase.java:194)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete(BACoordinatorCompletionTestCase.java:185)
> testWSBACoordinatorClientCancel(org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase) Time elapsed: 0.06 sec <<< ERROR!
> com.arjuna.wst.SystemException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part parameters defined as element {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CreateCoordinationContext which is not in the schema.
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.startTransaction(UserBusinessActivityImple.java:374)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:117)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.begin(UserBusinessActivityImple.java:107)
> at org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel(BACoordinatorCompletionTestCase.java:142)
> Results :
> Failed tests:
> BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:134->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:185->assertEventLogClient1:194->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> Tests in error:
> ATTestCase.testWSATApplicationExceptionCommit:227 » ArquillianProxy javax.xml....
> ATTestCase.testWSATRollbackOnly:172 » System org.apache.cxf.wsdl11.WSDLRuntime...
> TransactionalTestCase.testActiveTransaction:78 » System org.apache.cxf.wsdl11....
> CompensatableTestCase.testActiveTransaction:77 » System org.apache.cxf.wsdl11....
> BAParticipantCompletionTestCase.testWSBAParticipantApplicationException:218 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCannotComplete:177 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancelNotComplete:161 » System
> BAParticipantCompletionTestCase.testWSBAParticipantDoNotComplete:141 » System ...
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSimple:125 » System
> BAParticipantCompletionTestCase.testWSBAParticipantCompleteSingle:114 » System
> BAParticipantCompletionTestCase.testWSBAParticipantClientCancel:202 » System o...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSimple:106 » System org.apa...
> BACoordinatorCompletionTestCase.testWSBACoordinatorSingle:97 » System org.apac...
> BACoordinatorCompletionTestCase.testWSBACoordinatorApplicationException:163 » ArquillianProxy
> BACoordinatorCompletionTestCase.testWSBACoordinatorClientCancel:142 » System o...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months