Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Rejected
-
None
-
None
-
None
Description
Hi,
While creating switchyard project, it used to includes jetty server by default and its port number is 8080. Since, JBoss EAP also runs on 8080, while building the project it is showing error of port already been in use. Please suggest me any way to change the jetty port in switchyard application.
Please find the below maven install trace :
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building com.example.switchyard:bean-service 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ bean-service —
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ bean-service —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — switchyard-plugin:2.1.0.redhat-630187:configure (default) @ bean-service —
[INFO] SwitchYard configure plugin scanner URLs: file:/D:/Users/nitin-kuma/workspace-10/bean-service/target/classes/
[INFO] Outputting SwitchYard configuration model to D:\Users\nitin-kuma\workspace-10\bean-service\target\classes\META-INF\switchyard.xml
[INFO] Validating SwitchYard configuration model...
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ bean-service —
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ bean-service —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ bean-service —
[INFO] Surefire report directory: D:\Users\nitin-kuma\workspace-10\bean-service\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.example.switchyard.bean_service.InventoryServiceTest
log4j:WARN Continuable parsing error 2 and column 69
log4j:WARN Document root element "log4j:configuration", must match DOCTYPE root "null".
log4j:WARN Continuable parsing error 2 and column 69
log4j:WARN Document is invalid: no grammar found.
20:52:19,391 INFO [org.jboss.weld.Version] WELD-000900 1.1.31 (Final)
20:52:21,171 WARN [org.jboss.weld.interceptor.util.InterceptionTypeRegistry] Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
20:52:21,171 WARN [org.jboss.weld.interceptor.util.InterceptionTypeRegistry] Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
20:52:23,903 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:23,903 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:24,846 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:24,924 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:24,940 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:24,940 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:24,940 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:24,956 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 1.053 seconds
20:52:25,409 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:25,409 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:25,409 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-1 due to clash with an existing name already registered in MBeanServer.
20:52:25,612 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:25,627 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:25,627 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:25,627 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:25,627 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:25,627 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.218 seconds
20:52:26,626 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService]
20:52:26,908 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService]
20:52:26,939 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:InventoryService
20:52:26,939 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds)
20:52:27,875 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService]
20:52:27,890 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds
20:52:27,906 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService is stopped, was consuming from: Endpoint[direct://InventoryService]
20:52:27,922 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService is shutdown and removed, was consuming from: Endpoint[direct://InventoryService]
20:52:28,109 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService]
20:52:29,686 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down
20:52:29,686 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds)
20:52:29,686 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService]
20:52:29,686 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService]
20:52:29,686 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds
20:52:29,702 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 5.815 seconds
20:52:29,702 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.016 seconds
20:52:30,253 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:30,253 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:30,471 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:30,487 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:30,487 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:30,487 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:30,487 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:30,487 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.234 seconds
20:52:30,612 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:30,612 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:30,612 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-2 due to clash with an existing name already registered in MBeanServer.
20:52:30,783 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:30,799 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:30,799 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:30,799 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:30,799 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:30,799 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.187 seconds
20:52:30,986 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService]
20:52:31,147 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService]
20:52:31,147 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:InventoryService
20:52:31,147 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds)
20:52:31,193 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService]
20:52:31,193 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds
20:52:31,193 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService is stopped, was consuming from: Endpoint[direct://InventoryService]
20:52:31,193 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService is shutdown and removed, was consuming from: Endpoint[direct://InventoryService]
20:52:31,334 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService]
20:52:31,334 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down
20:52:31,334 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds)
20:52:31,349 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService]
20:52:31,349 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService]
20:52:31,349 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds
20:52:31,349 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 1.096 seconds
20:52:31,349 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.015 seconds
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.228 sec
Running com.example.switchyard.bean_service.OrderServiceTest
20:52:31,942 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:31,942 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:32,145 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:32,161 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:32,161 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:32,161 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:32,161 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:32,161 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.219 seconds
20:52:32,223 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:32,223 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:32,223 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-3 due to clash with an existing name already registered in MBeanServer.
20:52:32,441 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:32,441 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:32,441 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:32,441 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:32,441 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:32,441 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.218 seconds
20:52:32,566 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService]
20:52:32,722 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService]
20:52:32,722 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:OrderService
20:52:32,722 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds)
20:52:32,816 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService]
20:52:32,847 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds
20:52:32,878 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is stopped, was consuming from: Endpoint[direct://OrderService]
20:52:32,878 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is shutdown and removed, was consuming from: Endpoint[direct://OrderService]
20:52:32,987 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService]
20:52:33,522 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down
20:52:33,522 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds)
20:52:33,538 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService]
20:52:33,538 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService]
20:52:33,554 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds
20:52:33,554 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 1.612 seconds
20:52:33,554 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.032 seconds
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.249 sec
Running com.example.switchyard.bean_service.TypeTransformationTest
20:52:33,912 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:33,912 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:34,084 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:34,100 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:34,100 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:34,100 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:34,100 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:34,100 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.188 seconds
20:52:34,346 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:34,346 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:34,347 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-4 due to clash with an existing name already registered in MBeanServer.
20:52:34,616 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:34,645 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:34,647 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:34,648 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:34,648 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:34,649 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.303 seconds
20:52:34,789 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService]
20:52:34,867 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService]
20:52:34,873 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:OrderService
20:52:34,873 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds)
20:52:34,890 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService]
20:52:34,890 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds
20:52:34,892 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is stopped, was consuming from: Endpoint[direct://OrderService]
20:52:34,894 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is shutdown and removed, was consuming from: Endpoint[direct://OrderService]
20:52:35,031 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService]
20:52:35,064 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down
20:52:35,079 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds)
20:52:35,079 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService]
20:52:35,079 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService]
20:52:35,079 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds
20:52:35,095 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 1.183 seconds
20:52:35,095 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.031 seconds
20:52:35,329 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:35,329 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:35,565 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:35,631 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:35,632 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:35,632 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:35,632 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:35,632 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.303 seconds
20:52:35,689 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:52:35,689 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:52:35,691 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-5 due to clash with an existing name already registered in MBeanServer.
20:52:35,858 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:52:35,863 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:52:35,863 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:52:35,864 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:52:35,864 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:52:35,864 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.176 seconds
20:52:35,994 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService]
20:52:36,056 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService]
20:52:36,058 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:OrderService
20:52:36,058 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds)
20:52:36,063 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService]
20:52:36,069 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds
20:52:36,072 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is stopped, was consuming from: Endpoint[direct://OrderService]
20:52:36,075 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is shutdown and removed, was consuming from: Endpoint[direct://OrderService]
20:52:36,170 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService]
20:52:45,694 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down
20:52:45,695 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds)
20:52:45,697 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService]
20:52:45,697 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService]
20:52:45,698 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds
20:52:46,093 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 10.764 seconds
20:52:46,093 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.399 seconds
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.526 sec
Running com.example.switchyard.bean_service.WebServiceTest
20:53:10,754 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting
20:53:10,755 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled
20:53:10,910 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters
20:53:10,926 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
20:53:10,926 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
20:53:10,926 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
20:53:10,926 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started.
20:53:10,926 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.173 seconds
20:53:11,066 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:
OrderServiceBean/InventoryService started and consuming from: Endpoint[direct://%7Burn:com.example.switchyard:bean-service:1.0%7DOrderServiceBean/InventoryService]
20:53:11,254 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:
OrderServicePortType started and consuming from: Endpoint[direct://%7Burn:com.example.switchyard:bean-service:1.0%7DOrderServicePortType]
20:53:11,707 WARN [org.switchyard.component.soap] SWITCHYARD035021: No endpoint publisher service registered. Using default publisher.
20:53:13,244 INFO [org.switchyard.component.soap] SWITCHYARD035002: MTOM [enabled = false, threshold = 0]
20:53:13,517 INFO [org.switchyard.component.soap] SWITCHYARD035003: Publishing WebService at http://127.0.0.1:8080/order-service-binding/OrderService
20:53:14,134 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating Service
OrderService from WSDL: file:/D:/Users/nitin-kuma/workspace-10/bean-service/target/classes/OrderService.wsdl
20:53:14,412 WARN [org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean] Could not find endpoint named
BaseWebServicePort. Possible values are [
{urn:com.example.switchyard:bean-service:1.0}OrderServicePort].
20:53:14,824 WARN [org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory] Could not find endpoint/port for
BaseWebServicePort in wsdl. Using
{urn:com.example.switchyard:bean-service:1.0}OrderServicePort.
20:53:15,074 INFO [org.apache.cxf.endpoint.ServerImpl] Setting the server's publish address to be http://127.0.0.1:8080/order-service-binding/OrderService
20:53:15,968 INFO [org.eclipse.jetty.server.Server] jetty-8.1.14.v20131031
20:53:16,125 WARN [org.eclipse.jetty.util.component.AbstractLifeCycle] FAILED SelectChannelConnector@127.0.0.1:8080: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:414)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:179)
at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:49)
at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:95)
at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:896)
at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:215)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.switchyard.component.soap.endpoint.CXFJettyEndpoint.publish(CXFJettyEndpoint.java:198)
at org.switchyard.component.soap.endpoint.CXFJettyEndpointPublisher.publish(CXFJettyEndpointPublisher.java:58)
at org.switchyard.component.soap.InboundHandler.doStart(InboundHandler.java:179)
at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)
at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)
at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757)
at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177)
at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:61)
at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:244)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:241)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:94)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
20:53:16,171 WARN [org.eclipse.jetty.util.component.AbstractLifeCycle] FAILED org.eclipse.jetty.server.Server@1934339: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:414)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:179)
at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:49)
at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:95)
at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:896)
at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:215)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.switchyard.component.soap.endpoint.CXFJettyEndpoint.publish(CXFJettyEndpoint.java:198)
at org.switchyard.component.soap.endpoint.CXFJettyEndpointPublisher.publish(CXFJettyEndpointPublisher.java:58)
at org.switchyard.component.soap.InboundHandler.doStart(InboundHandler.java:179)
at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)
at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)
at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757)
at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177)
at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:61)
at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:244)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:241)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:94)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
20:53:16,187 ERROR [org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine] Could not start Jetty server on port 8,080: Address already in use: bind
20:53:16,256 ERROR [org.switchyard.test.SwitchYardRunner] Error while test kit startup
org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,080: Address already in use: bind
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:425)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:179)
at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:49)
at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:95)
at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:896)
at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:215)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.switchyard.component.soap.endpoint.CXFJettyEndpoint.publish(CXFJettyEndpoint.java:198)
at org.switchyard.component.soap.endpoint.CXFJettyEndpointPublisher.publish(CXFJettyEndpointPublisher.java:58)
at org.switchyard.component.soap.InboundHandler.doStart(InboundHandler.java:179)
at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)
at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)
at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757)
at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177)
at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:61)
at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:244)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:241)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:94)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:414)
... 40 more
20:53:16,272 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down
20:53:16,272 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds)
20:53:16,287 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:
OrderServicePortType shutdown complete, was consuming from: Endpoint[direct://%7Burn:com.example.switchyard:bean-service:1.0%7DOrderServicePortType]
20:53:16,287 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:
OrderServiceBean/InventoryService shutdown complete, was consuming from: Endpoint[direct://%7Burn:com.example.switchyard:bean-service:1.0%7DOrderServiceBean/InventoryService]
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1329)
at org.switchyard.component.test.mixins.cdi.CDIMixIn.uninitialize(CDIMixIn.java:258)
at org.switchyard.test.SwitchYardTestKit.cleanupMixIns(SwitchYardTestKit.java:810)
at org.switchyard.test.SwitchYardTestKit.cleanup(SwitchYardTestKit.java:186)
at org.switchyard.test.SwitchYardRunner$TestLifecycleListener.testFinished(SwitchYardRunner.java:104)
at org.junit.runner.notification.RunNotifier$7.notifyListener(RunNotifier.java:191)
at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:61)
at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:188)
at org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:39)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:277)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
20:53:16,287 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds
20:53:16,287 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 5.534 seconds
20:53:16,287 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.015 seconds
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 30.194 sec <<< FAILURE!
invokeOrderWebService(com.example.switchyard.bean_service.WebServiceTest) Time elapsed: 0 sec <<< ERROR!
java.lang.Exception: org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,080: Address already in use: bind
at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:65)
at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:244)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:241)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:94)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,080: Address already in use: bind
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:425)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:179)
at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:49)
at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:95)
at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:896)
at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:215)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.switchyard.component.soap.endpoint.CXFJettyEndpoint.publish(CXFJettyEndpoint.java:198)
at org.switchyard.component.soap.endpoint.CXFJettyEndpointPublisher.publish(CXFJettyEndpointPublisher.java:58)
at org.switchyard.component.soap.InboundHandler.doStart(InboundHandler.java:179)
at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)
at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)
at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757)
at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177)
at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:61)
... 24 more
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:414)
... 40 more
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:94)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Results :
Tests in error:
invokeOrderWebService(com.example.switchyard.bean_service.WebServiceTest): org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,080: Address already in use: bind
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:22 min
[INFO] Finished at: 2017-03-13T20:53:16+05:30
[INFO] Final Memory: 37M/288M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project bean-service: There are test failures.
[ERROR]
[ERROR] Please refer to D:\Users\nitin-kuma\workspace-10\bean-service\target\surefire-reports 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