java.net.BindException: bind() failed, errno = 227 Can't assign requested address (Doc ID 1476838.1)

Last updated on MARCH 21, 2017

Applies to:

Web Services - Version 10.1.3.1.0 to 10.1.3.1.0 [Release Oracle10g]
Information in this document applies to any platform.

Symptoms

New function with UTL_DBWS call fails intermittently with the error:

ServiceFactory: oracle.j2ee.ws.client.ServiceFactoryImpl@7c110d23
WSDL: http://xx.xx.xx.xx/abc/xyz.svc?wsdl
ERROR: error.build.wsdl.model: oracle.j2ee.ws.common.tools.api.WsdlValidationException: Failed to read wsdl file at: "http://xx.xx.xx.xx/abc/xyz.svc?wsdl", caused by: java.net.BindException.    : bind() failed, errno = 227
Can't assign requested address
error.build.wsdl.model: oracle.j2ee.ws.common.tools.api.WsdlValidationException: Failed to read wsdl file at: "http://xx.xx.xx.xx/abc/xyz.svc?wsdl", caused by: java.net.BindException.    : bind() failed, errno = 227
Can't assign requested address
                at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java)
                at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java)
                at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:181)
                at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java)
                at oracle.j2ee.ws.client.dii.ConfiguredService.(ConfiguredService.java:54)
                at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:43)
                at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.(Unknown Source)
                at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.(Unknown Source)
                at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)

CAUSE:

oracle.j2ee.ws.common.tools.api.WsdlValidationException: Failed to read wsdl file at: "http://xx.xx.xx.xx/abc/xyz.svc?wsdl", caused by: java.net.BindException: bind() failed, errno = 227
Can't assign requested address
                at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java)
                at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java)
                at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:181)
                at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java)
                at oracle.j2ee.ws.client.dii.ConfiguredService.(ConfiguredService.java:54)
                at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:43)
                at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.(Unknown Source)
                at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.(Unknown Source)
                at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
Caused by: oracle.j2ee.ws.common.tools.api.WsdlValidationException: Failed to read wsdl file at: "http://xx.xx.xx.xx/abc/xyz.svc?wsdl", caused by: java.net.BindException.    : bind() failed, errno = 227
Can't assign requested address
                at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:178)
                at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:167)
                ... 9 more
Exception in thread "Root Thread" java.lang.IllegalAccessException: error.build.wsdl.model: oracle.j2ee.ws.common.tools.api.WsdlValidationException: Failed to read wsdl file at: "http://xx.xx.xx.xx/abc/xyz.svc?wsdl", caused by: java.net.BindException.    : bind() failed, errno = 227
Can't assign requested address
                at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)

 Environment
Oracle DB 11.2.0.2
Callout Utility 10.1.3.1

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