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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content