I am writing Java application using JDBC to support Oracle RAC
database, but I got the following ONS related exception. Can anyone
tell me why I have this error?
Exception in thread "Thread-6" oracle.ons.SubscriptionException:
Subscription request timed out after 30000 millseconds. Possible
causes: OPMN may not be running, you may have an OPMN running in an
alternate ORACLE_HOME using duplicate port values, or OPMN may be
misconfigured.
at oracle.ons.SubscriptionNotification.waitForReply
(SubscriptionNotification.java:82)
at oracle.ons.ONS.addSubscriber(ONS.java:669)
at oracle.ons.Subscriber.realStartup(Subscriber.java:104)
at oracle.ons.Subscriber.<init>(Subscriber.java:80)
at oracle.jdbc.pool.OracleRuntimeLoadBalancingEventHandlerThread$1.run
(OracleRuntimeLoadBalancingEventHandlerThread.java:74)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.pool.OracleRuntimeLoadBalancingEventHandlerThread.run
(OracleRuntimeLoadBalancingEventHandlerThread.java:66)
Exception in thread "Thread-5" oracle.ons.SubscriptionException:
Subscription request timed out after 30000 millseconds. Possible
causes: OPMN may not be running, you may have an OPMN running in an
alternate ORACLE_HOME using duplicate port values, or OPMN may be
misconfigured.
at oracle.ons.SubscriptionNotification.waitForReply
(SubscriptionNotification.java:82)
at oracle.ons.ONS.addSubscriber(ONS.java:669)
at oracle.ons.Subscriber.realStartup(Subscriber.java:104)
at oracle.ons.Subscriber.<init>(Subscriber.java:80)
at oracle.jdbc.pool.OracleFailoverEventHandlerThread$1.run
(OracleFailoverEventHandlerThread.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.pool.OracleFailoverEventHandlerThread.run
(OracleFailoverEventHandlerThread.java:61)