Reg : MDS

HI All ,
I have a requirement to add and delete files from MDS , and with this WLST command i am able to delete the file from MDS
deleteMetadata(application,server,docs) , and also i am able to add the file with this WLST command
importMetadata(application, server, fromLocation, docs="/**") , here with this i am able to add the file but my requirement is to add the file in to specific location like in MDS
i have folder apps and i want to add the file in apps folder , will there be any "toLocation" parameter which can be added in the above command or any other solution .
Regards,
Karthik

In Linux:
1>Go to this location, $AIA_HOME/aia_instances/AIA11gHOME/bin
2>run this command, source aiaenv.sh
3>Now goto this location, $AIA_HOME/aia_instances/$INSTANCE_NAME/config
4>open the file, UpdateMetaDataDP.xml
5>Update Your required files into the server, and place the path of those files in "UpdateMetaDataDP.xml"
<?xml version="1.0" standalone="yes"?>
<DeploymentPlan component="Metadata" version="3.0">
<Configurations>
<UpdateMetadata wlserver="fp" >
<fileset dir="${AIA_HOME}/AIAMetaData">
<include name= "AIAMetadata/**"/> // here, you need to give the path of your files
</fileset>
</UpdateMetadata>
</Configurations>
</DeploymentPlan>
6>After this, goto this path, $AIA_HOME/Infrastructure/Install/config
7>run this command, ant -f UpdateMetaData.xml
that's it, in running , it asks for username and password of your weblogic, then the files are successfully placed in the server

Similar Messages

  • Error while deploying the SAR file to EM Console.... MDS-01330: Failed to l

    Hi Team,
    We configured the HUDSON Tool with BPEL Projects. When I am trying to deploy the BPEL Projects to the SOA SERVER. I am getting an error associated with MDS. We never used MDS for storing teh metaData But still we are getting an error.
    10:35:42 deploy:
    10:35:42 [input] skipping input as property serverURL has already been set.
    10:35:42 [input] skipping input as property sarLocation has already been set.
    10:35:42 [deployComposite] setting user / password ..., user = weblogic
    10:35:42 [deployComposite] Processing sar = D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ/deploy/sca_XYZ_rev1.17.jar
    10:35:42 [deployComposite] Adding sar file - D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ \ deploy \ sca_XYZ_rev1.17.jar
    10:35:42 [deployComposite] Creating HTTP connection to host: 10.246.161.147, port: 8020
    10:35:44 [deployComposite] Received HTTP response from the server, response code = 500
    10:35:44 [deployComposite] ----> response code = 500, error: Error during deployment: Error occured when creating target MDS instance.: Oracle.mds.config.MDSConfigurationException: MDS-01330: Failed to load the configuration document MDS
    10:35:44 [deployComposite] MDS-01329: Unable to load the element "persistence-config"
    10:35:44 [deployComposite] MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 [deployComposite] MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 [deployComposite] weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44 [deployComposite]: MDS-01330: Failed to load configuration document MDS
    10:35:44 [deployComposite] MDS-01329: Unable to load the element "persistence-config"
    10:35:44 [deployComposite] MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 [deployComposite] MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 [deployComposite] weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44 [deployComposite].
    10:35:44
    10:35:44 BUILD FAILED
    10:35:44 D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ \ build.xml: 44: The following error occurred while executing this line:
    10:35:44 D: \ Oracle \ 11gR1ps1 \ jdeveloper \ bin \ ant-sca-deploy.xml: 132: Error during deployment: Error occured when creating target MDS instance.: Oracle.mds.config.MDSConfigurationException: MDS-01330 : Failed to load configuration document MDS
    10:35:44 MDS-01329: Unable to load the element "persistence-config"
    10:35:44 MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44: MDS-01330: Failed to load configuration document MDS
    10:35:44 MDS-01329: Unable to load the element "persistence-config"
    10:35:44 MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    This is not pertaining to a single Project and this was happening with all BPEL Process.
    Please help us since it was blocking us to either delete a SAR file from EM Console as well as Deploy the SAR file to the EM Console.
    Thanks,
    Venugopal Raja

    weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..Check server logs to find out why mds-soa is suspended. Make sure that datasource mds-soa is up and running on SOA servrs before deploying an application.
    Regards,
    Anuj

  • Spotlight mds bringing down system, constantly leaking RAM & disk access

    Spotlight is going rampant here.
    The mds (metadata server, aka Spotlight) process is constantly accessing the disk and writing some data to it, filling it until there is no space left on the device. I cannot find out what file it is writing to. I've tried with fsevener which sadly didn't help.
    mds is also eating up all the CPU cycles it can get leaving my system fully loaded at all times.
    The mds process is also taking up inceasingly huge amounts of memory, causing permanent swapping of memory and bringing the system to a grinding halt. (Cache Hits go down below 1%, About 250.000 pageins happen per minute.) Memory Footprint is going up to several hundred MB or real RAM.
    $ vm_stat
    Mach Virtual Memory Statistics: (page size of 4096 bytes)
    Pages free: 53166.
    Pages active: 275736.
    Pages inactive: 135633.
    Pages wired down: 59698.
    "Translation faults": 10217862.
    Pages copy-on-write: 136166.
    Pages zero filled: 5983710.
    Pages reactivated: 96772.
    Pageins: 1236330.
    Pageouts: 77113.
    Object cache: 24391 hits of 1183451 lookups (2% hit rate)
    (This is 95 minutes after reboot. Only running: Finder, Terminal, LaunchBar, Safari, Mail)
    This bahaviour goes until the disk is full and I get a "low disk space" warning. Then mds crashes, the system frees up the (temporary?) files written by the process and also frees the RAM taken up by it. Resulting in even more swapping, as the system tries to page-in other processes now. Subseqently the system launches a new mds process and the game starts over.
    Things I've tried to remedy:
    Rebuilt spotlight index several times. Including totally deleting the .Spotlight-V100 folder on local volumes. Doesn't help, takes about 16 to 20 hours to rebuild on my machine, so is not a thing one wants to just-try.
    Reinstalled 10.5.5 Combo Update, doesn't help. Privileges are repaired.
    Turn off spotlight completely: Does indeed stop the madness, but now I cannot find anything on my system. So this is not a solution at all.
    I've tried to keep the index small by excluding more and more stuff in the privacy settings of the Spotlight PreferencePane. This doesn't solve the problem either.
    My System:
    PowerBook G4 1.5GHz
    2GB RAM (Maximum) (Tested with ASD ok, Rember ok. Different RAM modules, also ok.)
    160GB HD (5GB free) (SMART ok, Blockscan ok, Filesystem ok, File privileges ok)
    Mac OS X 10.5.5 (9F33) including Security Update 2008/007 (no further updates available)
    Any help or suggestions are welcome. I'm happy to provide any further details you may need.
    Best regards
    Pepi

    J D McIninch wrote:
    This probably isn't Spotlight so much as one of the index plugins (mdimporters). Spotlight itself is very robust, however, all it takes is a single bad indexing plugin. MDS, basically, identifies a file type and loads in a list of plugins that are registered for that file type and executes a routine in the plugin to grab the metadata. If the plugin is improperly written, it can go haywire.
    Thanks for the suggestion, I already had checked that.
    I don't have any custom (read non-apple provided) Spotlight or QuickLook Plug-Ins on my system. So it is unlikely that it is related to a custom .mdimporter Plug-In. (Might be a buggy Apple one going rampant though.)
    I've personally found Spotlight to be quite a solid technology as well. Just the user interface provided by Apple is terrible and especially useless in the Finder (Taking away functionality, or making it horrific to use since Tiger… but that is another story.)
    What was the last application that you installed prior to it going crazy? Perhaps one of the last 2-3...
    Failing that, you can wipeout the metadata database for a Volume like so (from Terminal.app):
    *sudo mdutil -E /Volumes/yourvolumehere*
    ... or '/' in place of '/Volumes/...' for the local disk. You can turn off metadata indexing for a volume entirely like so:
    As I already said, rebuilding the index from scratch doesn't help. Completely deleting it, and rebuilding doesn't remedy as well.
    *sudo lsof | grep mdimporter*
    ... which might help you understand what's being used to index, and this:
    /System/Library/Spotlight/Chat.mdimporter/Contents/MacOS/Chat
    /System/Library/Spotlight/iCal.mdimporter/Contents/MacOS/iCal /System/Library/Spotlight/Mail.mdimporter/Contents/MacOS/Mail
    Nothing fancy here.
    I ran a diff on my daily installation report and it gives me these app, that have been modified (Installed or updated in the last 31 days.)
    /Applications/Address Book.app
    /Applications/Adium.app
    /Applications/AppleScript/Script Editor.app
    /Applications/Automator.app
    /Applications/Carbon Copy Cloner.app
    /Applications/Dashboard.app
    /Applications/Dictionary.app
    /Applications/DVD Player.app
    /Applications/Expose.app
    /Applications/Flip4Mac/WMV Player.app
    /Applications/iCal.app
    /Applications/iChat.app
    /Applications/iPhoto.app
    /Applications/iSync.app
    /Applications/iTunes.app
    /Applications/JollysFastVNC.app
    /Applications/Mail.app
    /Applications/OmniFocus.app
    /Applications/Photo Booth.app
    /Applications/Preview.app
    /Applications/Safari.app
    /Applications/Skitch.app
    /Applications/Spaces.app
    /Applications/StuffIt/StuffIt Expander.app
    /Applications/StuffIt 12/StuffIt Expander.app
    /Applications/Time Machine.app
    /Applications/Utilities/Activity Monitor.app
    /Applications/Utilities/Bluetooth File Exchange.app
    /Applications/Utilities/ColorSync Utility.app
    /Applications/Utilities/Directory Utility.app
    /Applications/Utilities/Directory.app
    /Applications/Utilities/Disk Utility.app
    /Applications/Utilities/Keychain Access.app
    /Applications/Utilities/Migration Assistant.app
    /Applications/Utilities/Network Utility.app
    /Applications/Utilities/Podcast Capture.app
    /Applications/Utilities/RAID Utility.app
    /Applications/Utilities/Remote Install Mac OS X.app
    /Applications/Utilities/Terminal.app
    /Applications/Utilities/VoiceOver Utility.app
    /Applications/Utilities/X11.app
    /System/Library/CoreServices/Apple80211Agent.app
    /System/Library/CoreServices/AppleFileServer.app
    /System/Library/CoreServices/Automator Launcher.app
    /System/Library/CoreServices/Automator Runner.app
    /System/Library/CoreServices/AVRCPAgent.app
    /System/Library/CoreServices/Bluetooth Setup Assistant.app
    /System/Library/CoreServices/BluetoothAudioAgent.app
    /System/Library/CoreServices/BluetoothUIServer.app
    /System/Library/CoreServices/CCacheServer.app
    /System/Library/CoreServices/CoreServicesUIAgent.app
    /System/Library/CoreServices/DiskImageMounter.app
    /System/Library/CoreServices/Dock.app
    /System/Library/CoreServices/File Sync.app
    /System/Library/CoreServices/FileSyncAgent.app
    /System/Library/CoreServices/Finder.app
    /System/Library/CoreServices/Help Viewer.app
    /System/Library/CoreServices/Installer.app
    /System/Library/CoreServices/Kerberos.app
    /System/Library/CoreServices/KerberosAgent.app
    /System/Library/CoreServices/loginwindow.app
    /System/Library/CoreServices/ManagedClient.app
    /System/Library/CoreServices/NetAuthAgent.app
    /System/Library/CoreServices/Network Diagnostics.app
    /System/Library/CoreServices/Network Setup Assistant.app
    /System/Library/CoreServices/OBEXAgent.app
    /System/Library/CoreServices/ODSAgent.app
    /System/Library/CoreServices/PreferenceSyncClient.app
    /System/Library/CoreServices/Problem Reporter.app
    /System/Library/CoreServices/RemoteManagement/ARDAgent.app
    /System/Library/CoreServices/Screen Sharing.app
    /System/Library/CoreServices/Spotlight.app
    /System/Library/CoreServices/SystemUIServer.app
    /System/Library/CoreServices/VerifiedDownloadAgent.app
    As you can see, there is nothing special in there as well. Just Apple Apps, and a few non-suspicious ones from my point of view.
    Tom in London wrote:
    rather than mess around with all of this and maybe fix it until the next Spotlight problem manifests itself, why not just disable Spotlight with Spotless, and use EasyFind instead? Easyfind finds everything, has more options, is reliable, and doesn't cause problems .... and doesn't eat up any space on your hard drive.
    ...and doesn't find what I need. Thanks for the suggestions though. As I said, totally disabling Spotlight is not an option. I'll stay far away from mysterious tools, as I know what I am doing in a Terminal.
    Best regards
    Pepi

  • How do I stop mds from dominating my Macbook Pro

    I use a Macbook pro with a 2.53 ghz i5 and 8 gigs of RAM, running Lion 10.7.2.  Right now the process "mds" is taking up 5.84 gigs of real memory and .6% of CPU, though earlier it was taking up 6 gigs of real memory and 30% CPU.  Mds and spotlight have been slowing it down to a standstill for months.  Initially I was told by an Apple Store Genius to rebuild my spotlight index, which helped for a short while before the computer reverted back to it's normal slowness.  Then I suspected Time Machine's constant backups were the culprit, so two weeks ago I stopped those and started running nightly backups using a program called "Time Machine Editor".  The computer was running great until today.  Most of the suggestions I've seen for this problem are either 1) Reindex spotlight, which I've done multiple times to no avail, or 2) Turn off Spotlight, which is not an option since I spend most of my time in iPhoto, a program for which Spotlight is crucial.  I also don't want to do a full OS reinstallation because it would take too long and I doubt it would be effective in this situation.  I have a feeling that there is one file or set of files that is messing up Spotlight, is there any way I could find these specific files and get them to stop messing everything up?  Or do you have any other suggestions?  Restarts don't help either.

    I use a Macbook pro with a 2.53 ghz i5 and 8 gigs of RAM, running Lion 10.7.2.  Right now the process "mds" is taking up 5.84 gigs of real memory and .6% of CPU, though earlier it was taking up 6 gigs of real memory and 30% CPU.  Mds and spotlight have been slowing it down to a standstill for months.  Initially I was told by an Apple Store Genius to rebuild my spotlight index, which helped for a short while before the computer reverted back to it's normal slowness.  Then I suspected Time Machine's constant backups were the culprit, so two weeks ago I stopped those and started running nightly backups using a program called "Time Machine Editor".  The computer was running great until today.  Most of the suggestions I've seen for this problem are either 1) Reindex spotlight, which I've done multiple times to no avail, or 2) Turn off Spotlight, which is not an option since I spend most of my time in iPhoto, a program for which Spotlight is crucial.  I also don't want to do a full OS reinstallation because it would take too long and I doubt it would be effective in this situation.  I have a feeling that there is one file or set of files that is messing up Spotlight, is there any way I could find these specific files and get them to stop messing everything up?  Or do you have any other suggestions?  Restarts don't help either.

  • Mail can't send email from 123-reg accounts

    Hi all,
    I've got an issue with Mac Mail can’t send email from 123-reg accounts.
    I know there is a lot of articles on simular matters and some I have tried out with no luck, others are just speaking a whole other language.
    Any help would be greatly recived, here's my situation below:
    Running a iMac 2.8GHz Intel Core i5 on OS X 10.8.3
    I’m using 3 accounts on Macs Mail client, one is my iCloud account that is working fine and the other two are my 123-reg accounts that I use for business purposes. I’ve been working like this for a couple of years now and about 6 months ago I upgrade my operating system from Snow Leopard to Mountain Lion.
    2 or 3 months ago I randomly got a problem where I was unable to send any emails from my 123-reg account, I could only receive emails. I checked my settings and they were all correct and unchanged so I attempted to delete them and recreate the account but with no such luck.
    I then decided to check if it was a problem at 123-regs end and attempted to log into web mail. This worked and was able to both send and receive emails so eliminated that possibility.
    I also have these accounts set up on my iPhone, so checked if there was any issues and everything was working fine. I then checked my iphone details and made sure the same was on my desktop and still no such luck.
    I’ve tried out some of the articles I’ve found on here (the ones written in plain English) still no results. I’m not very IT illiterate and just wondered if anyone else has got any ideas, whether there is something specific with 123-reg accounts and Mac Mail?
    Many thanks.

    Thanks
    I just had another hunt around looking at posts and discovered that it was because I recently changed to BT Infinity and they had a block on.
    I didn't even think to question the ISP.
    https://discussions.apple.com/message/21173608#21173608

  • Business rule in MDS 2012 error: A database error has occurred. Contact your system administrator.

    I get the following information in my MDS log as well as the above error message when I execute a business rule that has a condition of AND and an Action of Attribute must be unique in combination with 2 other attributes. 
    I'm running SQL Server 2012 11.0.3000
    MDS database version 11.1.0.0
    Any ideas?
    MDS Error: 0 : SqlException message: A database error has occurred. Contact your system administrator.
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.HandleExceptions(Exception ex)
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteDataSet(String spName, CloseConnectionBehavior closeBehavior, Object[] parameterValues)
       at Microsoft.MasterDataServices.Core.DataAccess.MasterDataAccess.<>c__DisplayClass5.<ValidateEntityMembers>b__4()
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteMethodWithDeadlockProtection(MethodDelegate method)
       at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.ValidateMembers(Int32 versionId, Identifier entityIdentifier, IList`1 memberIds, RequestContext context, OperationResult results)
       at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.Process(ValidationProcessCriteria criteria, Boolean commitVersion, Boolean validateEntityAsync, Boolean returnValidationResults, RequestContext context, OperationResult results)
    SQL Error Debug Info: Number: 208, Message: Invalid object name 'cteDuplicates0a070e37b106b9e3efe35a455076efa7'., Server: SQLRS-01, Proc: udp_SYSTEM_3_38_CHILDATTRIBUTES_ProcessRules, Line: 230
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udp_SYSTEM_3_38_CHILDATTRIBUTES_ProcessRules, Line: 230
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: , Line: 0
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udpBusinessRule_AttributeMemberController, Line: 0
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udpValidateMembers, Line: 0
        DateTime=2013-08-15T13:25:15.6684023Z
    MDS Error: 0 : <ArrayOfError xmlns="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Error>
        <Code>208</Code>
        <Context i:nil="true" />
        <Description>A database error has occurred. Contact your system administrator.</Description>
      </Error>
    </ArrayOfError>
        DateTime=2013-08-15T13:25:15.7152026Z

    OK I bit the bullet and contacted support on this one.
    There is a known issue with MDS 2012 and business rules with a combination of "must be unique" attributes. If you do not list the attributes in the same order that they were created you will get the generic error I cited. At first they told me it must be
    in the same order the attributes are in and that worked on one entity but not the other. The difference was that in the second entity I previously rearranged the attributes in question. Once I changed the order in the business rule to reflect the *original*
    order it worked like a champ.
    Hopefully this helps save someone some time and money.

  • Program _____.MDS not registered..PI 7.1 EHP 1-MDM 7.1 Integration-ABAP API

    Hi,
    I am on the way of integrating ABAP API in PI 7.1 EHP 1 with MDM 7.1
    I installed MDM ABAP API in PI system.
    In transaction MDMAPIC, created MDM Server Connection with default port, DBMS Hosts and MDM Repository.
    After I did the above tasks, I tested the RFC Connection, But its failed with the following error.
    Connection Test MDM_API_GEN_DEFIANCEDEP  
    Connection Type TCP/IP Connection  
    Logon     Connection Error
    Error Details     Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67
    Error Details     ERROR: program DEFIANCEDEP.MDS not registered
    Error Details     LOCATION: SAP-Gateway on host DEFIANCEDPI / sapgw00
    Error Details     DETAIL: TP DEFIANCEDEP.MDS not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 87
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1714
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 711
    Error Details     TIME: Sat Mar 12 13:53:55 2011
    Error Details     VERSION: 2
    Appreciated if replied with the proper resolution at the earliest.
    Thanks in Advance
    Pradeep Shetty

    Hi Kanstantsin Chernichenka,
    Thanks for your reply.
    I tried the given suggestion. And even restarted the PI and MDM system.
    Still, I am facing the same problem.
    My allow.ip file contains
    122.183.187.24;  
    122.183.187.25;
    115.242.211.112;
    115.184.2.47;
    My MDS.ini file contents are
    [MDM Server]
    XCS Ini Version=1
    Accelerator Dir=E:\usr\sap\MDM\MDS02\mdm\accelerators
    Log Dir=E:\usr\sap\MDM\MDS02\log
    Report Dir=E:\usr\sap\MDM\MDS02\mdm\reports
    Archive Dir=E:\usr\sap\MDM\MDS02\mdm\archives
    Distribution Root Dir=E:\usr\sap\MDM\MDS02\mdm\distributions
    Transport Dir=E:\usr\sap\MDM\MDS02\mdm\transport
    Modifications Dir=E:\usr\sap\MDM\MDS02\mdm\modifications
    Lexicon Dir=E:\usr\sap\MDM\MDS02\exe\Lexicons\
    Extra DBConnection Validation=True
    Log SQL Errors=True
    String Resource Dir=E:\usr\sap\MDM\MDS02\exe\LangStrings\
    Stemmer Install Dir=E:\usr\sap\MDM\MDS02\exe
    Wily Instrumentation=False
    Wily Instrumentation Level Threshold=10
    SLD Registration=True
    Skip Unchanged Records=False
    Autostart=0
    MDS Ini Version=1
    RELEASE\UseAssert=True
    Tracing Level=3
    LogViewer Format Logging=False
    LogViewer Format Tracing=False
    Trusted SAP Systems=DPI
    TrustFiles Dir=E:\usr\sap\MDM\MDS02\config
    Max Threads Per Operation=Auto
    Lock Account After Failed Password Attempts=5
    Lock Account Duration=1800
    Minimal Password Length=5
    Password Expiration Days=90
    Password Expiration Warning=7
    Disable Read Access To Corrupt Repositories=False
    MDS Scone=
    Log SQL Modifications=False
    Maximum DBMS Bind Count=512
    Oracle\Dll=OCI.DLL
    Allow Console to Retrieve Files=True
    Oracle Tablespace Files=1
    Default Interface Language Code=eng
    Default Interface Country Code=US
    Client Ping Timeout Minutes=0
    Inactive Client Timeout Minutes=30
    Value Retrieval Threshold=0
    Protect Family Nodes With Locked Data=False
    Number Of Stemmers Per Language=2
    TrexDllPath=
    Import Slice Size=2048
    Bulk Import Silo=True
    Safe Silo Mode=False
    Enable Change Stamp Logging=False
    Always Verify DBMS Connection Before Executing SQL Statements=False
    Disable Read Access To Repositories That Require Restart=False
    Family Retrieval Threshold=30000
    Enable Client Dictionaries=False
    Restricted Url For Client Export=
    Index_Page_Margin=10
    Default Slice Size=500
    Default Slice Wait Time MS=300
    Enable Slicing For Non-Bulk Operations=False
    Multithreaded Matching=True
    SAP RFC Gateways=
    [MDM Server\Databases\MDM_1MDMORCL_5_3_4_3]
    Port=2345
    Login=SYSTEM
    Password+=ES066H2NVHDCFSJ206LJ9I995SLBVSA21OMQPM0
    Stemmer Language=
    Stemmer Variant=
    Valid Keyword Chars=abcdefghijklmnopqrstuvwxyz0123456789
    Max Large Text Length=250000
    Number of Rows Per Fetch=100
    Max Initial MB to Retain=4
    Max Send Failure MB to Retain=4
    Workflow Detailed Report=False
    Mail Server=
    Mail SMTP Timeout=1
    Here I am requesting you to send your valuable feedback at the earliest.
    Thanks
    Pradeep Shetty

  • Issues in persisting dynamic entity and view objects using MDS

    Hi All,
    I'm trying to create dynamic entity and view objects per user session and to persist these objects throughout the session, I'm trying to use MDS configurations(either file or Database) in adf-config.xml.
    I'm facing following two errors while trying to run the app module:
    1. MDS error (MetadataNotFoundException): MDS-00013: no metadata found for metadata object "/model/DynamicEntityGenModuleOperations.xml"
    2. oracle.mds.exception.ReadOnlyStoreException: MDS-01273: The operation on the resource /sessiondef/dynamic/DynamicDeptEntityDef.xml failed because source metadata store mapped to the namespace / DEFAULT is read only.
    I've gone through the following links which talks about the cause of the issue, but still can't figure out the issue in the code or the config file. Please help if, someone has faced a similar issue.
    [http://docs.oracle.com/cd/E28271_01/doc.1111/e25450/mds_trouble.htm#BABIAGBG |http://docs.oracle.com/cd/E28271_01/doc.1111/e25450/mds_trouble.htm#BABIAGBG ]
    [http://docs.oracle.com/cd/E16162_01/core.1112/e22506/chapter_mds_messages.htm|http://docs.oracle.com/cd/E16162_01/core.1112/e22506/chapter_mds_messages.htm]
    Attached is the code for dynamic entity/view object generation and corresponding adf-config.xml used.
    ///////////App Module Implementation Class/////////////////////////
    public class DynamicEntityGenModuleImpl extends ApplicationModuleImpl implements DynamicEntityGenModule {
    private static final String DYNAMIC_DETP_VO_INSTANCE = "DynamicDeptVO";
    * This is the default constructor (do not remove).
    public DynamicEntityGenModuleImpl() {
    public ViewObjectImpl getDepartmentsView1() {
    return (ViewObjectImpl) findViewObject("DynamicDeptVO");
    public void buildDynamicDeptComp() {
    ViewObject internalDynamicVO = findViewObject(DYNAMIC_DETP_VO_INSTANCE);
    if (internalDynamicVO != null) {
    System.out.println("OK VO exists, return Defn- " + internalDynamicVO.getDefFullName());
    return;
    EntityDefImpl deptEntDef = buildDeptEntitySessionDef();
    ViewDefImpl viewDef = buildDeptViewSessionDef(deptEntDef);
    addViewToPdefApplicationModule(viewDef);
    private EntityDefImpl buildDeptEntitySessionDef() {
    try {
    EntityDefImpl entDef = new EntityDefImpl(oracle.jbo.server.EntityDefImpl.DEF_SCOPE_SESSION, "DynamicDeptEntityDef");
    entDef.setFullName(entDef.getBasePackage() + ".dynamic." + entDef.getName());
    entDef.setName(entDef.getName());
    System.out.println("Application Module Path name: " + getDefFullName());
    System.out.println("EntDef :" + entDef.getFileName() + " : " + entDef.getBasePackage() + ".dynamic." + entDef.getName());
    entDef.setAliasName(entDef.getName());
    entDef.setSource("DEPT");
    entDef.setSourceType("table");
    entDef.addAttribute("ID", "ID", Integer.class, true, false, true);
    entDef.addAttribute("Name", "NAME", String.class, false, false, true);
    entDef.addAttribute("Location", "LOCATION", Integer.class, false, false, true);
    entDef.resolveDefObject();
    entDef.registerSessionDefObject();
    entDef.writeXMLContents();
    entDef.saveXMLContents();
    return entDef;
    } catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    return null;
    private ViewDefImpl buildDeptViewSessionDef(EntityDefImpl entityDef) {
    try {
    ViewDefImpl viewDef = new oracle.jbo.server.ViewDefImpl(oracle.jbo.server.ViewDefImpl.DEF_SCOPE_SESSION, "DynamicDeptViewDef");
    viewDef.setFullName(viewDef.getBasePackage() + ".dynamic." + viewDef.getName());
    System.out.println("ViewDef :" + viewDef.getFileName());
    viewDef.setUseGlueCode(false);
    viewDef.setIterMode(RowIterator.ITER_MODE_LAST_PAGE_FULL);
    viewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
    viewDef.setSelectClauseFlags(ViewDefImpl.CLAUSE_GENERATE_RT);
    viewDef.setFromClauseFlags(ViewDefImpl.CLAUSE_GENERATE_RT);
    viewDef.addEntityUsage("DynamicDeptUsage", entityDef.getFullName(), false, false);
    viewDef.addAllEntityAttributes("DynamicDeptUsage");
    viewDef.resolveDefObject();
    viewDef.registerSessionDefObject();
    viewDef.writeXMLContents();
    viewDef.saveXMLContents();
    return viewDef;
    } catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    return null;
    private void addViewToPdefApplicationModule(ViewDefImpl viewDef) {
    oracle.jbo.server.PDefApplicationModule pDefAM = oracle.jbo.server.PDefApplicationModule.findDefObject(getDefFullName());
    if (pDefAM == null) {
    pDefAM = new oracle.jbo.server.PDefApplicationModule();
    pDefAM.setFullName(getDefFullName());
    pDefAM.setEditable(true);
    pDefAM.createViewObject(DYNAMIC_DETP_VO_INSTANCE, viewDef.getFullName());
    pDefAM.applyPersonalization(this);
    pDefAM.writeXMLContents();
    pDefAM.saveXMLContents();
    ////////adf-config.xml//////////////////////
    <?xml version="1.0" encoding="windows-1252" ?>
    <adf-config xmlns="http://xmlns.oracle.com/adf/config" xmlns:config="http://xmlns.oracle.com/bc4j/configuration" xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
    xmlns:sec="http://xmlns.oracle.com/adf/security/config">
    <adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config">
    <defaults useBindVarsForViewCriteriaLiterals="true"/>
    <startup>
    <amconfig-overrides>
    <config:Database jbo.locking.mode="optimistic"/>
    </amconfig-overrides>
    </startup>
    </adf-adfm-config>
    <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
    <adf-property name="adfAppUID" value="TestDynamicEC-8827"/>
    </adf:adf-properties-child>
    <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>
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="mdsRepos" path="/sessiondef/"/>
    <namespace path="/model/" metadata-store-usage="mdsRepos"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage default-cust-store="true" deploy-target="true" id="mdsRepos">
    <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
    <property name="metadata-path" value="/tmp"/>
    <!-- <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
    <property name="jndi-datasource" value="jdbc/TestDynamicEC"/>
    <property name="repository-name" value="TestDynamicEC"/>
    <property name="jdbc-userid" value="adfmay28"/>
    <property name="jdbc-password" value="adfmay28"/>
    <property name="jdbc-url" value="jdbc:oracle:thin:@localhost:1521:XE"/>-->
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </adf-config>
    //////////////////////////////////////////////////////////////////////////////////////////////////////////

    Hi Frank,
    I m trying to save entity and view object xml by calling writeXMLContents() and saveXMLContents() so that these objects can be retrieved using the xmls later on.
    These methods internally use MDS configuration in adf-config.xml, which is creating the issue.
    Please share your thoughts on resolving this or if, there is any other way of creating dynamic entity/view objects for db tables created at runtime.
    Nik

  • Error creating MDS session

    Hi,
    I am working with embedded oc4j and I am using form based authentication.The application also has a connection to Oracle database.The Jdev version I am using is Build JDEVADF_MAIN.M1_GENERIC_080131.1115.4839.The application gets deployed on embedded oc4j but when i try to login, I get the following exception.
    WARNING: Error creating MDS session
    oracle.adf.share.ADFShareException: Error creating MDS session
    at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:43)
    at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:750)
    at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:59)
    at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:188)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:70)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:226)
    at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1391)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:743)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:810)
    at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:347)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:136)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:176)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.adf.share.ADFShareException: getMDSInstance error
    at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:89)
    at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:99)
    at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:513)
    at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:36)
    ... 43 more
    Caused by: oracle.mds.exception.MDSRuntimeException: schema_reference.4: Failed to read schema document 'code-source:/C:/jdev latest sanity/JDEVADF_MAIN.M1_GENERIC_080131.1115.4839/mds/lib/mdsrt.jar!/oracle/mds/xsd/mdsConfig.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at oracle.mds.internal.config.ConfigurationUtils.setSchemaOnUnmarshaller(ConfigurationUtils.java:495)
    at oracle.mds.internal.config.ConfigurationUtils.getBeanFromElement(ConfigurationUtils.java:159)
    at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:795)
    at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:359)
    at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:66)
    ... 46 more
    Caused by: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'code-source:/C:/jdev latest sanity/JDEVADF_MAIN.M1_GENERIC_080131.1115.4839/mds/lib/mdsrt.jar!/oracle/mds/xsd/mdsConfig.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(XSDHandler.java:2245)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchema(XSDHandler.java:1590)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:438)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:556)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:523)
    at com.sun.org.apache.xerces.internal.jaxp.validation.xs.SchemaFactoryImpl.newSchema(SchemaFactoryImpl.java:206)
    at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:489)
    at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:521)
    at oracle.mds.internal.config.ConfigurationUtils.setSchemaOnUnmarshaller(ConfigurationUtils.java:491)
    ... 55 more
    Mar 12, 2008 4:39:29 PM com.evermind.server.ServerBase log
    WARNING: OracleIRM-IRMWebV1.1-webapp: Servlet error
    oracle.security.jazn.JAZNRuntimeException: Error creating MDS session
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:480)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.adf.share.ADFShareException: Error creating MDS session
    at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:43)
    at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:750)
    at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:59)
    at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:188)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:70)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:226)
    at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1391)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:743)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:810)
    at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:347)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:136)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:176)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
    ... 16 more
    Caused by: oracle.adf.share.ADFShareException: getMDSInstance error
    at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:89)
    at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:99)
    at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:513)
    at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:36)
    ... 43 more
    Caused by: oracle.mds.exception.MDSRuntimeException: schema_reference.4: Failed to read schema document 'code-source:/C:/jdev latest sanity/JDEVADF_MAIN.M1_GENERIC_080131.1115.4839/mds/lib/mdsrt.jar!/oracle/mds/xsd/mdsConfig.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at oracle.mds.internal.config.ConfigurationUtils.setSchemaOnUnmarshaller(ConfigurationUtils.java:495)
    at oracle.mds.internal.config.ConfigurationUtils.getBeanFromElement(ConfigurationUtils.java:159)
    at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:795)
    at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:359)
    at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:66)
    ... 46 more
    Caused by: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'code-source:/C:/jdev latest sanity/JDEVADF_MAIN.M1_GENERIC_080131.1115.4839/mds/lib/mdsrt.jar!/oracle/mds/xsd/mdsConfig.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(XSDHandler.java:2245)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchema(XSDHandler.java:1590)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:438)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:556)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:523)
    at com.sun.org.apache.xerces.internal.jaxp.validation.xs.SchemaFactoryImpl.newSchema(SchemaFactoryImpl.java:206)
    at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:489)
    at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:521)
    at oracle.mds.internal.config.ConfigurationUtils.setSchemaOnUnmarshaller(ConfigurationUtils.java:491)
    ... 55 more
    Let me know if somebody has an idea of this .

    This is because of space character is jdev location i.e C:/jdev latest sanity/. Change the location of jdev to another directory which doesn't contain spaces and try again.

  • Reg: Message and BPM

    Hi
    I'm having a scenario where i use a JDBC adapter to extract data from a DB. As a result of the query say, 10 rows are returned as message to XI server. I have a transformation (BPM) set and the receiver(target system) is a file. When i open the file to see its contents i can see only the first record been transfered. The mapping part used for the transformation node is having IF condition. But all the fetched records satisfies the conditions in the mapping.
    Pls let me know the corrective step.
    reg: Prabhu

    Hi,
    1)Check the input XML i.e all 10 records are coming into XI . This you can check in SXMB_MONI
    2) Then you can test the mapping in the integration Reposiotry .. So now you can get if any mapping problem. For this , check is the occurence of target strcuture is 1..n or 0.n
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    3) If mapping is correct , then check the RWB->Message Monitoring->Message Display Tool and check the payload.
    4) If this is correct, then check the File COntent Conversion of the Receiver File Adapter.
    Hope this helps,
    Regards,
    Moorthy

  • Unable to load XSD from the MDS

    Hi,
    We are undergoing this problem for the last 2 weeks. We are working with BPEL processes which refer the schema from MDS. Everything is working fine in dev which is a single server, but as soon as we moved the code to a clustered test environment, the interfaces are failing to load the XSDs often and they are working only intermittently. When they fail, we receive the following error:
    +<fault>+
    +<bpelFault>+
    +<faultType>0</faultType>+
    +<bindingFault>+
    +<part name="summary">+
    +<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.ftp.outbound.FTPInteractionSpec due to: XSD Resolution problem. XSD Resolution problem. Unable to load Translation schemas from for -Namespace- due to: Unable to lookup schema for '-Namespace- ' Please make sure all used XML schemas are imported/included correctly. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>+
    +</part>+
    +<part name="detail">+
    +<detail>Connection reset</detail>+
    +</part>+
    +<part name="code">+
    +<code>null</code>+
    +</part>+
    +</bindingFault>+
    +</bpelFault>+
    +</fault>+
    The server logs are shown:
    +<May 2, 2013 9:18:32 AM GMT+00:00> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> InterfaceName:AdapterName [ Write_ptt::Write(body) ] Could not invoke operation 'Write' against the 'File Adapter' due to:+
    BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Resolution problem.
    XSD Resolution problem.
    Unable to load Translation schemas from  for -Namespace- due to: Unable to lookup schema for '-Namespace-'
    Please make sure all used XML schemas are imported/included correctly.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +>+
    +<May 2, 2013 9:18:32 AM GMT+00:00> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> [default/InterfaceName!3.0*soa_7aa1ce63-47ca-49af-a447-b231b8cde31c.AdapterName]:Write One-way operation Write() failed>+
    +<May 2, 2013 9:18:32 AM GMT+00:00> <Error> <oracle.soa.bpel.engine.ws> <BEA-000000> <got FabricInvocationException+
    +java.net.SocketException: Connection reset+
    +at java.net.SocketInputStream.read(SocketInputStream.java:168)+
    +at weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:159)+
    +at java.io.InputStream.read(InputStream.java:82)+
    +at com.certicom.tls.record.ReadHandler.readFragment(Unknown Source)+
    +at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)+
    +...+
    We have never had this problem till moving to the clustered environment and all the XSDs in the MDS are configured properly to our knowledge. Any helpful pointers to the problem are very much appreciated.
    Regards,
    vu2jerry
    Edited by: 989720 on May 2, 2013 4:57 AM

    We have a sev-1 SR raised with Oracle and the issue hasn't been found yet. I had no idea it was a known issue as I couldn't find anything related to these on the web.
    By the way it isn't a problem with the File and FTP adapters alone. Even the validate activity is failing to load the XSDs more often than not with the same error. Has anyone else faced the same issue?
    Regards,
    vu2jerry

  • Reg: How to Stop Polling of JDBC Adapter without Scheduling the adapter

    Dear Gurus,
    Here I am having one requirement. My clients wants to send data from JDBC adapter (ORcale System table) to R3 system via RFC.
    His Requirement::
    1. He is not telling the time of data flow from Oracle server so that based on that we can schedule the adapter in the Communication Channel monitoring (Availablitiy Time Planning) or Else we can Schedule by deciding the setting of the polling interval time.
    2. He is telling that When ever he waants to send the data he will place one dummy file in the File Adapter FTP location so that it will became an Indication for u to poll the jdbc adapter and to transfer the data to R3.
    3. Untill he keeps the file or gives indication he doesn;t want to communicate with Oracle server due to some security and it s a most important data base he doesn't want to disturb that Oracle Server as so many business are running  on that.....
    We Proposed::
    1. Atleast you need to tell the scheduling time or poll interval time so that we can schedule our adapter.
    but he s not accepting for this
    2. Atleast U need to give access for Data base to enter one more extra field like STATUS CODE so that we will add one number and we keep on Update in the Update table and based on that Update table statement it will poll.
    but he s not even accepting for this
    3. Finally we prposed that to create another table in the Oracle SYstem as Dulplicate Table which is similar to Standard Orginal table when ever he wants to pick the data please keep that data in this Duplicate TABle so that JDBC adapter will pick the data from thsi TABLE instead of picking the data from that standard table so that it will not effect any standard table data in the table.
    but he s not even accepting for this
    We have done some R & D:::
    1. WE approached even through BPM and via switch conditions is one scenario
       FILE RECEIVE >SWITCH CONDITION> RECEIVE AND SEND or else EXIT
    2. Using correlation in anotehr scenario means correlating File adapter and JDBC and based on one dynamica value it will goes to SEND STEP ( RECE IVE --> RECEIVE --> SEND STEPS )
    Even though we know this...concept that...we jsut tried::
    In BPM we can control the flow in XI 3.0 but we cannot Stop the Polling of JDBC adapter at backend because one the data comes from FILE adapter it will keep on HOLD untill it receives the JDBC from Oracle then based on the condition or Correlation it will goes futher SEND step means after that file adapter is picking file or not ...what ever it may be JDBC will polls at backend and brings that data to BPM"
    Hence sugest me How to Stop Polling of JDBC Adapter without Scheduling the adapter or else using STATUS CODE Update statements in JDBC Tables 
    Regards:
    Amar Srinivas Eli

    Hi! All,
    Finally I decided to do the scenario in two steps:
    1: FILE REQ --> JDBC REQ -->JDBC RES --> FILE RECV
    2: FILE RECV --> RFC
    But I am getting issue while doing first scenario
    Desgn :
    I have created 2 Synchronous interfaces :
    1) FILE 2 JDBC REQ
    In this a) out put message is FILE  Req
              b) Input msage:; FILE RES
    2} JDBC2FILE RECV
            a) Output mesage;; JDBC REQ
            b) Input Msge :: JDBC Response
    Mappings:
    1) File REQ-->JDBC REQ
    2) JDBC RES-->FILE RES
    Interface mappings:
    1: FILE 2 JDBC REQ--> JDBC 2 FLE RECV
    CONFIGURATION ::
    1: One Seder File CC
    2: Two reciever CC's one is for JDBC RECEIVER and other s FILE RECEIVER
    3; One Sender Agreement
    4: 2 Recver agreements
    5: One Interface Determination and
    6: One RECCV Determination
    My Question;;
    1. First let confirm whether my development steps are right or not ?
    2: Another thing s I am not sure reg Configuration Steps means
    whetehr one interface determination and one Receiver Determinations are required or not as these are synchronous Interfaces
    3: main Issue is::::
    If my scenario s FILE2RFC2FILE then I will get RFC response automatically but here issue is this is JDBC
    My reqquirement is By sending one Field from fILE to JDBC REQ it needs to send entire TAbLE records as a Response to file as XML
    without having Sender JDBC how can I send the JDBC Res to FILE and If that is the case then again JDBC adapter is polling which is contradict to the client requuirement which i explained above.
    pleas suggest me the Detailed steps mainly Colloboration agreements and logical routings and
    also explain in detail if i can  go for BPM
    Also give cleear blogs but before giving make sure that it contains detailed screen shots because aIready gone thorugh
    Scenario File-JDBC-RFC
    File<-->JDBC Sync coomunication.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)
    /people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
    Regards::
    Amar Srinivas Eli

  • Excise Reg at Depot

    Hi all,
    We have Excise REg no for Plant. But plant does not have Excise reg no.
    Material is shipped to Depot with excise invoice. What is the procedure at depot for GR.
    Do i need to capture the excise invoice?. From Depot, there is no excise invoice generated for customers.
    thanks.

    Hi,
    Refer following link;
    [J95 - Sales at Depot|http://help.sap.com/bp_bblibrary/500/HTML/J95_SaleDepot_EN_IN.htm]

  • How to set reg.cgi for VideoPhoneLabs

    i start with stratus .i try set it to work with my dedicated apache server and sql but have no clue how to do it or where to put this file on my server.
    i realy have probleme with reg.cgi
    for now i did www/cgi-bin/reg.cgi and in the xml i set my websiteurl = "http://88..../cgi-bin/"
    also how to complete reg.cgi for have it to talk with my db ?
    here the reg.cgi file.
    help please ...
    #! /usr/bin/python --
    reg.cgi by Michael Thornburgh.
    This file is in the public domain.
    IMPORTANT: This script is for illustrative purposes only. It does
    not have user authentication or other access control measures that
    a real production service would have.
    This script should be placed in the cgi-bin location according to
    your web server installation. The database is an SQLite3 database.
    Edit the location of the database in variable "dbFile".
    Create it with the following schema:
    .schema
    CREATE TABLE registrations (
        m_username VARCHAR COLLATE NOCASE,
        m_identity VARCHAR,
        m_updatetime DATETIME,
        PRIMARY KEY (m_username)
    CREATE INDEX registrations_updatetime ON registrations (m_updatetime ASC);
    # CHANGE THIS
    dbFile = '.../registrations.db'
    import cgi
    import sqlite3
    import xml.sax.saxutils
    query = cgi.parse()
    db = sqlite3.connect(dbFile)
    user = query.get('username', [None])[0]
    identity = query.get('identity', [None])[0]
    friends = query.get('friends', [])
    print 'Content-type: text/plain\n\n<?xml version="1.0" encoding="utf-8"?>\n<result>'
    if user:
        try:
            c = db.cursor()
            c.execute("insert or replace into registrations values (?, ?, datetime('now'))", (user, identity))
            print '\t<update>true</update>'
        except:
            print '\t<update>false</update>'
    for f in friends:
        print "\t<friend>\n\t\t<user>%s</user>" % (xml.sax.saxutils.escape(f), )
        c = db.cursor()
        c.execute("select m_username, m_identity from registrations where m_username = ? and m_updatetime > datetime('now', '-1 hour')", (f, ))
        for result in c.fetchall():
            eachIdent = result[1]
            if not eachIdent:
                eachIdent = ""
            print "\t\t<identity>%s</identity>" % (xml.sax.saxutils.escape(eachIdent), )
            if f != result[0]:
                print "\t\t<registered>%s</registered>" % (xml.sax.saxutils.escape(result[0]), )
        print "\t</friend>"
    db.commit()
    print "</result>"

    Persistent binding is effectively provided by STMS (MPxIO) - is there anything in particular you're wanting to do that STMS doesn't provide?

  • Unable to open OAF page oracle.adf.mds.MetadataDefException:

    I am unable to open a OAF OAF page. The error message that i am getting is
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /bob/oracle/apps/ak/pmrtest/webui/PMRTestPG-ROHR-MRA=36105=3014=Y=Y, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    I tried running the below
    begin
    jdr_utils.printdocument(<PageName>);
    end;
    It throws and error "Could not find document <Pagename>"
    Can anyone pls help resolve this issue
    Thanks

    Hi Gyan,
    When I printdocument for that region, I see the xxpositionname1 as the messagestyledtext item.
    <insert before="ManagerColumn">
    <oa:column id="xxPositionName" adminCustomizable="true" bandingShade="none" cellNoWrapFormat="false" columnDataFormat="textFormat" displayGrid="true" rendered="true" scope="." totalValue="false" userCustomizable="false"
    xmlns:oa="http://xmlns.oracle.com/oa">
    <ui:columnHeader xmlns:ui="http://xmlns.oracle.com/uix/ui">
    <oa:sortableHeader id="xxPositionNameSH" adminCustomizable="true" cellNoWrapFormat="false" initSortSeq="none" prompt="Position" rendered="true" required="no" scope="." sortState="yes" userCustomizable="false"/>
    </ui:columnHeader>
    <ui:contents xmlns:ui="http://xmlns.oracle.com/uix/ui">
    <oa:messageStyledText id="xxPositionName1" adminCustomizable="true" cellNoWrapFormat="false" dataType="VARCHAR2" initSortSeq="none" prompt="Position" queryable="false" rendered="true" required="no" scope="."
    selectiveSearchCriteria="false" serverUnvalidated="false" sortState="no" tipType="none" totalValue="false" userCustomizable="false" vAlign="middle" viewAttr="Name1" viewName="IrcOfferSearchVO" warnAboutChanges="true"/>
    </ui:contents>
    </oa:column>
    </insert>
    Thanks,
    HC

Maybe you are looking for