MDS Schema Relaionship
Hi,
Is there any document or article on MDS Schemas, which give information like which table gets updated when a page is created or edited at runtime and the relationship between the tables within the schema.
Thanks,
Jagan
Thanks for you response Yannick. I did post this question, because I exported MDS customizations to a Managed Server using wlst successfully. When tried i running the application i was not able to see the pages created at runtime but the export trace shows the page which was created at runtime to be exported successfully. When i tried to find the same page in the MDS schema it wasn't there. So i tried creating a new page again from the application to find which table of MDS schema was getting updated. I did not find any table getting updated with the newly created page at runtime. But the application was picking up the newly created resources.
I tried restarting the server, even then it did not pick up the pages exported.
Is there any configuration to be done to pick the resources created at runtime after an export operation?
Is there any document on this?
How are the references for the resources created at runtime stored in the MDS?
Similar Messages
-
Problem in Importing to MDS schema
Hello,
I am creating a pre process event handler in OIM 11gR2,in which there is one step "*importing custom event into MDS schema*" to do that:
1)go to OIM_HOME/server/bin and edit the weblogic.props file as follows:
wls_servername=oim_server1
application_name=OIMMetadata
metadata_from_loc=/home/oracle/eventhandlers
Event Handler Config file location as /home/oracle/eventhandlers/metada/EventHandlers.xml
2)weblogicImportmetada.bat file and it prompt
Weblogic Admin User Name : weblogic
Weblogic Admin Password : weblogic admin password
weblogic Admin URL : t3://localhost:7001
after connecting to the weblogic it shows the error message :
Please enter your username :weblogic
Please enter your password :
*Please enter your server URL [t3://localhost:7001] :t3://localhost:7001*
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)
Problem invoking WLST - Traceback (innermost last):
File "IDM_HOME\server\bin\weblogicImportMetadata.py", line 21, in ?
File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 289, in importMetadata
File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 795, in executeAppRuntimeMBeanOperation
File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 765, in getMDSAppRuntimeMBean
UserWarning: MDS-91002: MDS Application runtime MBean for "oim" is not available. "importMetadata" operation failure.
please advice how to resolve this error as i'm new in OIM
thanks & regards,
Tushar Palekarhii,
I have restart the server but not luck the error remain same
Problem invoking WLST - Traceback (innermost last):
File "C:\yash\Oracle\Middleware\Oracle_IDM1\server\bin\weblogicImportMetadata.py", line 21, in ?
File "C:\yash\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 289, in importMetadata
File "C:\yash\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 795, in executeAppRuntimeMBeanOperation
File "C:\yash\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 765, in getMDSAppRuntimeMBean
UserWarning: MDS-91002: MDS Application runtime MBean for "oim" is not available. "importMetadata" operation failure.
can you please suggest me what should be in the metadata_from_loc:
metadata_files:
metadata_to_loc:
please help
tushar -
Run the Repository Creation Utility (RCU) to install the SOA and MDS schema
Hi
I am new to SOA Suit and RCU installation.
Can any one help me to provide a link to download RCU for linux OS 64-bit.
how to Run the Repository Creation Utility (RCU) 11gR1PS3 to install the SOA and MDS schemas (Please provide the doc file are installation steps)
I have installed following softwares
1. Install Linux OS 64-bit
2. Install the Oracle 11gR2 (11.2.0.1.0) 32-bit or 64-bit Database.
3. Install WebLogic 11gR1PS3 (10.3.4.0) 64-bit.
4. Install SOA Suite 11gR1PS3 (11.1.1.4.0) 64-bit
Thanks in advance......
Bye
PhaniHi Dasari,
Thanks for your reply.
I have downloaded RCU from
Prerequisites & Recommended Install Process
Repository Creation Utility 11.1.1.4.0 Size: 308 MB, Check Sum: 2446020112
http://www.oracle.com/technetwork/middleware/soasuite/downloads/index.html
but I didn't saw rcu.sh but I saw RCU_HOME/BIN/rcu.bat file, which is support windows environment.
I am looking RCU for linux OS 64-bit.
if the same will use for both windows and linux that to 64-bit. please help me the RCU runing steps
Thanks
Phani -
MDS Schema Configuration Failue during OEM installation
During the OEM installation the set-up stops at MDS Schema Configuration. I see the following exception in the log files :-(
emmdscreate_2010_08_25_AD_23_11_09_IST.log*
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : Oracle Home is C:\Oracle\MiddlewareEM\oms11g
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : Trying to set RCU_HOME to C:\Oracle\MiddlewareEM\oms11g
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : RCU_HOME is C:\Oracle\MiddlewareEM\oms11g
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : Trying to set SCRIPT_HOME to C:\Oracle\MiddlewareEM\oms11g\rcu\integration
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : SCRIPT_HOME is C:\Oracle\MiddlewareEM\oms11g\rcu\integration
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : Trying to set RCU_LOG_LOCATION to C:\Oracle\MiddlewareEM\oms11g\cfgtoollogs\cfgfw
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : RCU_LOG_LOCATION is C:\Oracle\MiddlewareEM\oms11g\sysman\log\schemamanager\m_082510_1057_PM\m_082510_1057_PM.CREATE\
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : Trying to set RCU_LOG_NAME to emmds.log
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : RCU_LOG_NAME is rcu.log
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : Prepare to initialize RCU
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : RCU initialized with parameters : -silent -createRepository -compInfoXMLLocation C:\Oracle\MiddlewareEM\oms11g\sysman\emdrep\config\mds\ComponentInfo.xml -storageXMLLocation C:\Oracle\MiddlewareEM\oms11g\sysman\emdrep\config\mds\Storage.xml -connectString (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=WXP-56M33BS.hyd.amer.dell.com)(PORT=1521)))(CONNECT_DATA=(SID=orcl11g))) -dbUser SYS -dbRole sysdba -schemaPrefix SYSMAN -component MDS
2010_08_25_AD_23_11_09_IST EMMDSSchemaManager: Info : Start rewriting mds.xml
2010_08_25_AD_23_11_09_IST removePrereqFromMDS : mdsComp.xml[C:\Oracle\MiddlewareEM\oms11g\rcu\integration\mds\mdsComp.xml]
2010_08_25_AD_23_11_09_IST removePrereqFromMDS : mds.xml[C:\Oracle\MiddlewareEM\oms11g\rcu\integration\mds\mds.xml]
2010_08_25_AD_23_11_10_IST EMMDSSchemaManager: Info : Finish rewriting mds.xml
2010_08_25_AD_23_11_10_IST EMMDSSchemaManager: Info : Invoking RCU
2010_08_25_AD_23_11_12_IST ERROR:MDSoracle.sysman.assistants.rcu.backend.RCUExecutionException: RCU-6090:Skipping Main operation: Failed in Connection step validation
2010_08_25_AD_23_11_12_IST Parameters are: -silent -createRepository -compInfoXMLLocation C:\Oracle\MiddlewareEM\oms11g\sysman\emdrep\config\mds\ComponentInfo.xml -storageXMLLocation C:\Oracle\MiddlewareEM\oms11g\sysman\emdrep\config\mds\Storage.xml -connectString (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=WXP-56M33BS.hyd.amer.dell.com)(PORT=1521)))(CONNECT_DATA=(SID=orcl11g))) -dbUser SYS -dbRole sysdba -schemaPrefix SYSMAN -component MDS
emmdscreate.err+
ERROR:MDSoracle.sysman.assistants.rcu.backend.RCUExecutionException: RCU-6090:Skipping Main operation: Failed in Connection step validation
oracle.sysman.assistants.rcu.backend.RCUExecutionException: RCU-6090:Skipping Main operation: Failed in Connection step validation
at oracle.sysman.assistants.rcu.backend.SilentRCUModel.performOperation(SilentRCUModel.java:129)
at oracle.sysman.assistants.rcu.backend.RCUModel.startOperation(RCUModel.java:268)
at oracle.sysman.assistants.rcu.Rcu.execute(Rcu.java:324)
at oracle.sysman.emdrep.mds.EMMDSSchemaManager.perform(EMMDSSchemaManager.java:230)
at oracle.sysman.emcp.oms.MDSSchemaConfiguration.perform(MDSSchemaConfiguration.java:66)
at oracle.sysman.emcp.oms.BaseConfiguration.invoke(BaseConfiguration.java:151)
at oracle.sysman.emCfg.core.PerformMicroStep.runJavaClass(PerformMicroStep.java:540)
at oracle.sysman.emCfg.core.PerformMicroStep.executeMicroStep(PerformMicroStep.java:120)
at oracle.sysman.emCfg.core.ActionPerformer.performMicroStep(ActionPerformer.java:917)
at oracle.sysman.emCfg.core.ActionPerformer$Performer.run(ActionPerformer.java:1038)
Parameters are: -silent -createRepository -compInfoXMLLocation C:\Oracle\MiddlewareEM\oms11g\sysman\emdrep\config\mds\ComponentInfo.xml -storageXMLLocation C:\Oracle\MiddlewareEM\oms11g\sysman\emdrep\config\mds\Storage.xml -connectString (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=WXP-56M33BS.hyd.amer.dell.com)(PORT=1521)))(CONNECT_DATA=(SID=orcl11g))) -dbUser SYS -dbRole sysdba -schemaPrefix SYSMAN -component MDS
Request help as I am unable to proceed further from here :-(
Edited by: user8915544 on Aug 25, 2010 11:31 AM... find some other problems regarding RCU-6090...
Re: OID 11g installation problem: service name/tnsnames.ora ok?
There are some suggestions with the global name in the connection descriptor....
TNS name WXP-56M33BS.hyd.amer.dell.com
maybe try IP / localhost or hostname....in the tnsnames
nothing more than a suggestion....
*T -
RCU doesn't re-create MDS schema
I used RCU to drop my MDS schema (for soa suite ver. 11.1.1.1.2).
When attempting to re-create the schema, RCU throws a number of errors, including:
1. Error creating database file: /app/Oracle/oradata/JDEV_mds.dbf
File already exists.
2. If 1 is ignored, the RCU then complains the user JDEV_MDS doesn't exist.Did you shutdown your existing SOA Suite 11.1.1.2 environment and exit JDev before starting RCU to drop schemas?Yes, before running RCU, i made sure nothing was connected to the schema.
Now attempted to re-create re-create the schema after restarting the database and there's another error:
Error creating PL/SQL Object
MDS_INTERNAL_SHREDDED: PACKAGE BODY -
12c Cloud Control Install : plug-in MDS Schema Configuration has failed its
Anyone,
I am trying to install Oracle 12c Cloud Control (CC). I am installing this product on the
same server (a VM) as the database.
Some basic information ( a repeat of above):
Platform OS:
uname -aLinux slc02itk 2.6.18-308.0.0.0.1.el5xen #1 SMP Sat Feb 25 16:26:29 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
Database Software:
SYS@OTMDX07>select banner from v$version ;
BANNER
Oracle Database 12c Enterprise Edition Release 12.1.0.0.1 - 64bit Beta
PL/SQL Release 12.1.0.0.1 - Beta
CORE 12.1.0.0.1 Beta
TNS for Linux: Version 12.1.0.0.1 - Beta
NLSRTL Version 12.1.0.0.1 - Beta
Cloud Control Software:
Software obtained from here:
http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/index.html
Enterprise Manager Cloud Control 12c Release 1 (12.1.0.1) for Linux x86-64 (With Bundle Patch 1)
I have successfully installed the CC software and am having problems with the configuration.
I am running this command:
/u01/app/oracle/middleware/oms/sysman/install/ConfigureGC.sh
In the linux window I get the following feedback. Note the "divide by zero" error.
Does anyone know what causes this, and better yet, how to avoid it?
Percent Complete: 50
Percent Complete: 100
Repository Creation Utility: Create - Completion Summary
Database details:
Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=slc02itk)(PORT=1521)))(CONNECT_DATA=(SID=OTMDX07)))
Connected As : SYS
Prefix for (prefixable) Schema Owners : SYSMAN
RCU Logfile : /u01/app/oracle/middleware/oms/sysman/log/schemamanager/m_061212_0546_AM/m_061212_0546_AM.CREATE/rcu.log
Component schemas created:
Component Status Logfile
Authorization Policy Manager Success /u01/app/oracle/middleware/oms/sysman/log/schemamanager/m_061212_0546_AM/m_061212_0546_AM.CREATE/apm.log
Repository Creation Utility - Create : Operation Completed
Repository Creation Utility - Dropping and Cleanup of the failed components
Repository Dropping and Cleanup of the failed components in progress.
2012-06-12 06:01:50,448 [Thread-45] ERROR - createRepository failed with following error:
java.lang.ArithmeticException: / by zero
at oracle.sysman.assistants.rcu.backend.SilentProgressor.progress(SilentProgressor.java:58)
at oracle.sysman.assistants.rcu.backend.RCUModel.cleanUp(RCUModel.java:605)
at oracle.sysman.assistants.rcu.backend.SilentRCUModel.showCompletionMessage(SilentRCUModel.java:245)
at oracle.sysman.assistants.rcu.backend.RCUModel.executeTasks(RCUModel.java:449)
at oracle.sysman.assistants.rcu.backend.SilentRCUModel.performOperation(SilentRCUModel.java:224)
at oracle.sysman.assistants.rcu.backend.RCUModel.startOperation(RCUModel.java:327)
at oracle.sysman.assistants.rcu.Rcu.execute(Rcu.java:335)
at oracle.sysman.emdrep.opss.EMSecuritySchemaManager.perform(EMSecuritySchemaManager.java:317)
at oracle.sysman.oms.MDSSchemaConfiguration.perform(MDSSchemaConfiguration.java:186)
at oracle.sysman.oms.BaseConfiguration.invoke(BaseConfiguration.java:192)
at oracle.sysman.emCfg.core.PerformMicroStep.runJavaClass(PerformMicroStep.java:540)
at oracle.sysman.emCfg.core.PerformMicroStep.executeMicroStep(PerformMicroStep.java:120)
at oracle.sysman.emCfg.core.ActionPerformer.performMicroStep(ActionPerformer.java:917)
at oracle.sysman.emCfg.core.ActionPerformer$Performer.run(ActionPerformer.java:1038)
/u01/app/oracle/middleware/oms/sysman/log/schemamanager/m_061212_0546_AM/m_061212_0546_AM.CREATE/rcu.log
In one of the log files generated:
/u01/app/oracle/middleware/oms/cfgtoollogs/cfgfw/CfmLogger_2012-06-12_05-45-08-AM.log
I see the following messages. The messages say "INFO", but they may as well be "FATAL" because the installation
or configuration cannot continue. I believe the failure lies in the creation of the "SYSMAN_OPSS" user.
NFO: oracle.sysman.top.oms:__________________________DUMPING PARAMETERS______________________________________________
INFO: oracle.sysman.top.oms:OracleHome: /u01/app/oracle/middleware/oms
INFO: oracle.sysman.top.oms:Connect String: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=slc02itk)(PORT=1521)))(CONNECT_DATA=(SID=OTMDX07)))
INFO: oracle.sysman.top.oms:SYS User: SYS
INFO: oracle.sysman.top.oms:________________________________________________________________________
INFO: oracle.sysman.top.oms:MDS Schema Creation status: COMPLETED
INFO: oracle.sysman.top.oms:MDS Schema Creation is successful
INFO: oracle.sysman.top.oms:_______________________________________________________________________
INFO: oracle.sysman.top.oms:Starting opss Schema Creation.
INFO: oracle.sysman.top.oms:Failed to create OPSS schema
INFO: oracle.sysman.top.oms:_______________________________________________________________________
INFO: oracle.sysman.top.oms:Starting APM Schema Creation.
INFO: oracle.sysman.top.oms:Failed to create APM schema
INFO: oracle.sysman.top.oms:The plug-in MDS Schema Configuration has failed its perform method
Here I show that the "other" users get created with their objects.
1* select owner, count(*) from dba_objects where owner like 'SYSMAN%' group by owner
SYS@OTMDX07>/
OWNER COUNT(*)
SYSMAN_RO 847
SYSMAN_MDS 60
SYSMAN 11174
SYSMAN_APM 211
SYS@OTMDX07>
1* select tablespace_name, file_name from dba_data_files where tablespace_name like 'M%'
SYS@OTMDX07>/
TABLESPACE_NAME FILE_NAME
MGMT_ECM_DEPOT_TS /u02/oradata/OTMDX07/mgmt_ecm_depot1.dbf
MGMT_TABLESPACE /u02/oradata/OTMDX07/mgmt.dbf
MGMT_AD4J_TS /u02/oradata/OTMDX07/mgmt_ad4j.dbf
Repository Creation Utility: Create - Completion Summary
Database details:
Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=slc02itk)(PORT=1521)))(CONNECT_DATA=(SID=OTMDX07)))
Connected As : SYS
Prefix for (prefixable) Schema Owners : SYSMAN
RCU Logfile : /u01/app/oracle/middleware/oms/sysman/log/schemamanager/m_061212_0546_AM/m_061212_0546_AM.CREATE/rcu.log
Component schemas created:
Component Status Logfile
Authorization Policy Manager Success /u01/app/oracle/middleware/oms/sysman/log/schemamanager/m_061212_0546_AM/m_061212_0546_AM.CREATE/apm.log
For complete disclosure, the Enterprise Manager prerequisite checks yielded these findings:
id_check_session_cached_cursors_param ==> fail
id_check_open_cursors_param ==> fail
But I think the check is wrong. I do not understand why the check fails on only these initialization parameters:
1* select name, value from v$parameter where name in ('session_cached_cursors','open_cursors')
SYS@OTMDX07>/
NAME VALUE
session_cached_cursors 1000
open_cursors 1000
Any insight is greatly appreciated.
JohnJohn,
I note that your database version is 12.1.0.0.1 - 64bit Beta, which is not certified for EM 12c. This may have something to do with the repository creation failure. Can you try using a certified database version (e.g. 11.2.0.2 or 11.2.0.3) to host the EM 12c repository?
Regards,
- Loc -
Creating BIPLATFORM and MDS schemas
Hi every one,
Is it manadatory to use RCU for creating schemas BIPLATFORM and MDS.
Or can we create them manually.
If it is possible to create manually where can in find the scripts for that.
Please help me in this regard.It uses multiple sql statements to perform the create or drop. I would not recommend going outside of using the RCU to create the schemas.
-
Hi All,
I am trying to delete some schemas in MDS by using wlst but it gives below error .pleace any help on it.
wls:/base_domain/serverConfig> deleteMetadata(application='soa-infra',server='soa_server1',docs='/usr/app/oracle/product/ECO/EcoAIA/AIAMetaData/AIAComponents/Services/http___siebel.com_CustomUI_ECB_Flexcube_To_Siebel_Companies2.wsdl')
Location changed to custom tree. This is a writable tree with No root.
For more help, use help(custom)
Executing operation: deleteMetadata.
Traceback (innermost last):
File "<console>", line 1, in ?
File "/usr/app/oracle/product/ECO/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 160, in deleteMetadata
File "/usr/app/oracle/product/ECO/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 801, in executeAppRuntimeMBeanOperation
File "/usr/app/oracle/product/ECO/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 1079, in saveStackAndRaiseException
WLSTException:
MDS-00001: exception in Metadata Services layer
MDS-01059: document with the name /usr/app/oracle/product/ECO/EcoAIA/AIAMetaData/AIAComponents/Services/http___siebel.com_CustomUI_ECB_Flexcube_To_Siebel_Companies2.wsdl missing in the source metadata store
MDS-91009: Operation "deleteMetadata" failure. Use dumpStack() to view the full stacktrace.
Thank you
ramHi,
It seems you're trying to delete something that's not there... Or the script can not found it for some reason - permissions?
MDS-01059: document with the name {0} missing in the source metadata store
Cause: The document to be transferred did not exist in the source metadata store.
Action: Verify that the document name is correct, and that it exists in the source metadata store
http://docs.oracle.com/cd/E12839_01/core.1111/e10113/chapter_mds_messages.htm
Cheers,
Vlad -
MDS-00521 - error while reading the document in Oracle ADF at Runtime
Hi All,
we are using Jdeveloper Version : Oracle JDeveloper 11g 11.1.1.5.0
we are getting below error message while opening the page at run time.
MDS-00521 : error while reading the document app1/screen1.jsff from metadata repository.
MDS-00569 : unable to read document app1/screen1.jsff from file "D:Oracle/Middleware11115_1/user_projects/domains/j2eeprd1/servers/app1j2eeprd1/.....
WEB-INF/Lib/ADFViewControllerapp1.jar!/app1/screen1.jsff
Note : we disable 1) Enable User Customizations and 2) Enable seeded customization in Project properties -> ADF View
can you please help us to resolve this issue.!
Thanks,This seems issue with MDS schema. You can try two things:
- Restart everything again (database and admin server as well)
- If above doesn't solve you problem. then there must problem while creating schema using RCU. Run RCU utility again, drop and recreate schema and reconfigure OIM.
This is what I suspect. Other experts can jump in with better solution.
regards,
GP -
SOA Composite (having refernce to MDS )Deployment thru ANT script
I have been trying to deploy SOA composite which has reference to 'oramds:/soa/shared/workflow/TaskServiceInterface.wsdl' thru ANT script.But getting below error -
scac-validate:
[echo] Running scac-validate in D:\apps\saurabhk\deployment\Error Logging\Ev
entHandlerSubscriberComposite\bin/..//composite.xml
[echo] oracle.home = D:/apps/common/mw_home/jdeveloper
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
scac:
[scac] Validating composite "D:\apps\saurabhk\deployment\Error Logging\Event
HandlerSubscriberComposite\bin/..//composite.xml"
[scac] FATAL_ERROR: location {ns:composite}(12,61): Parse of component type
files failed, check the adf-config.xml file : "oracle.fabric.common.FabricExcept
ion: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS c
onfiguration document
[scac] MDS-01329: unable to load element "persistence-config"
[scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
re-usage_1" is invalid.
[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
adataStore" cannot be instantiated.
[scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
[scac] : MDS-01330: unable to load MDS configuration document
[scac] MDS-01329: unable to load element "persistence-config"
[scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
re-usage_1" is invalid.
[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
adataStore" cannot be instantiated.
[scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
[scac] : oracle.mds.config.MDSConfigurationException: MDS-01330: unable to l
oad MDS configuration document
[scac] MDS-01329: unable to load element "persistence-config"
[scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
re-usage_1" is invalid.
[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
adataStore" cannot be instantiated.
[scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
[scac] : MDS-01330: unable to load MDS configuration document
[scac] MDS-01329: unable to load element "persistence-config"
[scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
re-usage_1" is invalid.
[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
adataStore" cannot be instantiated.
[scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
[scac] "
BUILD FAILED
I have mentioned MSD information in build.properties file and adf-config.xml file.
build.properties :-
foreign.mds.type=db
mds.db.userid=XXX
mds.db.password=XX
mds.db.jdbc-url=jdbc:oracle:thin:@XXX.XXX.XXX.XXX:1521:DBC
adf-config.xml:-
<?xml version="1.0" encoding="windows-1252" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
xmlns:sec="http://xmlns.oracle.com/adf/security/config">
<!-- server side db backed mds settings -->
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config">
<persistence-config>
<metadata-namespaces>
<!-- shared namespace for soa artifacts, such as xsd / wsdl -->
<namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
<!-- customer namespace for sharing stuff -->
<namespace metadata-store-usage="mstore-usage_1" path="/apps"/>
<!-- configuration namespace for the SE/BCs, only exists on the server -->
<namespace metadata-store-usage="mstore-usage_1" path="/soa/configuration"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="mstore-usage_1">
<metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
<property name="jdbc-userid" value="XXXX"/>
<property name="jdbc-password" value="XXXX"/>
<property name="jdbc-url"
value="jdbc:oracle:thin:@XXX.XXX.XXX.XX:1521:DBC"/>
<property name="partition-name" value="soa-infra"/>
</metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
</sec:adf-security-child>
</adf-config>
Please let me know if you need any more informattion.
Thanks in advance[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMetadataStore" cannot be instantiated.This error tells that the parameters you have given in build.properties are incorrect. Cross check them again. Make sure that property mds.db.userid points to a MDS schema (for example dev_mds)
Regards,
Anuj -
Schema version is lower than expected value
While configuring the database at Step 3 of 9, it threw me an exception: INST-6177 OIM Schema version is lower than expected value.
Create OIM 11g schema using repository creation utility and proceed with configuration.
Now, Please help me...For the exception, the trace says that:
[2011-05-19T14:29:10.511+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
[OIM_CONFIG_INTERVIEW] MDS Schema Version is correct
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Exiting method executeHandler
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
[OIM_CONFIG_INTERVIEW] Database is not encryped. This is not an upgrade flow.
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Could not fetch the schema version from the database
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
ERROR ====>>>>:INST-6177
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
Cause:OIM Schema version is lower than the expected value
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
Action:Create OIM 11g schema using Repository Creation Utility and proceed with configuration.
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
[OIM_CONFIG_INTERVIEW] Retrieving default locale set in the machine.
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Exiting method executeHandler
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Handler launch end: oimQueriesHandler.checkForUpgrade
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Handler returned status: FAILED
[2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Error in validating schema details -
Error while configuring the domain "Configure JDBC Component Schema"
Hi Everyone,
I have installed SOA Suite 11g on my Win 7 machine 64bit OS and while trying to configure the domain for the WebLogic Server. I fallowed the wizard and everything went well till the JDBC Component Schema window. Here I am able to pass through
1. BAM Schema- Failed
2. SOA Infrastructure-Failed
3. User Messaging Service-Passed
4. OWSM MDS Schema-Passed
5. SOA MDS Schema-Passed
and here is the error that i am facing...
Component Schema=BAM Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@localhost:1521/XE
User=DEV_ORABAM
Password=*******
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='BAM' and version='11.1.1.2.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
Component Schema=SOA Infrastructure
Driver=oracle.jdbc.xa.client.OracleXADataSource
URL=jdbc:oracle:thin:@localhost:1521/XE
User=DEV_SOAINFRA
Password=*******
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.2.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
I googled the error and tried to check whether the Schema_version_registry has any rows are not and initially i don't have any and then I have created table named "Schema_version_registry" and then inserted the values accordingly..
CREATE TABLE schema_version_registry(owner VARCHAR2(30), mr_type VARCHAR2(10), version VARCHAR2(50));
INSERT INTO schema_version_registry(owner, mr_type, version) VALUES ('DEV_SOAINFRA','MDS','11.1.1.2.0');
similarly i did for the DEV_ORABAM but there is no use...........
I am struck at this position can any please help me out........... please..
Thanks in advance
Sorry Guys.. I understood my mistake and change the "mr-type" accordingly... it is successful now..
Thanks if anyone tried to answer it.......
Edited by: user10763276 on Oct 10, 2010 5:11 PMHi can anyone please help me ...all the jdbc component schema is failing for me while creating domain.
please find the log.
Component Schema=SOA Infrastructure
Driver=oracle.jdbc.xa.client.OracleXADataSource
URL=jdbc:oracle:thin:@localhost:1521/XE
User=sys as sysdba
Password=*********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.5.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
Component Schema=User Messaging Service
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@localhost:1521/XE
User=sys as sysdba
Password=*********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
Component Schema=OWSM MDS Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@localhost:1521/XE
User=sys as sysdba
Password=*********
SQL Test=select 1 from schema_version_registry where
owner=(select user from dual) and mr_type='MDS' and
version='11.1.1.5.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
Component Schema=SOA MDS Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@localhost:1521/XE
User=sys as sysdba
Password=*********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.5.0'
CFGFWK-60850: Test Failed!
CFGFWK-60853: A connection was established to the database but no rows were returned from the test SQL statement.
" -
Team,
I am new to Oracle IDM. While I am doing some exercises I am getting the below error message,while I start the OIM server. I am able to run the weblogic server without any issues,
Please check the below stack of error message.
oracle.mds.exception.MDSRuntimeException: MDS-00521: error while reading document /last_update from metadata repository
MDS-00521: error while reading document /last_update from metadata repository
ORA-00942: table or view does not exist
ORA-06512: at "DEVMAR_MDS.MDS_INTERNAL_SHREDDED", line 37
ORA-06512: at "DEVMAR_MDS.MDS_INTERNAL_SHREDDED", line 633
ORA-06512: at line 1
at oracle.mds.internal.mopart.MOPartContentImpl.getInputSource(MOPartContentImpl.java:233)
at oracle.mds.internal.model.BaseDocBuilder.executeInternal(BaseDocBuilder.java:358)
at oracle.mds.internal.model.BaseDocBuilder.execute(BaseDocBuilder.java:180)
at oracle.mds.internal.model.ContentModelPipeline.processPipeline(ContentModelPipeline.java:265)
at oracle.mds.core.MOContent.fetchContent(MOContent.java:512)
at oracle.mds.core.CachedMOContent.fetchContent(CachedMOContent.java:253)
at oracle.mds.core.MOContent.getDocumentFromPipeline(MOContent.java:752)
at oracle.mds.core.MOContent.getDocument(MOContent.java:669)
at oracle.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:2388)
at oracle.mds.core.MetadataObject.getDocument(MetadataObject.java:423)
at oracle.mds.core.MetadataObject.getDocument(MetadataObject.java:370)
at oracle.wsm.repository.mds.Session.getRepositoryInfo(Session.java:1880)
at oracle.wsm.repository.mds.Session.isSeeded(Session.java:1980)
at oracle.wsm.policymanager.bean.UpgradeManagerBean.seedWSMPolicyRepository(UpgradeManagerBean.java:508)
at oracle.wsm.policymanager.web.PolicyManagerValidator.init(PolicyManagerValidator.java:111)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Thanks in advance...
Regards
ArunThis seems issue with MDS schema. You can try two things:
- Restart everything again (database and admin server as well)
- If above doesn't solve you problem. then there must problem while creating schema using RCU. Run RCU utility again, drop and recreate schema and reconfigure OIM.
This is what I suspect. Other experts can jump in with better solution.
regards,
GP -
Save custom prefrence in MDS DB
Hi
I want to save basic user level preferences like show/hide text field, field length etc into MDS repository.
These preferences will basically be a key value pair.
Is there any MDS api which i could make use of to store these values at user level?
Jdev 11.1.1.6
Thanks
Ajay
Edited by: Ajay G M on Nov 20, 2012 7:59 AM
Edited by: Ajay G M on Nov 20, 2012 8:04 AMWe are using MDS for seeded customization. Instead of creating a new schema, we are trying to use MDS schema to store application level user preferences.
I was trying the ADFPreferencesFactory api (http://blog.whitehorses.nl/2012/07/10/saving-user-preferences-in-oracle-webcenter/
), however i am getting the following error.
javax.faces.el.EvaluationException: oracle.adf.share.prefs.PreferencesRuntimeException: oracle.mds.exception.ReadOnlyStoreException: MDS-01273: The operation on the resource /oracle/adf/share/prefs/data/preferences.xml failed because source metadata store mapped to the namespace / BASE DEFAULT is read only
Am i missing something?
Thanks
Ajay
Edited by: Ajay G M on Nov 22, 2012 2:43 AM
Edited by: Ajay G M on Nov 22, 2012 2:43 AM -
I am not able to deploy the artifacts to the SOA server. I am getting the following error messages while deploying for each and every file in the composite:
MDS-00001: exception in Metadata Services layer
MDS-00522: failure to save document /deployed-composites/default/DeadLetterQueueManagementBPEL_rev1.0/xsd/DeadLetterQueue_GenericHumantaskWorkflowTask.xsd to the metadata repository
MDS-00557: Resource /deployed-composites/default/DeadLetterQueueManagementBPEL_rev1.0/xsd/DeadLetterQueue_GenericHumantaskWorkflowTask.xsd is already locked or is being modified.
at oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:790)
at oracle.mds.internal.transfer.InternalMDSTransfer.transfer(InternalMDSTransfer.java:360)
Version of the SOA Suite 11gR1ps3
I also checked the DB MDS Schema for lock but there was no locks on DB schema.
Has anyone seen this?
Regards
vickHello guys,
It's been a while since you've posted this so it was probably resolved a long time ago but as I've stumbled over this a few times during development for the SOA Suite 11 I thought it would be good to put the solution here.
The MDS-00557 is really the ORA-00054 in the underlying Oracle database. It can happen and it doesn't have to be an abnormal situation but in our case it's been constantly blocking some composites from being deployed. The problem seems to be pesimistic locking with a 'select for update' while updating MDS_PATHS on deployment without properly releasing the lock later with commit or rollback due to an intermediate crash of a deployment process (e.g. an unexpected shutdown/network issues etc.).
The solution is to find and kill a session that holds orphaned locks. To find it one can use a variant of (requires a sysdba) a below query:
select *
from
v$session s,
v$process p
where
s.paddr = p.addr
and
s.sid in (select SESSION_ID from v$locked_object);
And to kill it:
alter system kill session 'sid,serial#' immedaite;
Hope it helps.
Regards,
Piotr
Maybe you are looking for
-
I need to create a revision history block for my schematic drawings
I have tried to use the Title Block Editor to make a revision history list block, but I can't get away from the structure of the title block with its forced field types, etc. Is there a way to create a revision history block? Thanks much, Tod Solved!
-
How to refer standard component to create customize component?
Dear experts, Can any one guide me how to refer a standard component to understand the flow of the event of with in the views and there are various methods are present to change properties of a field property. How can we refer the standard code for c
-
HT201303 My Facetime's stopped working. Help...
I've been using FaceTime for a while (successfully), but it then stopped working, saying that my email was in use by another Apple ID. But my Apple ID is my email address, and I've not set up another one. How do find a solution for this?
-
Hi, this is my first post here. I use JWSPD 1.6 to validate my XML scheme and to bind it. I have an application that build XML document in a certain manner, depending on a check on the binded schema. My question is: How can I use external API class f
-
Hi, I am using RFC adapter as the sender communication channel. Can I achieve this using a Business Service or that a Business System is compulsory and needs to be configured in SLD. Please suggest. Thanks. Krishnan