MailActivationAgent MailAccount XML File Corruption

We're looking for feedback on how to solve or workaround a problem in which BPEL MailAccount XML files become corrupted when the BPEL server is restarted.
The issue affects the BPEL MailAccount XML configuration files which reside in $ORABPELHOME$/domains/$DOMAIN$/metadata/MailService. We have noticed that these files occasionally become corrupted (content missing, 0 byte filesize) which causes the BPEL processes which reference them to fail. Looking at the date/timestamp of the corrupted files, we noticed that they are last written to at the same time as the BPEL server is taken down which suggests that the files are being corrupted during server shutdown.
What appears to be happening is the following: we have a BPEL process which uses a standard MailActivationAgent to listen for activity in email accounts specified in the MailAccount XML configuration files noted above. The activation agent polls these configuration files at regular intervals to pick up any changes that have been made to them. The agent opens the files with write permission since it may rewrite content back into the file (e.g. it may transform plain text passwords into encrypted form). If the BPEL server is taken down while the activation agent has these files open, the files are not saved and closed safely before the agent terminates and they can be corrupted as a result.
The following XML fragment from the bpel.xml file shows how the activation agent is configured:
<activationAgents>
     <activationAgent className="com.collaxa.cube.activation.mail.MailActivationAgent" heartBeatInterval="20">
          <property name="accountName">testMailAccount</property>
     </activationAgent>
</activationAgents>
Environment:
Solaris 10 / SunOS 5.10
BPEL 10.1.3.3
Any suggestions as to how to solve or workaround this problem would be greatly appreciated.

Hi,
Have you solved the problem? we're interested in knowing the results because we have a similar sort of requirement to build .
We're having a different type of problem though. The bpel get initiated for all mails in that account (including old mails) and then it deletes them. Did you had any issues like this or do you have any suggestions for us.
The interval is set to 60 seconds and we're testing it on Bpel 10.1.2 with outlook express account (POP3).
thanks in advance

Similar Messages

  • Itunes xml file corruption

    I'd like to ask the community if anyone else is having trouble with corruption of their iTunes XML library file?
    Back on October 20th, my iTunes library completely imploded: roughly one third of all songs stopped playing, all my Digital Copy movies refused to play. I had just upgraded my iPad to iOS 6 and pretty much everything imploded. The solution was to basically delete the iTunes XML files, re-install the software and then re-import all my uploaded music.
    Yesterday, I connected one of my iPod Classics and saw the same error messages that started the first round of trouble: there were 7 files that iTunes claimed it could not sync with my Classic because they were the "wrong format". I checked each in turn and they turned out to be from 3 of my 650 or so albums. In each case I could click on the iTunes entry and nothing would play: no error was reported.
    In each case if I pulled up the track information, I could see that the references for these 7 songs had been corrupted. So for example, the track "We Didn't Start The Fire", from Billy Joel's album, "Storm Front", had "Song Information" that said it was actually located in /iTunes/Crowded House/ - no album name or song name were included. Every one of the 7 "wrong format" songs had corrupted "location data" like this. The choice of the tracks that were corrupted appears to be largely random. However, I have noticed that corruption only seems to occur when I add new material to my iTunes database.
    The first instance was a complete meltdown and required a clean re-installation of iTunes - literally hundreds of song entries were corrupted. This time around only 7 seem to have been impacted [though i concede it could be more].
    I tried asking Apple support for help and although they were able to walk me through the repair process, they have been unable to explain why this corruption is taking place. I wonder if anyone has any ideas? For what little it may help:-
    I am running iTunes 10.7(21) on a Mac Mini (OS/X 10.7.5(11G63)) with the 2.3GHz Core i5 and 8Gb of RAM.
    My iTunes Library "XML" file is in my local home directory [default location], but because it's now well over 200Gb in size, all the music files for iTunes are stored in a QNAP NAS [works fine, local Apple folk helped me configure it].
    It's difficult to triage exactly what's happening without having access to something like XMLspy and being able to work through the iTunes XML file piecemeal, but it does look like something during the "add songs to database" process is corrupting that file, and, interestingly, it adds new content fine - it's existing entries that get corruption.
    My music library is not *that* big: the XML file is 15.2Mb on disc, iTunes is currently holding 659 Albums an about 7827 songs.
    Does anyone else have ideas as to what might be causing this? It seems to be a relatively recent development, and since I rebuilt the database completely 6 weeks ago, this most recent damage is definitely a recent thing.
    Suggestions gratefully received.

    The XML file is a readable subset of the data in the main library file. If the library database becomes corrupt the easiest approach is to restore an earlier version.
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    The images are from Windows XP but you get the idea. Your Mac library file may omit the .itlextension.
    See MusicFolder Files Not Added and Super Remove Dead Tracks for tools to catch up with any changes since the backup file was created.
    When you get it all working I'm told Carbon Copy Cloner can do the equivalent of this Windows based backup tip.
    tt2

  • ITunes xml file corrupt

    I'm far from a genius when it comes to this stuff, but there's something seriously wrong with my file "itunes library.xml".  I only know because I tried running Doug's applescript to eliminate duplicate files from iTunes and the results contained files that were previously deleted.  I looked at the xml file and see that there are a whole bunch of songs included in the file from a directory that no longer exists.   Do I have any options except starting from scratch with iTunes?  Thank you.

    Quit iTunes.
    Delete the iTunes library.xml.
    Restart iTunes. The  xml will get rebuilt.
    iTunes does not use this file.
    It is created only for other apps to use.

  • Cannot launch dreamweaver as menus.xml file corrupt

    Help - I have not used Dreamweaver CS5 in a few months, went to launch it today, and the program complains that the current menus.xml file cannot be constructed.  The suggestion is to replace it with menus.bak which does not help.  I reinstalled dreamweaver - no luck.  I downloaded and installed the latest update - again no luck.
    On the machine is also LR 4.1 and Photoshop CS6 - am hoping these do not cause a conflict.
    BTW searched forums and internet but none of the advice seems to work.  Running Win7 (64).
    Thanks.

    Moving this to Dreamweaver Section.

  • XML Fetch Error. The XML file assigned in the configuration.xml is either wrong or corrupted.

    1.Some web pages give "XML Fetch Error. The XML file assigned in the configuration.xml is either wrong or corrupted".
    2.Youtube gives, after pressing start button, message"An error occurred. Please try again later.
    Opening same youtube page with IE, there is no problems.
    3.Scrolling on Mozilla firefox pages works only with sidebar not with mouse wheel.
    Other user accounts on this computer doesn't have these problems.
    BR, Juha

    This can be caused by a recent Flash 11.3 update.
    See:
    *https://support.mozilla.org/kb/flash-113-doesnt-load-video-firefox

  • Corrupted iTunes xml file. HELP!

    Somehow my xml file got corrupted. So, whenever opening iTunes now, I get an error message about this and then there is no correct sync to my AppleTV. furthermore, it is creating directories in my AppleTV window (duplicating them i mean). My AppleTV now reports no files on it, etc.
    I have searched for an xml file in iTunes in programs director, but no luck. anyone know what to do? seems like i need to destroy corrupted file and start over, but really not sure what to do. tried uninstalling and re-installing iTunes, but this did nothing. thanks!

    The central file to everything is the library.itl file in your Music > iTunes folder.  Start iTunes with the option key held down and guide it to that file.  If you're lucky then it will be the one you need.  If not then it is hard to determine where the file might be.  Normally an update should not affect something like the iTunes library but if your file directory was having issues (did you verify with Disk Utility first?) then who knows?  This is why one backs up before installing system software updates.
    If you have a backup then let us know.  You may be able to rescue a copy of the iTunes Library.itl from that and replace the bad copy in your iTunes folder.
    Since your media are scattered about it may be a painstaking task adding them all again but it may come down to that.  Again, back up...

  • Help!! Aperture corrupting my itunes XML file

    I am experiencing a weird problem with my itunes music library seemingly being corrupted by Aperture, Apple's image processing application. The file path to my music file is being overwritten in the itunes music library XML file with a file path to one of my photos stored in Aperture! Has anyone experienced this issue? And more importantly, does anyone have a solution to the problem.
    Here is what's happening:
    1. I click on a music file in itunes to play it. Nothing happens - no music plays, no error message is displayed.
    2. I open the itunes XML music library.XML file to see the path that itunes is using to locate the music file. I notice that the location key for the music file has been overwritten and now points to a random jpeg file that I have stored in my Aperture library.
    Here is what the XML entry looks like for the music file. Note the path referenced in the location key. It no longer points to the audio file in my itunes music directory. Instead it points to a jpeg file in my Aperture library.
    <key>1167</key>
    <dict>
    <key>Track ID</key><integer>1167</integer>
    <key>Name</key><string>Hash Pipe</string>
    <key>Artist</key><string>Weezer</string>
    <key>Album</key><string>Hash Pipe (CDS)</string>
    <key>Genre</key><string>Alternative</string>
    <key>Kind</key><string>MPEG audio file</string>
    <key>Size</key><integer>1152</integer>
    <key>Total Time</key><integer>185704</integer>
    <key>Track Number</key><integer>1</integer>
    <key>Year</key><integer>2001</integer>
    <key>Date Modified</key><date>2007-06-15T17:36:27Z</date>
    <key>Date Added</key><date>2008-03-13T21:02:47Z</date>
    <key>Bit Rate</key><integer>192</integer>
    <key>Sample Rate</key><integer>44100</integer>
    <key>Comments</key><string> </string>
    <key>Persistent ID</key><string>285E19D7CE6E8007</string>
    <key>Track Type</key><string>File</string>
    <key>Location</key><string>file://localhost/Users/ericwhalen/Pictures/Aperture%20Library.aplibrary/Glacier% 20Pix.approject/2007-06-15%20@%2009:27:19%20AM%20-%201.apimportgroup/IMG8045/IMG8045.JPG.apfile</string>
    <key>File Folder Count</key><integer>6</integer>
    <key>Library Folder Count</key><integer>3</integer>
    </dict>
    Has anybody seen this behavior before?
    Thanks,

    The file path to my music file is being overwritten in the itunes music library XML file
    Okay but iTunes does not use the iTunes library.xml.
    It is created for other apps to use the iTunes library.
    What is the problem you are having?

  • TS1192 After all the steps I still have a corrupt iphoto 11 Albumdata.xml file. What next?

    I have tried all the steps here, except deleting the com.apple.iApps.plist because I don't have one! I deleted it ages ago trying to do this before and it seems it never created a new one. So, none of this steps work. I want to import my iphoto to Picasa.
    I'm using a Macbook Pro 13 inch, 500 gig HDD 2011 version, with Mountain Lion and the latest iPhoto 11. iPhoto has been acting iffy for ages even after repairing permissions, rebuilding the library and every step I can find. So I want to switch to Picasa. Am I going to have to manually import and sort pics to Picasa?

    Sorry, I read the article on how to fix the problem if other apps cannot see the iPhoto library, because none of the steps there helped me, and it posted my question here.
    My problem is that when I open Picasa and select to import my iphoto library it says that I have a corrupted AlbumData.xml file. It still does this even after all of Apples steps to fix it. I have:
    1. Checked and repaired permissions
    2. Rebuilt my iphoto library
    3. Deleted the com.apple.iApps.plist (but it has not returned)
    4. Made a new AlbumData.xml file
    5. Removed all special characters from album names in iPhoto
    Nothing has worked.
    All iLife applications can see my iphoto library fine. Another application, Lyn, can now see my iphoto library, but Picasa still keeps insisting it is corrupted. I believe it is true because iphoto is incredibly slow, freezes every few seconds and crashes if left open for longer than a few minutes (which is why I am switching to Picasa in the first place). It uses up over 60% of my CPU just to stay open and slows my computer down to a crawl, a sticky, lagging infuriating to use crawl.
    I would prefer to keep using iPhoto as its convenient for my iphone and ipad which I use daily, but its too much to cope with now.

  • Adf-config.xml file gets corrupted

    Hello,
    I have observed in many instances that adf-config.xml file get corrupted in the sense it looses (wipes out) mds conenction string and as a result the projects won't compile or you will not be able to fecth anything from MDS like wsdls ect. Making this file as read only or backing it up seems to be the work around. I have seen this in 11.1.1.3.0 version.
    But can you please suggest why this happens and any permanent solution to fix this?
    Thanks
    SathyaP

    In your adf-config.xml the password property is not properly closed and your property name is incorrect.
    Replace following:
    <property name="password" value="p$ssword1"*with this in your adf-config.xml
    <property name="jdbc-password" value="p$ssword1"/>

  • TS1192 'Could not read the iPhoto Library. The library at [file path] has a corrupted AlbumData.xml file.'

    Got this msh from Piasa...any ideas?  'Could not read the iPhoto Library. The library at [file path] has a corrupted AlbumData.xml file.'

    Contact Adobe support - that is not an iPhoto message - in general Piasa has no ability to access the iPhoto library - there have been hacks but often they do not worka nd can cause problems
    You need to user either Picasa or iPHoto - using both on the same photos is problematic
    LN

  • Picasa and corrupt albumdata.xml file

    For several days, I have been trying to install Picasa on my Mac.  I used to use Picasa on my PC but switched to iPhoto when I got a Mac and have been using iPhoto for the last several months.  I would like to add Picasa so I can access some of the sharing features that aren't available on iPhoto.  However, every time I try to load Picasa, it launches and then says I have a corrupted albumdata.xml file.  I have no problem when I use iPhoto -- there appears to be no corruption.  I have tried to repair/rebuild the database in iPhoto several times and have followed directions from some Picasa discussion forums about using Text Wrangler to find &s and other characters that might be causing the problem.  Even when I have deleted the photos that appear to have the problems, Picasa still tells me that the file is corrupted.  I have called Apple about this, but they have been no help since iPhoto is working fine and it is not their product that is giving the error message.  I would love to use Picasa, but there's something that's not working right. 
    I know others have had the exact same problem and seem equally frustrated.   According to Picasa, it is supposed to "play well" with iPhoto, but what happens when it doesn't?
    I appreciate any help you can lend.  Thanks.

    Well - and it's just a thought - you could easily post them on Google+, or Flickr, or SmugMug or any other photosharing site on the entire Internet.
    On Google+ click on the Photos icon on the sidebar and then Add Photos - the bit in Red. That give you the uopload page and you can 'Select Photos to Upload from Your computer'
    Thereafter... the first one of these
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.
    Regards
    TD

  • Corrupt iTunes Library .XML File for library with 3,000+ playlists.HELP!

    Here is my situation. I've been ripping my cds to Lossless for almost a year now and I'm at about cd 3000. A few days ago my Mini got hung up on a cd and locked up. The cd drive even completely stopped spinning after about an hour. I did the only thing I could and turned the power off. It was totally unresponsive. When I re-booted I got the "iTunes Library has been renamed (damaged) error. I tried several fixes which didn't work such as simply renaming damaged(by removing the word damaged from the file name). Right now I have dragged the Library File and the XML file to my desktop and tried to restart iTunes to import the XML file but that's giving me none of my playlists. I have a playlist for every album in my library. I like this way so no need to comment on how it doesn't make sense to you. My database file is 43MB and the XML is just a few KB. My library is stored on an external drive. I will freak out if I have to create all these playlists again. I know that there is a playlist generator app that will automatically do this but I had these all last name, first name and aliases and how I wanted to find them so I put a lot of work into how I organized everything. What else can I try?

    It's so funny you just replied to this because I've been waiting patiently for a week and I just now posted another snag I'm running into right above this post.
    I never really had any kind of problems with all of the playlists. It never really hung up or anything like that at all & I'm using a very first generation Mac Mini. It would seamlessly play from any song I picked to any other song I picked by just clicking on it.
    I had multiple reasons for using so many playlists if you want to read about them here:
    http://forum.audiogon.com/cgi-bin/fr.pl?ddgtl&1230475284

  • RH crash or new files corrupt when creating template

    TCS2
    FM 9.0.3
    Robohelp 8.0.2
    My template project keeps crashing Robohelp or corrupting the projects when i run the template script.
    Deleting the linked Framemaker files then running the script eventually leads to a crash.
    Running the script without deleting the linked Frame files creates a corruption of the project and when lanching anew project with the corrupt template a report notifies that there is a corrupt xml file.
    This is a propblem i keep returning to. We haven't yet started using Robohelp for producing output but we have now been playing on and off for three months with the tool. We are still using our old Help tool and FM 7.2. We need to start going into production. Please help.
    All responses greatly received
    Rob

    Why are you saving as jpeg for print out of Illustrator? Work in CMYK and save as pdf.
    Working in CMYK means that, provided your monitor is calibrated correctly, what you see is what you get.
    You may be in for an unpleasant surprise if you work in those nice, bright RGB colours and they come out all dull and muddy when printed.
    Pdf means that vector art remains as vector art. It is bad Latin to pixellate things when you don’t need to.

  • Can an iPhoto library that does not exist be recreated from the AlbumData.xml file?

    Our iMac hard drive recently got corrupted and we hadn't backed up. (I know, I know, stupid, stupid, stupid. Won't make that mistake again!) The comptuer folk we took it too were able to recover most of the data on the drive, but my iPhoto library was not one of them.  I don't have the library - the file is gone. But I do have the AlbumData.xml file.  Is there any way to recreate the library from that file alone? I've tried it with iPhoto Library Manager and it wants me to have a default library for which this file is associated. I don't have that.  Is there any way to get this data back?  Some friends had trusted us with their wedding pictures. (I know, I know, stupid, stupid, and again, stupid. They won't make that mistake again!) I'd really, really, love to get them back if it's at all possible from this one file I do have.
    Thanks in advance for any help!

    No
    iPhoto is a SQL database and you can only create the database (the iPhoto library) using a SQL editor - using iPhoto is the best
    The database has many components and all of them must be there with exact names and in an exact structure to work
    The only way you could rereate the library is from the photos (depending on the version of iPhoto you had they would have been in the originals or masters folder)
    And yes - it is unfortuante but you have learned the most simple and basic lesson of computers - If you do not have a good current backup (I have multiple daily backups plus occasional offsite backups) you will eventually lose all of your data including your photos
    LN

  • Is there any way to use the iTunes .itl file or .xml file to see what files I had previously to re-download songs?

    I recently had to restore my computer and in the process of backing up my music library, half of my library from the letter 'm' onward was deleted.
    I want to see if I could use the existing .itl file or .xml file that was automatically saved by iTunes in the iTunes folder previously (which I backed-up in my external drive) to view my past library.
    I tried importing the library by going to File > Library > Import Playlist, but I got an error that said:
    "Some of the songs in the "iTunes Music Library.xml" were not imported because they could not be found.
    The .itl file was no help either in this case.
    IS THERE ANYTHING I CAN DO?

    How did you try to make use of the .itl file? Double-clicking on .itl files doesn't switch libraries but opens whatever is currently the default library. To switch between library files either press and hold down shift as you launch iTunes until prompted to choose or create a library, or swap out one library file with another as described in Empty/corrupt library after upgrade/crash.
    There is also a link there to tips on recovering media from your device or account history. You may also be able to undelete media from the drive if the space it occupied has not yet been reused.
    tt2

Maybe you are looking for