On Apr 9, 10:49 am, " "
wrote:
> On Apr 9, 9:12 am, wrote:
>
> > Hi,
> > 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?
> >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.
>
> Have you verified whether the possibilities mentioned in the
> error itself are not true? You are asking the driver to do FCF,
> I guess, and that requires information from the RAC cluster,
> via Oracle Notification Service. Is that running, and did you
> give the driver the correct ONS info?
> Joe
Yes, I think I correctly configured in Java side since I don't get
this exception all the time. During my test I got this exception
irregulary. Since my DBA set up the RAC, I don't know much about Orace
server side RAC set up but I found the followings; do you think this
may cause the problem? My testing RAC database uses two nodes but I
see ONS daemon is running on from only one node not from both. Is this
right?
Node 1
[oracle@rac1 ~]$ srvctl status nodeapps -n rac1
VIP is running on node: rac1
GSD is not running on node: rac1
Listener is not running on node: rac1
ONS daemon is not running on node: rac1
Node2
[oracle@rac1 ~]$ srvctl status nodeapps -n rac2
VIP is running on node: rac2
GSD is running on node: rac2
Listener is running on node: rac2
ONS daemon is running on node: rac2
[oracle@rac1 ~]$
>> Stay informed about: Oracle JDBC oracle.ons.SubscriptionException: