Deployment Of SOA Project With Deployment Plan Fails With Error "address:'localhost/127.0.0.1',port:'80' : java.net.ConnectException: Connection refused" (Doc ID 2242251.1)

Last updated on MARCH 15, 2017

Applies to:

SOA Suite Cloud Service - Version N/A and later
Oracle SOA Suite - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

While deploying composite in a SOA / SOA Cloud environment, deployment fails with error.

ERROR
-----------------------

failed reasons:
 [0] address:'localhost/127.0.0.1',port:'80' : java.net.ConnectException: Connection refused
>
java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: '', port: '80'
failed reasons:
 [0] address:'localhost/127.0.0.1',port:'80' : java.net.ConnectException: Connection refused

at weblogic.net.http.HttpClient.openServer(HttpClient.java:408)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:511)
at weblogic.net.http.HttpClient.New(HttpClient.java:313)
at weblogic.net.http.HttpClient.New(HttpClient.java:292)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:295)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:685)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:41)
at java.net.URL.openStream(URL.java:1045)
at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:355)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:836)
at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStreamUsingUrlResolver(MetadataManagerImpl.java:217)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStreamUsingCustomization(MDSMetadataManagerImpl.java:553)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:535)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:307)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:408)
at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:545)
at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:251)
at com.collaxa.cube.engine.core.BaseCubeProcess.setScaComponent(BaseCubeProcess.java:218)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Deploy a composite in SOA / SOA Cloud environment with config plan
  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms