My Oracle Support Banner

java.net.ConnectException: Connection timed out when Connecting from Content Server to BPEL (Doc ID 1158930.1)

Last updated on MARCH 05, 2024

Applies to:

Oracle WebCenter Content - Version 10.0 and later
Information in this document applies to any platform.


Symptoms


* Using Content Server 10.1.3.3.3 (080807)
* Content Server has been integrated with BPEL 10.1.3.4
* A firewall exists between Content Server and BPEL, and port 6003 has been opened to allow access to BPEL.
* When trying to test the connection to BPEL using following connection details:

domain ==> default
initial context factory ==> RMIInitialContextFactory
provider url ==> opmn:ormi://xxx.xxx.x.xx:6003:oc4j_soa/orabpel
security principal ==> oc4jadmin

Then following exception gets raised in the server log:

An error has occurred. The stack trace below shows more information.

!csUserEventMessage,sysadmin,host.domain:7780!$!csOBErrorLoggingIntoDomain!syExceptionType2,com.oracle.bpel.client.ServerException,Failed to create "ejb/collaxa/system/DomainManagerBean" bean; 
exception reported is: "javax.naming.CommunicationException: Connection timed out [Root exception is java.net.ConnectException: Connection timed out]
        at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:311)
        at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:56)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:239)
        at com.oracle.bpel.client.auth.DomainAuthFactory.validate(DomainAuthFactory.java:139)
        at bpelintegration.OracleIntegration.loginDomain(OracleIntegration.java:131)
        at bpelintegration.OraBpelHandler.loginDomain(OraBpelHandler.java:209)
        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:585)
        at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
        at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142)
        at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75)
        at intradoc.server.Service.doCodeEx(Service.java:488)
        at intradoc.server.Service.doCode(Service.java:470)
        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
        at intradoc.server.Service.doAction(Service.java:450)
        at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
        at intradoc.server.Service.doActions(Service.java:445)
        at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111)
        at intradoc.server.Service.executeActions(Service.java:431)
        at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
        at intradoc.server.Service.doRequest(Service.java:1709)
        at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
        at intradoc.server.IdcServerThread.run(IdcServerThread.java:195)
Caused by: java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:208)
        at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:736)
        at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:59)
        at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:75)
        at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:69)
        at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:700)
        at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:244)
        at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:228)
        at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:302)
        ... 25 more
".!syExceptionType2,java.lang.Exception,Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.CommunicationException: Connection timed out [Root exception is java.net.ConnectException: Connection timed out]
        at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:311)
        at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:56)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:239)
        at com.oracle.bpel.client.auth.DomainAuthFactory.validate(DomainAuthFactory.java:139)
        at bpelintegration.OracleIntegration.loginDomain(OracleIntegration.java:131)
        at bpelintegration.OraBpelHandler.loginDomain(OraBpelHandler.java:209)
        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:585)
        at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
        at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142)
        at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75)
        at intradoc.server.Service.doCodeEx(Service.java:488)
        at intradoc.server.Service.doCode(Service.java:470)
        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
        at intradoc.server.Service.doAction(Service.java:450)
        at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
        at intradoc.server.Service.doActions(Service.java:445)
        at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111)
        at intradoc.server.Service.executeActions(Service.java:431)
        at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
        at intradoc.server.Service.doRequest(Service.java:1709)
        at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
        at intradoc.server.IdcServerThread.run(IdcServerThread.java:195)
Caused by: java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:208)
        at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:736)
        at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:59)
        at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:75)
        at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:69)
        at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:700)
        at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:244)
        at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:228)
        at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:302)
        ... 25 more<br>".
	at com.oracle.bpel.client.auth.DomainAuthFactory.validate(DomainAuthFactory.java:144)
	at bpelintegration.OracleIntegration.loginDomain(OracleIntegration.java:131)
	... 20 more

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
 Use HTTP tunneling
 Use ORMI through the firewall
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.