Cannot change default port from 8081 to custom during maven install of quickstart example switchyard-transform-xslt.

Solution Verified - Updated -

Issue

  • Testing quickstart example switchyard-transform-xslt.
  • When I run maven install command during Test class execution I am getting below exception. I cannot change port 8081 which is already used by some other program in my windows system.
Tests in error:
  invokeOrderWebService(org.switchyard.quickstarts.transform.xslt.WebServiceTest): org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,081: Address already in use: bind
  testTransformXSLT(org.switchyard.quickstarts.transform.xslt.XsltTransformationTest): org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,081: Address already in use: bind

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

Environment

  • Red Hat JBoss Fuse Service Works
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In