Unable to access OSB Services from SOA in a Clustered Environment via the load balancer URL (Doc ID 1996819.1)

Last updated on MAY 09, 2016

Applies to:

Oracle SOA Suite - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Below error is seen when deploying the SOA Project.

ERROR
-----------------------
[2015-04-03T04:44:03.192+00:00] [wls_soa1] [WARNING] [] [oracle.fabric.common.wsdl] [tid: ReplicatedCache:soa_domain_soa_clusterCacheService:EventDispatcher] [userId: <anonymous>] [ecid: 79d54b480dbc4f35:3313048d:14c7b352398:-8000-0000000000000003,1:31835] [APP: soa-infra] WSDL localizedWSDLException at location: http://<LB Addr>/servicebus/xxxService/name?wsdl due to: Error in getting XML input stream: http://<LB Addr>/servicebus/xxxService/name?wsdl: Response: '403: Forbidden' for url: 'http://<LB Addr>/servicebus/xxxService/name?wsdl'
[2015-04-03T04:44:03.193+00:00] [wls_soa1] [ERROR] [SOA-20003] [oracle.integration.platform] [tid: ReplicatedCache:soa_domain_soa_clusterCacheService:EventDispatcher] [userId: <anonymous>] [ecid: 79d54b480dbc4f35:3313048d:14c7b352398:-8000-0000000000000003,1:31835] [APP: soa-infra] Unable to register service.[[
oracle.fabric.common.FabricException: Error in getting XML input stream: http://<LB Addr>/servicebus/xxxService/name?wsdl: Response: '403: Forbidden' for url: 'http://<LB Adde>/servicebus/xxxService/name?wsdl'
      at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:288)
      at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:624)
      at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:164)
      at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:486)
      at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:286)
      at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:379)
      at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:442)
      at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:205)
      at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.getDefinition(WebServiceEntryBindingComponent.java:385)
      at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:204)
      at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:152)
      at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployServices(CompositeDeploymentConnection.java:162)
      at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
      at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:185)
      at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:63)
      at sun.reflect.GeneratedMethodAccessor2384.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)




Please note that if I change http://<LB Addr>/servicebus/xxxGetOrderObjectService/getOrderObject?wsdl to
http://<OSB1>:<port>/servicebus/xxxGetOrderObjectService/getOrderObject?wsdl  (or any one of the osb addr) in configuration file its working fine.
but that means we will be using only one node out of cluster.

Could you please confirm if there is anything missing because of which the LB URL is not working when used from SOA managed server during deployment to access a OSB managed server sevice wsdl.


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