CCB JMX RMI Thread Pool Work Connection Issue - OAU FW (Doc ID 1264124.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Utilities Customer Care and Billing - Version: 2.1.0 to 2.3.1 - Release: 2.1 to 2.3
Oracle Utilities Framework - Version: 2.1.0 to 2.2.0   [Release: 2.1 to 2.2]
Information in this document applies to any platform.

Goal

=== ODM Question ===


threadpoolworker.properties:


cissys@vq2pa316$ more threadpoolworker.properties
# Default properties for all threadpoolworker nodes
# -------------------------------------------------
#
com.splwg.grid.distThreadPool.threads.DEFAULT=5
com.splwg.grid.distThreadPool.threads.LOCAL=0
com.splwg.batch.scheduler.daemon=true
spl.runtime.management.rmi.port=6548
spl.runtime.management.connector.url.default=service:jmx:rmi:///jndi/rmi://170.225.57.194:6540/spl-serverFUN/fw/jmxConnector
com.splwg.grid.executionMode=DISTRIBUTED
tangosol.coherence.log=log4j
tangosol.coherence.log.level=5
tangosol.coherence.guard.timeout=0
tangosol.coherence.cluster=vq2pa316
tangosol.coherence.clusteraddress=170.225.57.194
tangosol.coherence.clusterport=6549

Start treadpoolworker ./starttpw.sh


- 2010-11-03 13:09:13,716 [main] INFO (support.context.ApplicationContext) System owner is: 'CM'
- 2010-11-03 13:09:15,085 [main] INFO (support.context.ContextFactory) Done creating default context, time 66,835.154 ms(1 min 6.835 sec)
- 2010-11-03 13:09:15,086 [main] INFO (api.batch.StandaloneExecuter) Starting RMI Registry at port:6548
- 2010-11-03 13:09:15,220 [main] INFO (api.batch.StandaloneExecuter) Attempting to Start JMX Connector at URL:service:jmx:rmi:///jndi/rmi://170.225.57.194:6540/spl-serverFUN/fw/jmxConnector
- 2010-11-03 13:10:15,386 [main] ERROR (api.batch.StandaloneExecuter) Couldn't start JMX Connector using URL: service:jmx:rmi:///jndi/rmi://170.225.57.194:6540/spl-serverFUN/fw/jmxConnector...java.io.IOException: Cannot bind to URL [rmi://170.225.57.194:6540/spl-serverFUN/fw/jmxConnector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]


jmxbatchclient.sh


cissys@vq2pa316$ jmxbatchclient.sh -j service:jmx:rmi:///jndi/rmi://170.225.57.194:6540/spl-serverFUN/fw/jmxConnector
- 2010-11-03 13:15:38,316 [main] INFO (api.batch.JMXCommandLineClient) Options: -j service:jmx:rmi:///jndi/rmi://170.225.57.194:6540/spl-serverFUN/fw/jmxConnector
- 2010-11-03 13:15:38,320 [main] INFO (api.batch.JMXCommandLineClient) Connecting to service:jmx:rmi:///jndi/rmi://170.225.57.194:6540/spl-serverFUN/fw/jmxConnector
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:342)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:263)
at com.splwg.base.api.batch.JMXCommandLineClient.run(JMXCommandLineClient.java:69)
at com.splwg.base.api.batch.JMXCommandLineClient.main(JMXCommandLineClient.java:58)
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:112)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:200)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1848)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1818)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:284)
... 3 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:293)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:190)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:321)
at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:108)
... 8 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:155)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
at java.io.BufferedInputStream.read(BufferedInputStream.java:246)
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:234)
... 12 more



Solution

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