[JBoss JIRA] (JBTM-1355) Merge XTS JUnit and Arquillian tests
by Paul Robinson (JIRA)
Paul Robinson created JBTM-1355:
-----------------------------------
Summary: Merge XTS JUnit and Arquillian tests
Key: JBTM-1355
URL: https://issues.jboss.org/browse/JBTM-1355
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Testing, XTS
Reporter: Paul Robinson
Assignee: Paul Robinson
Priority: Minor
Fix For: 4.17.4, 5.0.0.M2
When migrating the XTS tests to Arquillian, we wanted to make sure that the old tests where still functional whilst the Arquillian counterparts stabilized. As a result we now have two classes for each test. The Arquillian test delegates each @Test method to the corresponding @Test in the old suite.
For example:
We have the actual test in:
./XTS/localjunit/WSTX/src/main/java/com/arjuna/wst11/tests/arq/ba/MultiClose.java
And then a Arquillian JUnit test which just calls the test methods above is here:
./XTS/localjunit/WSTX/src/test/java/com/arjuna/wst11/tests/arq/ba/MultiCloseTest.java
To resolve this issue, we should remove the tests under './XTS/localjunit/WSTX/src/main/java' and merge the test methods into Arquillian test. At the end of this process "./XTS/localjunit/WSTX/src/main" should be empty (and thus removed).
This applies to most, if not all suites under "./XTS/localjunit/".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBTM-1216) XTS Rec test fail with NPE when start service jboss.ws.endpoint-publish.ws-t11-client during booting the jboss-as
by Amos Feng (JIRA)
Amos Feng created JBTM-1216:
-------------------------------
Summary: XTS Rec test fail with NPE when start service jboss.ws.endpoint-publish.ws-t11-client during booting the jboss-as
Key: JBTM-1216
URL: https://issues.jboss.org/browse/JBTM-1216
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: XTS
Affects Versions: 5.0.0.M1
Reporter: Amos Feng
Assignee: Amos Feng
Fix For: 4.17.0, 5.0.0.M2
see http://172.17.131.2/job/narayana-java6/1285/artifact/XTS/localjunit/crash...
{code}
13:26:49,610 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.ws.endpoint-publish.ws-t11-client: org.jboss.msc.service.StartException in service jboss.ws.endpoint-publish.ws-t11-client: javax.xml.ws.WebServiceException: java.lang.NullPointerException
at org.jboss.as.webservices.service.EndpointPublishService.start(EndpointPublishService.java:95)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:357)
at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:70)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:246)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:525)
at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:119)
at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:129)
at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:68)
at org.jboss.ws.common.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:134)
at org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:112)
at org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:95)
at org.jboss.as.webservices.service.EndpointPublishService.start(EndpointPublishService.java:93)
... 5 more
Caused by: java.lang.NullPointerException
at org.apache.cxf.common.jaxb.JAXBUtils.generateJaxbSchemas(JAXBUtils.java:765)
at org.apache.cxf.jaxb.JAXBDataBinding.generateJaxbSchemas(JAXBDataBinding.java:431)
at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:354)
at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:474)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:685)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:207)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:442)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:329)
... 15 more
{code}
and the service failed
{code}
13:26:57,492 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.ws.endpoint-publish.ws-t11-client: org.jboss.msc.service.StartException in service jboss.ws.endpoint-publish.ws-t11-client: javax.xml.ws.WebServiceException: java.lang.NullPointerException
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBTM-1353) Remove old tests from XTS
by Paul Robinson (JIRA)
Paul Robinson created JBTM-1353:
-----------------------------------
Summary: Remove old tests from XTS
Key: JBTM-1353
URL: https://issues.jboss.org/browse/JBTM-1353
Project: JBoss Transaction Manager
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Testing, XTS
Reporter: Paul Robinson
Assignee: Paul Robinson
Priority: Minor
Fix For: 4.17.3, 5.0.0.M2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBTM-1324) Create a TXBridge quickstart that bridges to two services
by Paul Robinson (JIRA)
Paul Robinson created JBTM-1324:
-----------------------------------
Summary: Create a TXBridge quickstart that bridges to two services
Key: JBTM-1324
URL: https://issues.jboss.org/browse/JBTM-1324
Project: JBoss Transaction Manager
Issue Type: Task
Security Level: Public (Everyone can see)
Components: TxBridge
Reporter: Paul Robinson
Assignee: Paul Robinson
Fix For: 5.0.0.M2, 4.17.3
The quickstart should deploy two services and invoke both within the same transaction.
The client starts a JTA transaction and then bridges to an outgoing WS-AT transaction. Each service bridges the incoming WS-AT transaction onto a JTA transaction internally.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBTM-1340) BeanPopulator overhead needs looking into
by Mark Little (JIRA)
Mark Little created JBTM-1340:
---------------------------------
Summary: BeanPopulator overhead needs looking into
Key: JBTM-1340
URL: https://issues.jboss.org/browse/JBTM-1340
Project: JBoss Transaction Manager
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Common
Affects Versions: 4.17.2
Environment: Mac OS 10.7
Reporter: Mark Little
Assignee: Tom Jenkinson
Fix For: 5.0.0.Final
During profiling, BeanPopulator can represent a 7% overhead. It may not seem like a lot, but for something as relatively simple as what BeanPopulator should be doing, it seems to be quite a bit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years