How to delete application in AppDeployment ?

HI
We like to delete the application in domainConfig/AppDeployments. We need to remove this entry in this tree; we're not interested in Applications in config tree as the application is not shown in that list.
But we're getting errors with the following WLST lines
cd('AppDeployments')
print "deleting " + deployApp.getName() + " from AppDeployments"
edit()
startEdit()
domainConfig()
ls()
k="'"+deployApp.getName()+"'"
delete(k)
stopEdit('y')
save()
21:41:27  Starting an edit session ...
21:41:27  Started edit session, please be sure to save and activate your
21:41:27  changes once you are done.
21:41:27
21:41:27  dr-- AppX
21:41:27
21:41:27  No stack trace available.
21:41:27  Problem invoking WLST - Traceback (innermost last):
21:41:27  File "/scratch/test.py", line 130, in ?
21:41:27  File "<iostream>", line 549, in delete
21:41:27  File "<iostream>", line 1847, in raiseWLSTException
21:41:27  WLSTException: Error occured while performing delete : Cannot use delete unless you are in either edit or config tree
Thank you.
Simcerely

What happens if you move domainConfig() above edit(). I think it resets the tree when you call domainConfig().

Similar Messages

  • TS1702 how to delete application?

    How do delete application?

    It is a black X.
    If the application that you want to delete is an app of the iOS it will not have a black X and you cannot delete it.
    If it is a downloaded app that you want to delete and there is no black X, then you have to check under Settings/General/Restrictions of there are restrtictions set that disables uninstall.

  • How to delete applications from mac pro?

    I think many people struggling at "How to delete appalications from Mac pro ,just because you made some mistakes or curious !" I know it is a bit difficut for people who are new users for the Mac .
    If you really don't want them ,you can delete them easily,
    As all you know after you download appalications from anywhere  ,it could be from apple app store or from other websites. They all can be disspeared if you don't like them .
    First , If you installed from apple app store  it will be really easily  just click at the app on the launchpad, after few seconds all the apps will be all shaking like leaves ,yes they are scared .(No No  don't delete me  I am helpful !) Ok yes  that is a little joke ! so what you can see now there is a small "x" at the top right corner .Can you see them ? just click the "x" And they will gone .
    Second step. This is only for you downoaded from other websites , In that case  , you just skip first step come to here  in order to save you some golden time .
    You can delete them from the launchpad , I have tried many times . i tried to drug them in the the trash . But after them all jump back to where they are , So you need to open the Finder ---> click the download -----> find the file which is belong to the app (make sure ) ------->click it  -----> drug it into the trash. then you can hear a little sound like you through it into the bin. it is really humanny  isn't it ? then go back to the finder again .---->click the application -------> find the icon on there which is you just drag into the trash.  do it again . take this one into the trash as well  then you will find the icon on the launchpad is disppeared . at the end don't forget to empty your trash   After that all job done , it is been deleted  ,
    Well done !
    Hope this could help all of your!
    Thanks for reading !

    Your profile shows Macbook Pro yet your topic confirms you are talking about a Mac Pro - or

  • How to delete application deployed in Run Application Only mode?

    I have exported/imported an application (Run Application Only mode) from one DB instance to another.
    As a developer, I cannot see the application in Application Builder in the target instance. This is as intended because changes should only be made on the source (development) instance.
    After testing, there may be errors to correct. The application is not going to be a new version, it is going to be corrected on the source instance. Without creating a new version of the application on the source instance, what steps does the HTML DB admin take on the target instance to delete the application so the application can be imported again?
    Thanks,
    Kelly

    Thank you Scott. I missed the help text to the side of the install page that explained how an existing application is deleted and replaced.
    The tool provided the prompt page, Confirm Replace Application, before proceeding with the install.

  • E-Recruitment how to delete application or withdraw?

    Dear Experts,
    I have an issue in SAP e-Recruitment 6.0 EhP4 BSP.
    Recruiter entered an application for an internal candidate by mistake and rejected him.
    Now the candidate sees from candidate page - Applications that his application was rejected, complaining that he had never applied to this posting (which is true) and does not want to have it in his application history.
    We advised the candidate to withdraw the application but the error "The application cannot be withdrawn" appears and he could not withdraw or delete the application.
    Is there a way to completely delete application or at least to withdraw it?
    Thanks in advance.
    Regards,
    Emi

    Hi Emi,
    Yes, of course. You can delete objects ND and NE for that candidate.
    Use transaction RE_RHRHDL00.
    Make sure you delete all the relevant infotypes.
    Regards,
    Liran

  • How can delete application on lion

    how can i delete any application on Mac Os X Lion from launchpad?

    I don't believe you can delete apps from Launchpad.  You can remove the app via the Application folder in Finder or you could also use an app that helps remove all traces of an App, such as AppZapper or AppDelete.

  • How to delete application when its deployment state is failed or running or released ?

    Hi All
    How do we in WLST delete an application when it is in failed deployment state ?
    An example would be good.
    App1 is not shown in AdminServer deployment tab screen but somehow WLS still thinks it exists.
    We like to remove any application when its deployment state isn't completed.
    Any help is appreciated
    Sincerely
    Thanks
    23:16:18  Listing applications ...
    23:16:18  drw- App1
    23:16:18  drw- App2
    23:16:18  drw- App3
    23:16:18 
    23:16:18 
    23:16:18 
    23:16:18  -r-- ApplicationIds java.lang.String[App1, App2, App3]
    23:16:18  -r-- Name AppRuntimeStateRuntime
    23:16:18  -r-- Type AppRuntimeStateRuntime
    23:16:18 
    23:16:18  -r-x getCurrentState String : String(appid),String(moduleid),String(subModuleId),String(target)
    23:16:18  -r-x getCurrentState String : String(appid),String(moduleid),String(target)
    23:16:18  -r-x getCurrentState String : String(appid),String(target)
    23:16:18  -r-x getIntendedState String : String(appid)
    23:16:18  -r-x getIntendedState String : String(appid),String(target)
    23:16:18  -r-x getModuleIds String[] : String(appid)
    23:16:18  -r-x getModuleTargets String[] : String(appid),String(moduleid)
    23:16:18  -r-x getModuleTargets String[] : String(appid),String(moduleid),String(subModuleId)
    23:16:18  -r-x getModuleType String : String(appid),String(moduleid)
    23:16:18  -r-x getRetireTimeMillis Long : String(appid)
    23:16:18  -r-x getRetireTimeoutSeconds Integer : String(appid)
    23:16:18  -r-x getSubmoduleIds String[] : String(appid),String(moduleid)
    23:16:18  -r-x isActiveVersion Boolean : String(appid)
    23:16:18  -r-x isAdminMode Boolean : String(appid),String(java.lang.String)
    23:16:18  -r-x preDeregister Void :
    23:16:18 
    23:16:18  dr-- AppRuntimeStateRuntime
    23:16:18 
    23:16:18  Undeploying application App1 ...
    23:16:18  Started the undeployment of Application. Please refer to the returned WLSTProgress object or variable LAST to track the status.
    23:16:33  Current Status of your Deployment:
    23:16:33  Deployment command type: undeploy
    23:16:33  Deployment State : failed
    23:16:33  Deployment Message : java.lang.IllegalArgumentException: [J2EE Deployment SPI:260134]Unable to identify application for undeploy operation.
    23:16:33  deployment failed
    23:16:33  java.lang.IllegalArgumentException: [J2EE Deployment SPI:260134]Unable to identify application for undeploy operation.

    Is is always possible the that space (clusters) on the hard drive have been used to store other data and in such a case you can't recover the original content of the file.
    If you encounter such freeze issues regularly then best is to choose the "Show my windows and tabs from last time" startup setting.
    You an try to create a new profile as a test to check if Session Restore work better in the new profile.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How to delete application log in Nokia E5 ?

    Hi,
    I am having one nokia E5. I have updated it to the latest firmware 042.007. I can install and uninstall new applications and everything is coming in application log. But i cannot delete the  details in application log. Pls help.
    damu777

    thank you!!! I hate Nokia's software. When you open an image from the file manager or a MMS, it opens in the image editor, which you can zoom with the * and # keys. When you open from the gallery, this shortcut completely changed. Then, if you open the image in the editor, the zoom keys are 0 and 5 like on the gallery in the e71.
    Not only are these shortcuts inconsistant, but they fail to document them 90% of the time. I would have never thought to use the volume keys.
    I dislike the gallery on this phone. It's dumb that ''images'' also shows videos. It's dumb that images open don't open up in the same image editor they do when you open from gallery/sms. Its also dumb that videos don't open in real player through the gallery. I much preferred the more simple gallery on the e71.
    Thanks for this tip though

  • HT4082 How do I delete application

    I need to know how to delete applications on my ipad

    Press and hold any of the apps and after a couple of seconds or so they should start to shake. Then press the 'x' in the left corner to delete the ones that you don't want, and when you've finished deleting press the home button so as to stop the shaking. You cannot delete any of the Apple built-in apps e.g. Music, App Store, Game Centre etc. If you don't get the 'x' on any of the apps that you've downloaded then check that Settings > General > Restrictions > Deleting Apps isn't set 'off'

  • How to delete an application? (permanently)

    Hello,
    I do know how to delete applications from my Iphone. I know that you simply press and hold the application, and then, while it is "wiggling" you press the "x" and it disappears. But what I have noticed is that this only seems to remove the application from the phone, it does not actually delete the application. When I go to the application tab during a sync process, I can still see the unwanted appication, it doesn't have a check in the box, (which is why it doesn't appear on my phone), but it is still there. Is there a way to permanently delete unwanted applications? For example, I have tried the "free" or "lite" versions of several applications that I have later decided to purchase the upgraded version. I obviously will NEVER need the older versions, but I can't figure out how to get rid of them?
    Any suggestions?

    Click here and follow the instructions to remove it from the library.
    (51957)

  • How to remove applications from "Selected applications" list?

    I know how to delete applications from my iPhone 3G. I also understand that when I sync they will get restored on my phone if I have "Sync applications" checked and I choose the "All applications" radio button. If I want applications to "stay deleted," I need to choose the "Selected applications" radio button and make sure the ones I want to stay gone are un-checked.
    How do I "fully delete" an application, so it is both (a) no longer on my phone and (b) no longer in the "selected applications" list?
    Thanks!

    Simple go to where it has your applications in the Application menu (not tab in iPhone sync options, but the menu on left) and delete it from there.
    Say keep file when it asks if you want to delete it from your hard-drive if you at least want to keep it on your drive.
    In summary, just remove it from iTunes but keep the file. Or if you want to fully get rid of it, let it delete it from drive too. Remember, you can always re-download and even if you paid for it, it will discover you already bought it and say you can re-download for free.

  • Delete application list

    Anybody know how to delete application lists using the APEX API?
    For my application I need the ability to generate pages and navigation lists using the APEX API.
    I know there are the functions wwv_flow_api.create_list and wwv_flow_api.create_list_item
    to build a list but I can't seem to find any similar functions to remove them in the first place.
    I can access the tables they are stored in directly and delete them from there but then I need
    to specify the table owner (in my case FLOWS_030100) as there are no public synonyms or
    key-preserved views on those tables.
    Ruud

    user1055787 wrote:
    Wow, seems we are caught in a endless loop. The man asks a question, but receives off topic anwers ...I wouldn't say that the answers given by Scott and John were off-topic at all, they were correctly stating that developer's use of those specific API's is not supported.
    >
    Let's see some things about the APEX API, from the official Oracle docs:
    "The APEX_UI_DEFAULT_UPDATE package provides procedures to access user interface defaults from within SQL Developer or SQL*Plus.
    You can use this package to set the user interface defaults associated with a table within a schema. The package must be called from within the schema that owns the table you are updating.
    So, after all, we are allowed to use the Oracle API!We do provide some API's that are documented / supported and safe to use by developers, and the APEX_UI_DEFAULT_UPDATE package you mention (although it bears no relevance to this discussion) is a package that contains API's that we support. This package allows the developer to update UI Default information (not actual components eg lists), so to re-iterate, there is no supported API for the purpose of deleting an application list or list item. For a full list of supported API's take a look at the documentation:
    http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/toc.htm
    >
    For example, I have an enviroment that automaticly udpates the aplications (let's say I have 1000) to their lastest version. I will use a batch, of course, wich sould delete the applications and then import them all over again. Hmm, so, you would say that this is possible only from the GUI? Maybe one of you, gentlemen, will care to do this manually every night? I didn't think so ...
    So I ask again, maybe someone will answer me correctly: is there a procedure/function in the public APEX API to delete an application? Or a script of somesort that does this?
    This again bears no relevance to this thread. You are now talking about deleting applications, not deleting lists within applications. I would suggest starting a new thread for your new question.
    A few points to get you started:
    - An application export is just sql script which you can run outside of the APEX UI. See Scott's post here with details:
    Import application manually
    - As Scott says, if your importing applications in this way, you'll need to make sure the workspace ID of the target workspace is the same as the workspace that you exported the application from. (Easiest way to do this is by exporting the workspace from the source and importing it to the target).
    - If you import an application that has the same ID as one which already exists in a workspace, then this will overwrite it anyway, so you don't need to actually delete anything.
    Anthony.
    http://anthonyrayner.blogspot.com
    Edited by: Anthony Rayner on Nov 11, 2008 2:22 PM

  • How to delete the Generated files from application server(open hub)?

    hi experts,
    when i try to execute process chain the DTP it is giving below dump. Exception CX_RSBK_REQUEST_LOCKED logged.
    when i execute the DTP manually and trying to delete the previous request, it is giving for dump ITAB_DUPLICATE_KEY.
    so to delete the generated file from application server, how to delete it for specific dates?
    Information on where terminated
    Termination occurred in the ABAP program "GPD6S3OE0BCVGC6L9DBNVYQARZM" - in
    "START_ROUTINE".
    The main program was "RSBATCH_EXECUTE_PROZESS ".
    In the source code you have the termination point in line 2874
    of the (Include) program "GPD6S3OE0BCVGC6L9DBNVYQARZM".
    The program "GPD6S3OE0BCVGC6L9DBNVYQARZM" was started as a background job.
    and when i check the dump it is point out at below code
    " Populate the lookup table for 0STOR_LOC
    SELECT * from /BI0/TSTOR_LOC
    into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
    FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
    STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
    but the programme is syntactically correct only.
    how to rectify the issue.
    regards
    venuscm
    Edited by: venugopal vadlamudi on Sep 28, 2010 1:59 PM

    hi experts,
    We have written start routine to get the storage location text and sending to File located at Application server through OPEN HUB.
    here is the code written in the Transformations
    In the global section
    Text for 0STOR_LOC
        DATA: l_0stor_loc_text TYPE HASHED TABLE OF /bi0/tstor_loc
              WITH UNIQUE KEY stor_loc.
        DATA: l_0stor_loc_text_wa TYPE /bi0/tstor_loc.
    and in the code to get the text
    " Populate the lookup table for 0STOR_LOC
        *SELECT * from /BI0/TSTOR_LOC*
          into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
          FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
                  STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
    im sure there is problem with the Routine only. i think i need to change the code if so please provide me the modified one.
    thanks
    venuscm
    Edited by: venugopal vadlamudi on Sep 29, 2010 9:37 AM

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • How to delete a file from application server?

    Hi gurus,
    i want delete a file from application server . can any one tell me the BAPI/Fm .
    thanks in advance

    See the replies of the thread;
    How to delete  File from the Application Server,ABAP
    But i can smell something fishy in both  The specified item was not found. and The specified item was not found. style of posting questions. Also both of you have similar questions in your profile....
    Hmmm, Mods have to take care of the Rest...
    Regards
    Karthik D

Maybe you are looking for

  • Customer service is a joke!!!

    So there seems to be nowhere to inform Adobe of their shortcomings with the customer service provided over the phone, so I guess this place is a good as any. A recent online purchase was shipped to an incorrect address of which I had previously and i

  • What happened to save as in the latest pages?

    How can I save my Pages documents in a particular location? It was so simple in the previous version of Pages. Ever hear of 'if it's not broken don't fix it'?

  • My ipod freezes when i goto play music or any apps with music any answers for this one?

    ever since update 4.2.1 my ipod has not played music or videos and when i try to play either music or videos it freezes, help me......

  • Bug safari iOS 8.1.1 iPhone 6

    problem bug in iphone 6 iOS 8.1.1 safari if you use safari open web and you want to see all web in your phone background web in your open will be to background. เครื่องมีปัญหาการใช้ safari เวลาเข้าเว็บ แล้วเปิดกลับมาดูเว็บรวมจะเห็นเว็บเก่าเป็นพื้นหลั

  • Assets folder in my website

    I'm using Dreamweaver cs3 and when I designed this site I was unaware of the assets folder so my images, script, and templates folders are floating around the root site folder not neatly placed in the assets folder. Will it work if I create a folder,