Case Sensitivity of Weblogic External Proxy Settings (http.proxyHost) (Doc ID 1448469.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle SOA Suite - Version 11.1.1.1.0 to 11.1.1.6.0 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

Weblogic logs (at startup)

Starting WLS with line:
/u01/jrockit-jdk1.6.0_20-R28.1.0-4.0.1/bin/java -jrockit -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms768m -Xmx1536m -Dweblogic.Name=AdminServer -Djava.security.policy=/u01/oracle/middleware/wlserver_10.3/server/lib/weblogic.policy -Dhttp.proxyhost=192.168.0.100 -Dhttp.proxyPort=8088
.
.
.


Following stack trace generated:

oracle.fabric.common.FabricDeploymentException: [WSIFBinding] XXEDSMSNotifications.NotificationService1 Unable to complete load due to: Error in getting XML input stream: http://test.example.com/?wsdl: Tried all: '1' addresses, but could not connect over HTTP to server: 'test.example.com', port: '80': Error in getting XML input stream: http://test.example.com/?wsdl: Tried all: '1' addresses, but could not connect over HTTP to server: 'test.example.com', port: '80' {rootCauses=[]}
at oracle.integration.platform.blocks.wsif.WsifReference.load(WsifReference.java:354)
at oracle.integration.platform.blocks.wsif.WsifReference.load(WsifReference.java:98)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployReferences(CompositeDeploymentConnection.java:200)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:92)
at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:149)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy300.deploy(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:524)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: oracle.fabric.common.FabricException: Error in getting XML input stream: http://test.example.com/?wsdl: Tried all: '1' addresses, but could not connect over HTTP to server: 'test.example.com', port: '80'
at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:555)
at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:417)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:241)

Changes

Changes to setDomainEnv.sh to enable weblogic to make http requests via an external proxy e.g

export JAVA_OPTIONS=" -Dhttp.proxyhost=192.168.0.100 -Dhttp.proxyPort=8088 ${JAVA_OPTIONS} -Dhttp.nonProxyHosts=*.external.com -DUseHttpSunHandler=true -DproxySet=true"

 

N.B. lowercase http.proxyhost property


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