WLST and delete problem

I've got two WLST scripts, one that creates a number of different resources (JDBC DataSources, JMSModules etc..) and one that deletes those resources. I'm running this against a 10.1 WLS
As I'm developing the script, I invoke the create scrip, check the server to see that the artifacts have been created, then invoke the 'drop' script which calls delete() to remove the artifacts.
The problem I'm seeing is that the drop script doesn't really seem to delete the artifacts. While they don't show in the console (i.e. I can navigate to the DataSources page and see it missing), the they still seem to be in the JNDI tree... even though all my changes are activated.
So, on subsequent invocations of my create script I get BeanAlreadyExists exceptions.
What am I missing here....
Thanks in advance,
Bruce

Hi Charles,
Thanks for trying this..
To potentially complicate this a bit more (maybe) I think it might be related to the problem described here:
delete JMS module does not clean up resource descriptor file
Specifically, one of the resources I'm trying to delete is a JMS Module. So the sequence of operations is:
0) I invoke a WLST script to create JMS Module and JDBC DataSources
1) Invoke WLST script that tries to delete() a JMS Module and JDBC DataSources (then save/activate)
2) I get an exception that reads something like:
Attempt to operate 'remove' on null BasicDeploymentMBean : ... [says something about needing to restart WLS]
3) I restart the WLS, open the admin console, the Activate button is green and I and invoke Activate from the console. I get no errors or warnings.
4) Inspect the JNDI tree and see the JMS DataSources still present in JNDI tree in spite of them being missing from the Data Sources page on the console
5) I notice the resource descriptor files for both JMS Module and JDBC DataSources remain under the config/jms and config/jdbc directories on the file system. It also look like they are still in
6) If I shut down the WLS server and restart JDBC data sources still in JNDI tree
If I shut down and restart the server between step 0) and 1) then I don't get the exception mentioned in step 2) and the delete really appears to take place.
-Bruce

Similar Messages

  • Yahoo mess 3.01 friends add and delete problem!

    HELLO! I hope someone can help me with this. A while ago, I downloaded yahoo messenger 3.01 beta. Someone I know wanted is trying to get added to my friends list. The request pops up, disappears, and then I can't add or delete any new friends. Has anyone else run into this and can you help me? I'm hoping...

    This happened to my sister the other day and she just gave up. You could try deleting it and reloading it again or go to the help section on Yahoo and type in your problem. That is what I did in MSN messenger.
    S.

  • WLST and configToScript problems.....and problems....

    Well I have been running into many different problems with the py that gets created by the configToScript.
    The simplest of which is if I take a clean domain that has just been configured using the configuration wizard and just add a unix machine and generate the script, I cannot run the script successfully on a clean domain. A non-unix machine works OK but a unix machine barfs!
    Here is the error:
    configuring resource: UnixMachine/agentdev
    UnixMachine with name 'agentdev' has been created successfully.
    configuring resource: NodeManager/agentdev
    Error occured while performing create : Cannot create MBean of type NodeManager. You can only create MBean's children to the current cmo of type: Domain.
    After the unix machine is created in the script, it does not appear under the Machines for some reason!

    Can you please attach the config.xml?
    Thanks,
    -satya
    Well I have been running into many different problems
    with the py that gets created by the configToScript.
    The simplest of which is if I take a clean domain
    that has just been configured using the configuration
    wizard and just add a unix machine and generate the
    script, I cannot run the script successfully on a
    clean domain. A non-unix machine works OK but a unix
    machine barfs!
    Here is the error:
    configuring resource: UnixMachine/agentdev
    UnixMachine with name 'agentdev' has been created
    successfully.
    configuring resource: NodeManager/agentdev
    Error occured while performing create : Cannot create
    MBean of type NodeManager. You can only create
    MBean's children to the current cmo of type: Domain.
    After the unix machine is created in the script, it
    does not appear under the Machines for some reason!

  • Syncing and deleting problems

    OK. i just got an itouch. and at first it didnt let me sync. i could only drag and drop my music.then i changed that, but now i have to synce all my music which takes hours and it no longer lets me drag and drop. and also now i cant delete from my ipod. can someone please help? this is quite frustrating.
    thank you.

    *now i have to synce all my music which takes hours and it no longer lets me drag and drop. and also now i cant delete from my ipod*
    How you delete content from your iPod depends how you have it set to update:
    If you are updating automatically (syncing) all songs and playlists then delete the files from the iTunes library. In the iTunes Library highlight the file and press the delete key on your keyboard. If you're updating the iPod from a selected playlist delete the song from the playlist and it will remain in the library. Next time you connect they will deleted automatically from your iPod.

  • Email Portlet:attachments and delete problem

    Hi,
    i have downloaded the IMAP Portlet ver 9.0.4.0 from the POINT site and my portal version is 9.0.2.3.0.
    Although i am receiving messages with attachments, when i compose a new message and i try to add an attachment,i browse and attach a file, but after clicking the attach button i get "No Attachments" in the Attachments text area.
    Also i cannot always delete a selected message getting sometimes the following error:"Could not fetch the message: Row at index: 2113012357 is not available in the data range"

    Do you enable http sessions in the midtier? Is the Login Frequency set to Once Per Session ? The only reason, I think, will not allow the attachments is if it fails to get the compose message from the session. All you attachments are mapped onto the message object residing in the session for the duration you send or cancel the message. If it fails to acquire the session or the session is lost, the attachment details are lost. However the message will be sent without, since it will construct a new message if not found. Thus losing the attachments.

  • I am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!

    i am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!
    When i press command+I (Get Info) i see that there is 140 GB "Available Space" on my hard disk but when i click on my hard disk icon on the desktop, and then press "space" i only see 102 GB free!! What the f*???
    Please HELP!!!!!! Getting second thoughts on Lion!!!!

    Hi b,
    Have you restarted yet?

  • My Itunes is no longer allowing me to manage my music on my phone i can no longer select on my iphone to make playlists and delete music. Please help fix my problem.

    My Itunes is no longer allowing me to manage my music on my phone i can no longer select on my iphone to make playlists and delete music. Please help fix my problem. Iphone4s, 32gigs, IOS 7.1.2
    I don't know why it stopped working but it happened a month or two ago but the option on this phone that's usually all the way to the left when you select your device but now its not and I don't know what caused it. ive already tried troubleshooting my problem but have found no help.

    Hello Salmomma,
    Thank you for the details of the issue you are experiencing when trying to connect your iPhone to your Mac.  I recommend following the steps in the tutorial below for an issue like this:
    iPhone not appearing in iTunes
    http://www.apple.com/support/iphone/assistant/itunes/
    Additionally, you can delete music directly from the iPhone by swiping the song:
    Delete a song from iPhone: In Songs, swipe the song, then tap Delete.
    iPhone User Guide
    http://manuals.info.apple.com/MANUALS/1000/MA1658/en_US/iphone_ios6_user_guide.p df
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Problem with creating and deleting row in table

    Hi
    I'm using JDev11.1.1.2.0. I have a table "A" with primary key X -> CHAR(1). I have created Entity and ViewObject (with the primary key X).
    I created an editable Table with CreateInsert and Delete actions.
    When I click Insert, a new record is added and I enter some data. Then I move selection to some other row, and return back to the new row. When I press Delete, It does not delete the new row, but the previous one selected.
    In the console, when I navigate back two the new added record: <FacesCtrlHierBinding$FacesModel><makeCurrent> ADFv: No row found for rowKey: [oracle.jbo.Key[null ]].
    I tried the same scenario with a different table, that has RowID as a primary key and it works correctly.
    Any Idea why this is happening ? I suppose it's connected somehow with the primary key.
    Thanks
    agruev
    Edited by: a.gruev on Nov 26, 2009 9:47 AM

    I changed my entity: unchecked the X column to be primary key added RowID as a primary key. Now it works.
    What's wrong with my CHAR(1) as a primary key ?
    I also tried to add a Refresh button:
      <af:commandButton text="Refresh" id="cb3"/>and in the table add a partialTarget to the button. Now when I add new row and press the Refresh button - then it works.
    So it seems that the problem is when I add new row and enter data, the table is not refreshed and the row is missing it's primary key.
    Any solutions?
    Edited by: a.gruev on Nov 26, 2009 4:18 PM

  • I am having consistant problems w/ my mb pro freezing for 20-60 seconds while working in different programs and apps. i've upgraded my RAM to 8gigs and deleted over 60 gig of pics and videos to try to help, but nothing seems to work.

    I've now been having this problem for months. It just freezes up and either shows me the dumb color wheel or doesn't show me anything sometimes and i just cant do anything for about 20-60 seconds. i can't exposae or anything. Also while working on a power point presentation it froze 4 different times for good and i had to do a hard restart just to get it working again. i lost my work and had to keep starting over. it was so annoying. it seems most of the time it does it, it is while i'm in Excel, Outlook, or Powerpoint. so perhaps it has something to do with my microsoft office. but i have the newest version and all the updates and everything. and i believe its happened when doing other tasks too. So i just can't figure it out.
    A few Mac friends suggested i free up some space on my hard drive and upgrade my RAM. So i did. i put all my videos and photos on an external harddrive and deleted them all on my computer. i also upgraded to 8 gigs of RAM.
    And honestly i can't even tell a difference after doing both of these.
    HELP! PLEASE HELP! I'M ABOUT TO GO CRAZY. And having all the non Mac believers telling me it cause i have a Mac even drives me more nuts..
    Jason

    Any of this help?
    it froze a few times over the last hour and half while browsing the internet.
    and also while working in excel it all of the sudden shut down excel and said. "Excel has encountered and problem and needs to shut down, you may lose the work you were on." or something like that. THIS HAPPENS ALL THE TIME TOO. Excel, outlook and powerpoint frequently just shut down on me out of now where. I've bolded and underlined when this happened.
    1/8/12 11:50:56 AM
    Software Update[4573]
    PackageKit: *** Missing bundle identifier: /Library/Receipts/PPD_Installer_RI3292E3L.pkg
    1/8/12 11:51:22 AM
    com.apple.launchd[1]
    (com.apple.suhelperd[4575]) Exited with exit code: 2
    1/8/12 12:13:51 PM
    com.apple.launchd[1]
    (com.apple.netauth.sysagent[4608]) Exited with exit code: 255
    1/8/12 12:17:37 PM
    com.apple.launchd[1]
    (com.apple.netauth.sysagent[4616]) Exited with exit code: 255
    1/8/12 12:20:47 PM
    com.apple.backupd[4644]
    QUICKCHECK ONLY; FILESYSTEM CLEAN
    1/8/12 12:21:39 PM
    com.apple.launchd[1]
    (com.apple.netauth.sysagent[4645]) Exited with exit code: 255
    1/8/12 12:26:25 PM
    [0x0-0x26026].org.mozilla.firefox[263]
    colorbits: 24 alpha: 8 depth: 24 stencil: 0
    1/8/12 12:26:25 PM
    [0x0-0x26026].org.mozilla.firefox[263]
    *** depth: 24 (req: 24)
    1/8/12 12:27:54 PM
    [0x0-0x26026].org.mozilla.firefox[263]
    colorbits: 24 alpha: 8 depth: 24 stencil: 0
    1/8/12 12:27:54 PM
    [0x0-0x26026].org.mozilla.firefox[263]
    *** depth: 24 (req: 24)
    1/8/12 1:00:43 PM
    com.apple.launchd.peruser.501[112]
    ([0x0-0x1b01b].com.microsoft.Excel[210]) Exited: Killed
    1/8/12 1:03:51 PM
    [0x0-0x199199].com.microsoft.Excel[4763]
    Sun Jan  8 13:03:51 Jason-Streiffs-MacBook-Pro.local Microsoft Excel[4763] <Error>: CGBitmapContextCreate: invalid data bytes/row: should be at least 5760 for 8 integer bits/component, 3 components, kCGImageAlphaNoneSkipFirst.
    1/8/12 1:03:52 PM
    [0x0-0x199199].com.microsoft.Excel[4763]
    Sun Jan  8 13:03:52 Jason-Streiffs-MacBook-Pro.local Microsoft Excel[4763] <Error>: CGBitmapContextCreate: invalid data bytes/row: should be at least 5760 for 8 integer bits/component, 3 components, kCGImageAlphaNoneSkipFirst.

  • Problem is with my iPhoto on my Macbook air.  I am trying to move my library from my airbag onto my passport drive.  I did it and deleted it from the airbag but it simply re appeared possibly from the cloud. Not sure what to do next.

    The problem is with my iPhoto on my Macbook air.  I am trying to move my library from my airbook onto my passport drive.  I did it and deleted it from the airbook but it simply re appeared possibly from the cloud. Not sure what to do next. Sorry I am not a techie.

    Sorry - we can not see you
    what do you have? Version of iPhoto? Of the OS? How is the passport connected to your Mac? What format is the passport (for the iphoto library it must be Mac OS extended (journaled)  )?  The iPhoto library is not and can not be on the cloud (maybe later with the Photos Application)
    LN

  • I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. Help

    I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. It just wont give me my notifications. Help please.

    Go to Settings > Privacy > Location Services.
    Turn off SnapChat.
    Go to Settings > Notification Center
    Turn off SnapChat.
    Restart the device.
    Go to Settings > Privacy > Location Services.
    Turn on SnapChat.
    Go to Settings > Notification Center
    Turn on SnapChat.
    Test the issue.

  • I'm running iTunes 10.5 on my Macbook Pro and software 4.1 on my 2g iPod touch and having problems getting photo's to sync. Same error iPod can't be synced req'd file can't be found. Tried deleting the photo cache, restoring the iPod etc but to no avail.

    I'm running iTunes 10.5 on my Macbook Pro and software 4.1 on my 2g iPod touch and having problems getting photo's to sync. Same error, "iPod can't be synced req'd file can't be found". Tried deleting the photo cache, restoring the iPod etc but to no avail.

    Try here:
    iTunes: Unable to sync photos
    Usually deleting the iPod Photo Cache Folder works. Note that if you sync via the folder method, make sure you dlete all the ifolders since :
    The iPod Photo Cache stores the photos that are optimized for display on your iPod, iPad, or iPhone. The location of this folder depends on the syncing options you select. In iTunes, if you change the selection in the “Sync Photos From” pop-up menu, a new iPod Photo Cache folder will be created (and the previous folder will remain).

  • Two Related (?) file deleting problems in Finder and Time Machnine

    My internal drive is partition into two volumes. In the second one (the "non-boot" one), I was have trouble putting files in the trash that were locked. As I was tracking that down I coincidentally(?) started having another problem.
    I started getting a message that the files being put into the trash must be deleted immediately. I check permissions and I had read/write Privileges in the user account I'm normally logged into. However, If I logged into my administrator account, I could put things in the trash without deleting them. I noticed that ignore ownerships wasn't checked, so I checked that.
    That allowed my to put files into the trash without immediately deleting them. I went ahead and deleted the files I wanted to get rid of. However, I'm wondering if there was another issue because I am lead to understand that the ownership privileges shouldn't have necessitated checking "ignore ownerships"?
    Also, I had trouble deleting the backups of those files and folders in time machine. I can delete most of it. But for one folder (and all the folders in which it resides in the hierarchy) I can't deleted it. I tell it to delete backups of that folder (or folders it is in), I put in the password, and goes "ding". But nothing disappears...
    (After I wrote this, I tried unchecking "ignore ownerships" and the problem did not reappear. I can still put files in the trash without the immediate deletion problem.)
    Message was edited by: davidpsummers
    Message was edited by: davidpsummers

    Pondini wrote:
    davidpsummers wrote:
    Also, I had trouble deleting the backups of those files and folders in time machine. I can delete most of it. But for one folder (and all the folders in which it resides in the hierarchy) I can't deleted it. I tell it to delete backups of that folder (or folders it is in), I put in the password, and goes "ding". But nothing disappears...
    Are you doing that via the Finder or Terminal? If so, that's not the way to delete backups. See #12 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).
    And now I'm getting an error in time machine. "Files can't be copied onto the backup disk because it appears to be "read only"". I do get info on the disk, and my account has Read & Write privleges, but it say "You can only read" above that".
    The Finder or Terminal deletions may have corrupted your backups. Repair them, per #A5 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).
    Message was edited by: Pondini
    I'm doing the deletion through Time Machine (I go into Time Machine, find the folder in the backup, and ask Time machine to delete all backups of that folder).
    I did find the tip of unmounting the disk, rebooting, and remounting it. That Stopped messages about the disk being read only. However, the folder still doesn't delete. I'm also a bit worried about these being symptoms of some other problem...
    Message was edited by: davidpsummers

  • What is cookies.sqlite and why does it slow the start up of mozilla by a minute or so. I found it and deleted it,fixed the problem, but it reappears eveery time I restart mozilla.

    what is cookies.sqlite and why does it slow the start up of mozilla by a minute or so. I found it and deleted it,fixed the problem, but it reappears every time I restart mozilla.

    AVG reports these sqlite cookies each time firefox starts. they usually belong to tribalfusion or some other tracker. How do I block them in the first place. I thought firefox is a safe browser. Did not have this problem until I upgraded to 3.6.

  • I am trying to download trial CC, but i am receiving error cod 205. how can i fix this problem? few months ago, i used trial CC and deleted it.

    i am trying to download trial CC, but i am receiving error cod 205. how can i fix this problem? few months ago, i used trial CC and deleted it.

    Creative Cloud Help / Error downloading Creative Cloud applications
    http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html

Maybe you are looking for

  • Retreving Values from RFC in Adapter Module

    Hi All I have a scenario where I have to retreive a value from database table using RFC and import those values in adapter module for comparing it with some other Values. Can some one guide me how to retreive values in RFC using Adapter module. Some

  • Finding user name from sessionID

    Hi, I have two systems working together. I am passing session ID between these two systems. I have an session ID. And I want to find which personalization server user owns this session. How can I find username from the session ID? Thanks Ali Rýza

  • Recommended and supported Hyper-v Server configurations

    I am looking for a document that will give me some suggested Hyper-v supported and recommended server configuration. Recently our company rolled out two Hyper-V servers. The host system is configured to be the Domain Controller.  One server was confi

  • How to make Jtable cell empty onClick?

    Hi All, I have one requirement where I need to make the Jtable cell value empty on click or tab event. So, User does not have to do back space and delete whole string to edit that cell. Any idea? Thanks in advance.

  • Batch Material _Restricted Use

    Dear Exports, While posting the stock (Batch Material) in the MB1C is taking as a restricted stock automatically. whats went wrong in the configuration. if we post the non batch materials in the MB1C transaction, it works fine and posted as as un res