Share the content if you found it is useful (You can share using 300 community websites) click "share" at the end of the post.

You are encouraged to leave a comment.








Thursday, September 06, 2012

After patch_weblogic.sh, while updating theOES Policies error

After patch_weblogic.sh,

while updating OES policies, i stuck with an error:

According to post installation steps of Patch 12790893

 [java] Exception in thread "Main Thread" java.sql.SQLException: Listener refused the connection with the following error:
     [java] ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
     [java]
     [java]     at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
     [java]     at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:538)
     [java]     at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:228)
     [java]     at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
     [java]     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]     at oracle.iam.authzpolicydefn.loader.PolicyLoader.getDbConn(PolicyLoader.java:437)
     [java]     at oracle.iam.authzpolicydefn.loader.PolicyLoader.loadPolicies(PolicyLoader.java:84)
     [java]     at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:201)
     [java] Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
     [java] ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
     [java]
     [java]     at oracle.net.ns.NSProtocol.connect(NSProtocol.java:394)
     [java]     at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
     [java]     at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
     [java]     ... 9 more

BUILD FAILED
/stagefusion/FMW/iam/server/setup/deploy-files/setup.xml:98: The following error occurred while executing this line:
/stagefusion/FMW/iam/server/seed_data/seed-rcu-data.xml:135: Java returned: 1


correct the entry insteadfroom


/stagefusion/FMW/modules/org.apache.ant_1.7.1/bin/ant -f setup.xml upgrade-oes-ootb-policies -DoperationsDB.user=XXX -DOIM.DBPassword=XXX -DoperationsDB.driver=oracle.jdbc.xa.client.OracleXADataSource -DoperationsDB.host=fusionapp -DoperationsDB.port=1521 -DoperationsDB.SID=(SID) -Dpolicy.dir=/stagefusion/FMW/iam/temp -Dupdate.flag=true -Dweblogic.server.dir=/stagefusion/FMW/wlserver_10.3

 to
 
/stagefusion/FMW/modules/org.apache.ant_1.7.1/bin/ant -f setup.xml upgrade-oes-ootb-policies -DoperationsDB.user=XXX -DOIM.DBPassword=XXX -DoperationsDB.driver=oracle.jdbc.xa.client.OracleXADataSource -DoperationsDB.host=fusionapp -DoperationsDB.port=1521 -DoperationsDB.serviceName=(Sid.Domain.name) -Dpolicy.dir=/stagefusion/FMW/iam/temp -Dupdate.flag=true -Dweblogic.server.dir=/stagefusion/FMW/wlserver_10.3

It should complete without error:
upgrade-oes-ootb-policies:
    [input] skipping input as property OIM.DBPassword has already been set.

upgrade-oes-ootb-policies:
     [echo]  ----> UPDATING OUT OF THE BOX OES POLICIES
     [java] [EL Info]: 2012-09-06 10:44:21.649--ServerSession(140431094)--EclipseLink, version: Eclipse Persistence Services - 1.1.0.r3634
     [java] [EL Info]: 2012-09-06 10:44:23.224--ServerSession(140431094)--file:/stagefusion/FMW/iam/modules/oracle.oes_11.1.1/jps-internal.jar-JpsDBDataManager login successful
     [echo] ----> SEEDING COMPLETE LOG FILE
     [echo] ----> LOG FILE : /stagefusion/FMW/iam/temp/log

BUILD SUCCESSFUL
Total time: 21 seconds
 

 Cheers!!!

No comments:

Related Posts Plugin for WordPress, Blogger...

Let us be Friends...

Share |

Popular Posts

Recent Comments