See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstart...
Changes:
[kbabo] SWITCHYARD-1221 drop camel-rest-binding quickstart
------------------------------------------
[...truncated 736 lines...]
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:529)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: sun.misc.InvalidJarIndexException: Invalid index
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:858)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:765)
at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:735)
at sun.misc.URLClassPath.findResource(URLClassPath.java:146)
at java.net.URLClassLoader$2.run(URLClassLoader.java:385)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:382)
at java.lang.ClassLoader.getResource(ClassLoader.java:1002)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:357)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at
com.sun.xml.internal.ws.fault.SOAPFaultBuilder.<clinit>(SOAPFaultBuilder.java:533)
... 14 more
Dec 21, 2012 10:03:44 AM com.sun.xml.internal.messaging.saaj.soap.MessageImpl saveChanges
SEVERE: SAAJ0539: Unable to get header stream in saveChanges
Dec 21, 2012 10:03:44 AM com.sun.xml.internal.messaging.saaj.soap.MessageImpl saveChanges
SEVERE: SAAJ0540: Error during saving a multipart message
javax.xml.ws.WebServiceException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:
Error during saving a multipart message
at
com.sun.xml.internal.ws.server.provider.SOAPProviderArgumentBuilder$SOAPMessageParameter.getParameter(SOAPProviderArgumentBuilder.java:120)
at
com.sun.xml.internal.ws.server.provider.SOAPProviderArgumentBuilder$SOAPMessageParameter.getParameter(SOAPProviderArgumentBuilder.java:111)
at
com.sun.xml.internal.ws.server.provider.SyncProviderInvokerTube.processRequest(SyncProviderInvokerTube.java:61)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:587)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:546)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:531)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:428)
at com.sun.xml.internal.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:232)
at
com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:460)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:233)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:95)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:80)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:557)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:529)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Error during saving a
multipart message
at
com.sun.xml.internal.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1124)
at
com.sun.xml.internal.ws.message.AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:214)
at
com.sun.xml.internal.ws.server.provider.SOAPProviderArgumentBuilder$SOAPMessageParameter.getParameter(SOAPProviderArgumentBuilder.java:118)
... 20 more
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to get header
stream in saveChanges:
at
com.sun.xml.internal.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1101)
... 22 more
Caused by: java.io.IOException: Invalid index
at
com.sun.xml.internal.messaging.saaj.soap.impl.EnvelopeImpl.output(EnvelopeImpl.java:295)
at
com.sun.xml.internal.messaging.saaj.soap.impl.EnvelopeImpl.output(EnvelopeImpl.java:306)
at
com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getContentAsStream(SOAPPartImpl.java:302)
at
com.sun.xml.internal.messaging.saaj.soap.MessageImpl.getHeaderBytes(MessageImpl.java:945)
at
com.sun.xml.internal.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1096)
... 22 more
java.lang.NoClassDefFoundError: Could not initialize class
com.sun.xml.internal.ws.fault.SOAPFaultBuilder
at com.sun.xml.internal.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:238)
10:03:44,339 INFO [org.apache.commons.httpclient.HttpMethodDirector] I/O exception
(org.apache.commons.httpclient.NoHttpResponseException) caught when processing request:
The server localhost failed to respond
10:03:44,339 INFO [org.apache.commons.httpclient.HttpMethodDirector] Retrying request
at
com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:460)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:233)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:95)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:80)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:557)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:529)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Dec 21, 2012 10:03:44 AM com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit
handle
SEVERE: Couldn't create SOAP message due to exception:
sun.misc.InvalidJarIndexException: Invalid index
com.sun.xml.internal.ws.protocol.soap.MessageCreationException: Couldn't create SOAP
message due to exception: sun.misc.InvalidJarIndexException: Invalid index
at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:283)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:266)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:82)
at
com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:446)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:233)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:95)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:80)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:557)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:529)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: sun.misc.InvalidJarIndexException: Invalid index
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:858)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:765)
at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:735)
at sun.misc.URLClassPath.findResource(URLClassPath.java:146)
at java.net.URLClassLoader$2.run(URLClassLoader.java:385)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:382)
at java.lang.ClassLoader.getResource(ClassLoader.java:1002)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1192)
at javax.xml.stream.SecuritySupport$4.run(SecuritySupport.java:96)
at java.security.AccessController.doPrivileged(Native Method)
at javax.xml.stream.SecuritySupport.getResourceAsStream(SecuritySupport.java:89)
at javax.xml.stream.FactoryFinder.findJarServiceProvider(FactoryFinder.java:260)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:233)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:123)
at
com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory.getXMLInputFactory(XMLStreamReaderFactory.java:98)
at
com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory.access$000(XMLStreamReaderFactory.java:57)
at
com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory$Default$1.initialValue(XMLStreamReaderFactory.java:350)
at
com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory$Default$1.initialValue(XMLStreamReaderFactory.java:347)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at
com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory$Default.doCreate(XMLStreamReaderFactory.java:364)
at
com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory.doCreate(XMLStreamReaderFactory.java:190)
at
com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory.create(XMLStreamReaderFactory.java:143)
at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:290)
at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:118)
at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:278)
... 15 more
java.lang.NoClassDefFoundError: Could not initialize class
com.sun.xml.internal.ws.fault.SOAPFaultBuilder
at
com.sun.xml.internal.ws.protocol.soap.MessageCreationException.getFaultMessage(MessageCreationException.java:56)
at
com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:450)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:233)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:95)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:80)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:557)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:529)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
10:03:44,370 INFO [org.switchyard.component.soap.InboundHandler] WebService
{urn:switchyard-quickstart:bean-service:1.0}OrderService:OrderServicePort stopped.
10:03:44,374 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.0 (CamelContext: camel-1) is shutting down
10:03:44,376 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful
shutdown 2 routes (timeout 300 seconds)
10:03:44,387 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route:
direct:{urn:switchyard-quickstart:bean-service:0.1.0}OrderService shutdown complete, was
consuming from:
Endpoint[direct://%7Burn:switchyard-quickstart:bean-service:0.1.0%7DOrderService]
10:03:44,390 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route:
direct:{urn:switchyard-quickstart:bean-service:0.1.0}InventoryService shutdown complete,
was consuming from:
Endpoint[direct://%7Burn:switchyard-quickstart:bean-service:0.1.0%7DInventoryService]
10:03:44,391 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2
routes completed in 0 seconds
10:03:44,422 INFO [org.apache.camel.impl.converter.DefaultTypeConverter]
TypeConverterRegistry utilization[attempts=0, hits=0, misses=0, failures=0]
mappings[total=185, misses=0]
10:03:44,426 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.0 (CamelContext: camel-1) is shutdown in 0.052 seconds. Uptime 3.913 seconds.
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.292 sec <<<
FAILURE!
Running org.switchyard.quickstarts.bean.service.OrderServiceTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.02 sec <<<
FAILURE!
Running org.switchyard.quickstarts.bean.service.TypeTransformationTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.022 sec <<<
FAILURE!
Running org.switchyard.quickstarts.bean.service.InventoryServiceTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.022 sec <<<
FAILURE!
Results :
Failed tests:
invokeOrderWebService(org.switchyard.quickstarts.bean.service.WebServiceTest)
Tests in error:
testOrderAccepted(org.switchyard.quickstarts.bean.service.OrderServiceTest)
Test mechanism
testTransformXMLtoJava(org.switchyard.quickstarts.bean.service.TypeTransformationTest)
Test mechanism
testTransformJavaToXML(org.switchyard.quickstarts.bean.service.TypeTransformationTest)
testItemLookupExists(org.switchyard.quickstarts.bean.service.InventoryServiceTest)
Test mechanism
testItemLookupNonexistent(org.switchyard.quickstarts.bean.service.InventoryServiceTest)
Tests run: 9, Failures: 1, Errors: 8, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SwitchYard: Quickstarts ........................... SUCCESS [2.133s]
[INFO] Quickstart : Bean Service ......................... FAILURE [48.871s]
[INFO] Quickstart : BPEL Service ......................... SKIPPED
[INFO] Quickstart : BPEL Service : Say Hello ............. SKIPPED
[INFO] Quickstart : BPEL Service : JMS Binding ........... SKIPPED
[INFO] Quickstart : BPEL Service : Loan Approval ......... SKIPPED
[INFO] Quickstart : BPEL Service : Simple Correlation .... SKIPPED
[INFO] Quickstart : BPEL Service : XTS Subordinate WSBA .. SKIPPED
[INFO] Quickstart : BPEL Service : XTS Subordinate WSBA : Business Travel Process
SKIPPED
[INFO] Quickstart : BPEL Service : XTS Subordinate WSBA : Airport Web Service SKIPPED
[INFO] Quickstart : BPEL Service : XTS WSAT .............. SKIPPED
[INFO] Quickstart : BPEL Service : XTS WSAT : Business Travel Process SKIPPED
[INFO] Quickstart : BPEL Service : XTS WSAT : Airport Web Service SKIPPED
[INFO] Quickstart : BPM Service .......................... SKIPPED
[INFO] Quickstart : Camel Binding ........................ SKIPPED
[INFO] Quickstart : Camel AMQP Binding ................... SKIPPED
[INFO] Quickstart : Camel FTP Binding .................... SKIPPED
[INFO] Quickstart : Camel JMS Binding .................... SKIPPED
[INFO] Quickstart : Camel Netty Binding .................. SKIPPED
[INFO] Quickstart : Camel Quartz Binding ................. SKIPPED
[INFO] Quickstart : Camel JPA Binding .................... SKIPPED
[INFO] Quickstart : Camel SQL Binding .................... SKIPPED
[INFO] Quickstart : Camel Mail Binding ................... SKIPPED
[INFO] Quickstart : Camel Service ........................ SKIPPED
[INFO] Quickstart : Camel SOAP Proxy ..................... SKIPPED
[INFO] Quickstart : Camel Exchange Bus CDI ............... SKIPPED
[INFO] Quickstart : HornetQ Binding ...................... SKIPPED
[INFO] Quickstart : HTTP Binding ......................... SKIPPED
[INFO] Quickstart : RESTEasy Binding ..................... SKIPPED
[INFO] Quickstart : Rules+Camel Content-Based Router ..... SKIPPED
[INFO] Quickstart : Rules Interview ...................... SKIPPED
[INFO] Quickstart : Rules Interview Container ............ SKIPPED
[INFO] Quickstart : JCA Inflow Binding for HornetQ ....... SKIPPED
[INFO] Quickstart : JCA Outbound Binding for HornetQ ..... SKIPPED
[INFO] Quickstart : JAXB Transformation .................. SKIPPED
[INFO] Quickstart : JSON Transformation .................. SKIPPED
[INFO] Quickstart : Smooks Transformation ................ SKIPPED
[INFO] Quickstart : XSLT Transformation .................. SKIPPED
[INFO] Quickstart : XML Message Validation ............... SKIPPED
[INFO] Quickstart Demo : Help Desk ....................... SKIPPED
[INFO] Quickstart Demo : Help Desk - Web App ............. SKIPPED
[INFO] Quickstart Demo : Orders .......................... SKIPPED
[INFO] Quickstart Demo : JEE Webapp Deployment ........... SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Service Artifacts SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Order Service SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Order Consumer SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Web App .. SKIPPED
[INFO] Quickstart Demo: Multiple Applications ............ SKIPPED
[INFO] Quickstart Demo : Security Policy : Basic Authentication (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : Certificate Authentication (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : SAML Assertion (+SSL) SKIPPED
[INFO] Quickstart Demo : Transaction Policy .............. SKIPPED
[INFO] SwitchYard : Quickstarts Distribution Assembly .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59.052s
[INFO] Finished at: Fri Dec 21 10:03:44 EST 2012
[INFO] Final Memory: 59M/284M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test
(default-test) on project switchyard-quickstart-bean-service: There are test failures.
[ERROR]
[ERROR] Please refer to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstart...
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :switchyard-quickstart-bean-service
Build step 'Invoke top-level Maven targets' marked build as failure