Saturday, September 21, 2013

Unable to edit dvm from SOA composer

 Caused By: javax.ejb.EJBException: EJB Exception: ; nested exception is:
        oracle.fabric.common.FabricException:  oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found  for metadata object  "/apps/abcEnterpriseDVMs/OracleOrgToWeighbridgeSiteMapping.dvm":  MDS-00013: no metadata found for metadata object  "/apps/abcEnterpriseDVMs/OracleOrgToWeighbridgeSiteMapping.dvm";  nested exception is: oracle.fabric.common.FabricException:  oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found  for metadata object  "/apps/abcEnterpriseDVMs/OracleOrgToWeighbridgeSiteMapping.dvm":  MDS-00013: no metadata found for metadata object  "/apps/abcEnterpriseDVMs/OracleOrgToWeighbridgeSiteMapping.dvm"


The above errors are seen in the soa logs.

We fixed this by below solution.


The cause of this issue is invalid / incorrect data in <MDS_SCHEMA>.MDS_SANDBOXES.

Fix:
====
1 - Make a back up of the data for the table <MDS_SCHEMA>.MDS_SANDBOXES
2 - Delete the row with the name of the dictionary (or any other dictionary) on the table, commit the changes.(I truncated this table)
3 - Try to open the dictionary again on SOA Composer

Tuesday, September 10, 2013

BEA-090082

<Sep 10, 2013 3:11:10 AM BST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Sep 10, 2013 3:11:11 AM BST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JRF Startup Class", java.lang.ClassNotFoundException: oracle.jrf
.wls.JRFStartup
java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        Truncated. see log file for complete stacktrace
<Sep 10, 2013 3:11:11 AM BST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JPS Startup Class", java.lang.ClassNotFoundException: oracle.sec
urity.jps.wls.JpsWlsStartupClass
java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        Truncated. see log file for complete stacktrace
>
<Sep 10, 2013 3:11:11 AM BST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "ODL-Startup", java.lang.ClassNotFoundException: oracle.core.ojdl
.weblogic.ODLConfiguration
java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        Truncated. see log file for complete stacktrace

Faced this on a SOA 11g customer.One of my colleague fixed it.

Solution:  modified nodemanager.properties.. startScriptEnabled=false to true and started the servers from console

Apparently this issue came when we started services from console.

Tuesday, September 3, 2013

Weblogic 10.3.5 to 10.3.6 error.

We faced issue with 10.3.5 to 10.3.6. The weblogic was used by 2 domains.OSR and SOA domain.SOA again had OER with it.Yes, a complex one. Strangely upgrade of weblogic failed with

"A fatal error has occured, application will terminate".Below command was used.

./java  -Djava.io.tmpdir=/prod/tmp -d64 -jar /prod/patch_11.1.1.7/weblogic1036/wls1036_upgrade_generic.jar

We enabled log and got the error,


2013-09-03 00:16:56,909 INFO  [workshopConfig_gui] com.bea.plateng.wizard.installer.helpers.WorkshopConfigTaskHelper - /resources/bids/WebLogic Platform10.3.6.0_wsconfig.xmlis not available. Nothing to configure.
2013-09-03 00:16:57,341 ERROR [setPatchEnv_silent] com.bea.plateng.wizard.WizardController - Uncaught Exception java.lang.IllegalArgumentException: Invalid product-ref! Unable to locate product=Oracle Enterprise Repository release=11.1.1.4
        at com.bea.cie.gpr.internal.model.dao.reg.DelegateRegistryHelper.getProductMap(DelegateRegistryHelper.java:185)
        at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.getProdInstallDirToProdSet(PatchScriptHandlerTask.java:228)
        at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.handleBEAHome(PatchScriptHandlerTask.java:128)
        at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.execute(PatchScriptHandlerTask.java:60)
        at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
        at java.lang.Thread.run(Thread.java:662)


We found by searching oracle documentation that it was related to Bug 13004222 - WLS UPGRADE FAILURE