MDS NameError: sca_removeSharedData

Hi all

I am trying to delete an MDS file using sca_removeSharedData offline and ending with the error below.

Traceback (innermost last):
Folder "system <>", line 1, in?
NameError: sca_removeSharedData

I run the wslt.sh file to * / u01/app/soadev/product/fmw11/middleware/oracle_common/common/bin * and Donna below command

sca_removeSharedData ('http://Hostname:8001', ' apps/MDS/XSD').


8001 - port of SOA
Apps/MDS/XSD - my MDS file structure.

could some time please let me know where I was wrong.

Even I try this way */u01/app/soadev/product/fmw11/middleware/wlserver_10.3/common/bin* wslt.sh, but ended up with the same problem


Thanks in advance.


Tarak.

The function offline sca_removeSharedData() deletes the folders under /apps
The deleteMetadata() of the in-line function deletes files subfolders.

In order to delete the root folders, you can connect to the MDS schema and in MDS_PATHS find your path to the folder "/ xsd' and remove this entry in this table."
Then refresh your MDS to check if the record still available or not.
I hope that's not there.

It is considered good etiquette to the answerers rewards with points (as "useful" - 5 pts - or 'correct' - 10pts).

Thank you
Vijay

Tags: Fusion Middleware

Similar Questions

  • How to remove the folder structure in MDS

    Hello

    I want to delete folders, including MDS files. It's my folder structure in SDM:

    1 apps
    1.1 com
    1.1.1 wsdl
    1.1.1.1.
    1.2 xsd
    1.2.1...
    deployed composite 2
    3 soa

    'apps', "deployed-composites" and "soa" are there in the first place. "com" and "xsd" are files that were created when I deployed my mds - pot. Now, I want to remove 'com' and 'xsd', including all of their content.

    I found two wlst commands:

    -deleteMetadata: "removes the documents selected from the filing of the application. This seems to mean that it can remove only the files, not folders. At least, that's all I can do when executing the command.

    -sca_removeSharedData: "deletes a top-level shared data folder. But what is a 'higher level of shared data folder? I tried to write:
    sca_removeSharedData ('http://k75830:21840', 'xsd', 'weblogic', 'weblogic11g')

    But I get the error:
    SEVERE: Problem by sending the HTTP request on the server. Please make sure that the server is in place or check the code of standard HTTP response for 404
    -> response code = 404, error: null

    "Xsd" is not a top-level folder, or is there another error?

    In this blog, they suggest that I should be able to remove a folder under /apps:
    http://Victor-Jan.blogspot.se/2012_03_25_archive.html

    But here, they seem to be to remove the entire /apps folder:
    http://yatanveersingh.blogspot.se/2011/07/MDS-implementation-in-Oracle-SOA-11g.html

    Because /apps seems to be an important issue where all deployed MD files end by that I'm not too keen on removing. Someone know how to delete folders in SDM or is this not possible?

    I am using SOA Suite 11.1.1.5.

    Thanks in advance!
    Kerstin

    Hello, Kerstin.

    If you try to use Admin port, try pointing the URL on your SOA server port instead.

    sca_removeSharedData ('http://k75830 :* < SOA_Server_Port > * ', 'xsd', 'weblogic', 'weblogic11g')

    Kind regards
    Neeraj sehgal

  • WLST NameError

    Why is this NameError happening in WLST online... CANY help please...


    WLS: / soa_domain/serverConfig > exportMetadata (= 'soa-infra' application, server is 'soa_server1', toLocation = would be):
    MDS, docs ='/ soa/shared/rules / *')
    Traceback (innermost last):
    Folder "system <>", line 1, in?
    NameError: exportMetadata


    Thank you.

    Run wlst.cmd from
    C:\Oracle1\Middleware\Oracle_SOA1\common\bin

    It is written in the manual that you must use the correct version of WLST...: o)

    What I get is:

    WLS: / offline > exportMetadata (server = 'AdminServer' = 'soa-infra', application, toLoca
    tion ='C: / MDS, docs ='/ soa/shared/rules / *')
    Traceback (innermost last):
    File "", line 1, in? ""
    File "C:\Oracle1\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 134.
    in exportMetadata
    File "C:\Oracle1\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 558.
    in executeAppRuntimeMBeanOperation
    File "C:\Oracle1\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 513.
    in isConnectedToWLS
    UserWarning: SDM-91005: no to a Weblogic Server connection is established. The operation
    + "exportMetadata" can be run only in online mode. +
    WLS: / offline > exit()

    After that, I don't
    Connect ("weblogic", "welcome1 ',' t3: / / localhost:7001'" ")
    exportMetadata(application='soa-infra',server='AdminServer',toLocation='C:/MDS',docs='/soa/shared/rules/**')

    and it works like magic: o)

    Performing operation: exportMetadata.

    Operation "exportMetadata" completed. Summary of the 'exportMetadata' operation is:
    List of documents transferred successfully:

    +/SOA/shared/rules/BpelProcess.xsd+
    +/SOA/shared/rules/DecisionService.xsd+
    +/SOA/shared/rules/DecisionServiceMessages.xsd+
    +/SOA/shared/rules/common.xsd+
    +/SOA/shared/rules/RPI.xsd+

    + 5 documents successfully transferred. +

  • Deletion of objects of MDS

    Hello.

    I want to know if and how we can delete objects already loaded in the MDS.

    The context is old or obsolete items that are not used any meeting more but it is still in the MDS.


    Thank you and best regards,
    Jyotideep Singh (JD)

    Ad 2: I was not right to say that sca_removeSharedData also supports simple files, it only works on files as watching more closely the documentation says (the second parameter is a folder, not a 'model'). To delete single files from MDS you can use deleteMetadata as described here: http://download.oracle.com/docs/cd/E14571_01/web.1111/e13813/custom_mds.htm#WLSTC1650. Note that deleteMetadata really only deletes one or more files, but leaves the structure of folders intact.

    Ad 3: it's just due to typo I introduced in the other post. It is sca_removeSharedData, note the letter lowercase "r". In addition, your reference to AIA_HOME wrong here, the correct statement would rather sca_removeSharedData ("http: / /:',' AIAMetaData/AIAComponents/ApplicationConnectorServiceLibrary/SAP/V1/ProviderABCS '") to get rid of everything.

    Gerhard

  • MDS process

    What is the process of mds? Fans of my MBP running quite often so I kept the activity monitor to see what is happening. Flash Player is often the cause - surprise, surprise - but I also noticed that SDM is just as likely to appear as the CPU hog, pointing up in the 1990s for the percentage of CPU for several minutes at a time.

    Process of MDS (Metadata Server) is a projector part bones.

    Here you can find more information about MDS:

    http://osxdaily.com/2010/08/05/MDS-Mac/

    MDS process is out of control

  • What is mds

    Suddenly, I noticed that my MacBook Pro felt very hot. I open the activity monitor and mds was using 99% of resources. It ran for four hours and then abruptly stopped. The keyboard and the underside of the MacBook Pro are now cooling. I could hear the fan turning, but it is not loud. I had to put my ear to the event to hear it.  The Mac was also very lag while it worked. Security application? I have almost all the browsers on Mac. I use my iPad most of the time, but I was looking for the numberic keyboard bluetooth today online and using Evite.  I installed Flash Player, but it is configured to ask who I said for the most part No.

    It indexes the files as part of the built-in Spotlight function.

    (136919)

  • CISCO MDS switches

    Did somebody switches Cisco MDS to listen without having to continually restart the cimserver? If so what software version are you running?

    The new software is expected to have supported this - version 1.2.0.
    Please let me know if he is doing if we can solve this.
    Mike

  • Simulator of MDS and Blackberry 8110

    I have a problem with the simulator of MDS and Blackberry 8110.

    I just test my application because when I try to connect to the internet using mds - cs, the web browser (or my request) my 8110 Simulator gives me the error "unable to connect to the selected Mobile Data Service, please try again later." ...".

    The same application with another Simulator (i.e. Blackberry 8900) works without a problem, and I can surf the web with the built-in web browser.

    I'm running on Windows Seven x 86

    Java 1.6.0 update 20

    BlackBerry JDE 5.0.0

    8110 Simulator is 4.5.0.81.

    (I'm sorry for my English )

    Solved!

    I used a generic Simulator. Installed by Vodafone one, and now I can surf the web from my blackberry Simulator.

    Note: I noticed that with Blackberry 8900 generic Simulator I can surf the internet with the active wi - fi network.

  • Push by MDS Simulator and Win7

    Hi all

    I have a new computer with Win7 Professional installed and I had trouble getting the BlackBerry Simulator to recognize the push in my application.  I also have my old WinXP computer that gets the push with my BlackBerry application "under development".  That is, it works on Windows XP but not on Win7.

    I use Eclipse Galileo with the BlackBerry plug-in.  Develop with BlackBerry JRE v4.6.0.23 on BlackBerry 9000 Simulator.  The MDS Simulator is installed in C:\BlackBerry Email and simulators of Services SDM 4.1.4 avoid C:\Program Files security restrictions.

    Configuration of the Simulator in the 'rimpublic.property' file is to remove the # from the line 'push.application.reliable.ports = 100' at the bottom of the file.  No other changes are made.  The MDS web server started on port 8080 (default).

    On the Windows XP computer, I start the MDS Simulator, then I start my Eclipse application and the BlackBerry Simulator starts.  I'll leave my app and open the web browser and launch a Web site (any) and I'll see the work of MDS Simulator.  That is it will be showing the entries in the window back of MDS.  It's what I expect. Then I run my application and send the thrust and everything works fine.

    On the Win7 computer, I use the same version of BlackBerry Simulator 4.1.4 the same version of Eclipse and the same version of the BlackBerry Simulator.  When I access a Web site on the BlackBerry, nothing happens in the MDS Simulator Dos window.  I get a web page, but I think something is happening in the MDS Simulator Dos window.

    That's where the problem lies, in my opinion, but I'm not sure.  Push sample instructions say to launch Web site on the BlackBerry browser to get the push to work properly.  Is this true or am I wrong interpret this?

    Also on the Win7 machine, even if the BlackBerry browser does not have it that I'm waiting on the MDS Simulator, if I push my data in any case, I see the MDS recognizing thrust.

    Long story short, my BlackBerry application will not recognize the thrust of my request to push .net on Win7, but works fine on Windows XP.

    I've been watching for the last 2 days and have largely done a search, but there is not much info on this type of problem.

    Any suggestions / help would be greatly appreciated?

    Here is some information displayed in the window back Simulator MDS after I send my push.

    <2010-07-16 09:11:26.080 CDT>:[127]:::
    <2010-07-16 09:11:26.081 CDT>:[128]:::
    <2010-07-16 09:11:26.082 CDT>:[129]:::
    <2010-07-16 09:11:26.082 CDT>:[130]:::
    <2010-07-16 09:11:26.083 CDT>:[131]:::
    <2010-07-16 09:11:26.084 CDT>:[132]:::application/vnd.rim.html>
    <2010-07-16 09:11:26.084 CDT>:[133]:::application/vnd.rim.html>
    <2010-07-16 09:11:26.084 CDT>:[134]:::application/vnd.rim.html>
    <2010-07-16 09:11:26.084 CDT>:[135]:::application/vnd.rim.html>
    <2010-07-16 09:11:26.088 CDT>:[136]:::text/css>
    <2010-07-16 09:11:26.090 CDT>:[137]:::application/vnd.wap.multipart.related>
    
    <2010-07-16 09:11:26.091 CDT>:[138]:::application/vnd.wap.multipart.alte
    rnative>
    <2010-07-16 09:11:26.091 CDT>:[139]:::application/vnd.wap.multipart.mixed>
    <2010-07-16 09:11:26.094 CDT>:[140]:::application/vnd.wap.wmlc>
    <2010-07-16 09:11:26.095 CDT>:[141]:::
    <2010-07-16 09:11:26.095 CDT>:[141]:::
    <2010-07-16 09:11:26.095 CDT>:[141]:::
    <2010-07-16 09:11:26.095 CDT>:[141]:::
    <2010-07-16 09:11:26.095 CDT>:[141]:::
    <2010-07-16 09:11:26.097 CDT>:[142]:::
    <2010-07-16 09:11:26.105 CDT>:[147]:::
    <2010-07-16 09:11:26.126 CDT>:[152]:::
    <2010-07-16 09:11:26.146 CDT>:[157]:::
    <2010-07-16 09:11:26.166 CDT>:[162]:::
    

    Closure of this thread that I started another one who works on the httppushdemo getting work with Win7.  See here http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/MDS-Simulator-and-Win7/td-p/54780...

  • Push notification to groups of BES to MDS

    Hello

    Ich have a small question. My Application sends notifications of type push to one or several groups of BES.

    This works well as long as the name of the Group has no spaces in the name as 'Test Group'.

    I have test it with the following to the URL:

    http://10.40.0.25:8080 / push? DESTINATION = $TEST & PORT = 100 & REQUESTURI = /.
    Return value: 505 / HTTP Version not supported

    http://10.40.0.25:8080/push?destination=$test%20Group&port=100&REQUESTURI=/
    Return value: 403 / forbidden

    Can someone help me?

    Thanks in advance

    Benjamin

    Hi Benjamin,

    You're targeting 20,000 users in a unique environment? Are all the user managed from a simple LOW?

    A Central push server can be set up to reach all users of an MDS instance, but 20 000 growth would cause stress. I suggest that additional tests and see how performance is affected before trying with the full 20,000.

  • MDS simulators - where are you?

    Hello world

    I found BB simulators at http://us.blackberry.com/sites/developers/resources/simulators.html

    but can't seem to find the MDS Simulator downloads. I did google it and found a download page, but am surprised that it is not bound on the developer site. Am I missing something?

    Alon

    Pusher can be tested in Wellington today. If you need the MDS Simulator, it comes with the SDK WebWorks for smartphones:

    ex C:\Program Files (x 86) \Research in Motion\BlackBerry 2.3.0.9\mds SDK WebWorks

  • Registration of a client device in a java application with BES/MDS

    Hi all

    I put this thread here that my application is a java application, but it could have also listed under the section development push as well.

    I have a part of my application that needs to connect to the BES to a certain company to receive push messages. The app works fine establishment of a listener and receiving thrusts by the MDS Simulator, and I also added more code to register the device with the BIS (BPA) from BIS example of Simon Hain.

    Initially I thought that the he had to register with the BES, just like how register us with the BIS except change some settings, as do not add an app ID etc. I have created a basic application of the Z10 push and remember that coding is the same for the BIS and BES except that the application ID and address BIS have been left blank. But now, after some research, I think with Blackberry 6/7, to onboard with a BES connection (unless a middleware program requires us to send some data onboarding) to receive a Push message, we just open a connector to the port number using the deviceside = false setting and wait for help to arrive.

    I looked on the net and forums to directly answer this question but can't seem to find one, that's why I'm asking here confirm.

    Quite simply, taking example of Simon for base, if I plug a client device to a BES (where the server application didn't need any onboarding of the device, its function is to, just send a message to the JSON style to the MDS with the device PIN to the device) would need to register the client with BES/MDS device, as Simon does with its function of registerWithBpas() to register with BIS/BPA , or could I just go directly to opening a connection to a port with the parameter; deviceside = attached false and wait for a Push message to arrive.

    Of course the devic has already been saved in the BES with its ID, e-mail address of the person using this device, etc.

    Simon if you get a chance to personally respond to it, that would be great!

    Thank you all for your time and your help.

    Rob

    Do not enter the unit, simply push the spindle for the MDS and push message will appear on the device.  As you rightly point out, the device is already on the BES and must use the MDS to access the internet in any case.

  • Problem to start MDS

    Hello

    I have JDK, JDE 4.7, MDS - CS, etc on win Vista.

    When I click on MDS - CS (running \MDS\run.bat), I get a message

    'C:\Program' is not recognized as an internal or external command
    operable program or batch file.

    C:\Program Files (x 86) \Research in Motion\BlackBerry JDE 4.7.0\MDS >

    After the execution of the setBMDSEnv.

    Can someone tell what can be the problem. I want to start to MDS and access the internet through Simulator.

    Any help is appreciated.

    Thank you

    Thank you all.

    The problem was with the file C:\Program (x 86) \... - space in the path.

    I moved to a location without any spaces r & things JDK works very well.

    Thnaks everyone once again.

  • BBM MDS Simulator problem

    I'm developing an application that needs to send something via BBM surveys, so I wanted to try it. The problem is that I can't get the BBM Simulator to run. I followed the instructions found on the Blackberry Messenger page, but when I run run.bat it says the following:

    Error image

    (why can I post the image directly?)

    -Java SE Development Kit 7 installed: C:\jdk1.7.0\

    -Java JRE installed: C:\jdk1.7.0\jre7\

    (Note that there is another folder of jre: C:\jdk1.7.0\jre\) Variable JAVA_HOME points to: C:\jdk1.7.0\

    Added "C:\jdk1.7.0\bin\;" to the front of the path variable.
    Copied files local_policy.jar and US_export_policy.jar both

    • (1) C:\jdk1.7.0\jre\lib\security; and
    • (2) C:\jdk1.7.0\jre7\lib\security

    (I first copied them only in the C:\jdk1.7.0\jre7\lib\security, but it says "have you installed unlimited strength jurisdiction policy files?")

    I have downloaded the SDK, extract the contents of "C:\BBM\", mounted in the MDS Simulator and extract the content as well.

    Running Windows 7 64 bit.

    What I'm missing here?

    Is the JDK 1.7 32-bit?  I have not tried with 1.7, only 1.6.

  • Connection stuck when connecting over BES/MDS

    I have an application called customer MC (later called 'client') who uses a socket connection to communicate with a server, the controller of Mobile (later called "controller").
    The connection is used to exchange information of signaling for control of calls, instant messaging and presence information and uses the SIP protocol.
    There are two ways how I can connect the Client to the controller:
    -Direct TCP (with a configured APN)
    -WIFI
    BES/MDS

    While the first two modes operate smooth we are facing problems with the connection on the SDM service method.

    The client uses the deviceside = false parameter to initialize the socket via the MDS Server connection.
    We did several tracks on the controller and the client and have the impression that the TCP stream is somehow blocked on the BES between the customer and the controller.

    Following things that we discover that day:
    -The TCP connection negotiation works very quickly. Handshake ACK SYN, SYNACK, is always quick.
    -The data channel itself seems to block / latency of data.
    Initially the application did not send data in decision-making, that data was sent to the origin of the side front controller. I worked around this by sending a single packet of data to the stream with data fictitious "\r\n" on the controller to the client directly after the establishment of the connection.
    In this way a steam machine is usable by the customer immediately, but after two messages flow seems to block again.

    I use Windows Server 2007 SP2 64-bit with a BlackBerry® Enterprise Server Express version and an SDM connection BlackBerry Service: 5.0.1.39

    Description of the scenario:
    [13:40:21.737] Client send data first Packet 'REGISTER'
    -Package is received the controller and responded with "401 Unauthorized" immediately after 15.8 msec (see trace packet)
    [13:40:25.619] Client receives the '401 Unauthorized '.
    -Package comes a little late, but still in time (after 3.8 seconds)
    [13:40:26.054] Client sends the REGISTRY with the authorization response
    -the second package never reaches the controller, the connection has expired

    The Server BES itself seems to be functional, since other applications like e-mail or the SSH of Rove client seem to work well.

    -Is it possible to influence the BES server how packages for a socket MDS connection are transferred? Is there a good way to solve the problems on the BES Server?
    I look in the newspapers, the more information I can find a connection is opened and closed again.

    Any tips?

    I finally found a solution for this.

    We have modified the client application to do a function flush() after writing in the stream object.

    Looks like there is a mayor unlike the behavior of the object of the steam of a plug.

    With direct TCP and WIFI all data are send immediately, whereas with the MDS connection all gots queued for the seconds until a flush() function is made.

    So remember: when using the socket via MDS connection allways drain when using the communication of critical data in time.

Maybe you are looking for

  • Excel does not recognize this file format

    I've been using excel (Office: mac 2011) for some time. All of a sudden excel opens. I'm getting different error messages such as: "Excel does not recognize this file format" and "There is a problem with the database of the Office". I use OS X EL Cap

  • Timeout on while loop

    Hello I need to insert a time-out on a while loop to exit this loop in the case of the device is not able to answer. How can I do? Best regards

  • Solitaire cards are too small-can I enlarge them?

    I'm having eye fatigue, trying to play Solitaire.  These cards are tiny! Can I make it bigger?

  • restart of the 260 on disconnect

    I hope that's not a position to repeat, as I looked through a lot for my problem.  It's here.   I only got it a few days.  I have, it's like a refurb by Buy.com.  However I am sure it is a refurb is the problem.  The first day it was working fine.  I

  • Cannot start Help and support

    Title: vista help and support will not start. message from the Red Cross directs me to this site, but none of the suggestions work. Come on get your fingers out microsoft and solve my problem vista help and support will not start. box comes with red