File bc: Multiple input files in one folder

I am working on an integration project, which includes five BPEL processes. These processes are intiated whenever a file is copies in a given folder. The input-filename-pattern for these bpel processes are different (say, input1_%d.txt, input2_%d.txt etc.). But, these files are present in one single folder.
To implement it, we created one more bpel process, which was bound to file-bc. The first activity in this process is a 'pick' activity. Five operations were defined corresponding to each input-file (name pattern and schema) in the WSDL under single port-type. And, the port-type was bound to the folder where all messages are received. For all five operations, polling interval was defined as 1000 ms.
For pick activitiy, five 'onMessage' node was created for each operation, which invoked the corresponding (one of five) BPEL process.
We tested this solution, and it worked. The solution was able to pick five types of input files and invoke the bpel-processes.
However, the system log of glassfish contains a number of exception error messages. To me, it looks like that all five operations are trying to get the lock on the folder at the same time and this exception is thrown. Though, it does not create any problem in execution of the process, it is a headache for the system administrator.
Is there any way to control these specific error messages, so that these are not sent to the system log?
The error message in they system-log is:
[#|2007-12-21T22:21:40.602-0500|SEVERE|sun-appserver9.1|sun-file-binding.com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=32;_ThreadName=filebc-ib-Thread-47;_RequestID=15c6d2fe-59e4-4f4f-970f-d13d5d7024ea;|FILBC-IMP0001: inonly message for operation {http://www.servicelive.com/wsdl/HPServiceOrder}AcceptCancelOrder failed processing, an exception was raised. null
java.lang.IllegalMonitorStateException
     at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
     at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1102)
     at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
     at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:343)
     at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:184)
     at java.lang.Thread.run(Thread.java:595)
|#]
[#|2007-12-21T22:21:41.602-0500|SEVERE|sun-appserver9.1|sun-file-binding.com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=32;_ThreadName=filebc-ib-Thread-47;_RequestID=15c6d2fe-59e4-4f4f-970f-d13d5d7024ea;|FILBC-IMP0001: inonly message for operation {http://www.servicelive.com/wsdl/HPServiceOrder}AcceptCancelOrder failed processing, an exception was raised. null
java.lang.IllegalMonitorStateException
     at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
     at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1102)
     at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
     at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:343)
     at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:184)
     at java.lang.Thread.run(Thread.java:595)
|#]
Thanks,
Sanjay

Sanjay,
Most of the folks that would normally reply are on winter holiday break, so there would be a delay in response. In the mean time, I would really appreciate if you log this as a bug at http://open-jbi-components.dev.java.net. You need to join as an observer to log this bug. You may also want to subscribe to [email protected] and start posting questions there so that you get a fast response from the Open ESB dev team. FYI, Open JBI Components is a sub project of Open ESB and the dev alias at Open ESB is very active.
Suresh

Similar Messages

  • Itunes Library .itl file in one folder, music in another Itunes makes no sense!

    A while ago I attempted to move one of my libraries to another folder to try to force Itunes to orginise my files in a way that makes sense.   Older versions of itunes apparently used a Music folder and the new one doesn't (or is it the other way around).  So I end up with some files in The Beatles/ItunesMedia/Music/Beatles and other files in Itunes The Beatles/Itunes Mediia/Beatles.  
    I wanted to force Itunes to re-orginize all of the files under which ever system is newer.  I read up and was happy to find tha Itunes had a command to re-orginize and/or consolidate the files.   BUT carrying out this process turned out to be baffling.   It is very unclear what exactly these commands do and how to use them.
    So now I have one folder called The Beatles and another folder called The Beatles ALL.   My .itl file is in The Beatles and all my music is in folders in The Beatles All/
    I tried to fix this and saw some really strange behavior.   When I open my Library and play a song, that song is moved to ANOTHER folder next to the Music folder.   So now I have my itl file in one folder, most of my music in another folder, and two songs in this new folder that itunes just created.   I'm guessing that everytime I play a song itunes will move it to the new folder (Why?)
    If you don't use separate Libraries please don't ask me why I am using separate Libraries.    I have a LOT of Beatles music that is more of a historical collection and I need to keep it separate from the Library of albums that I actually listen too.
    To me itunes behavior is crazy.   Can some one explain it in a way that will make me slap my forehead and say "of course...it makes so much sense!"?   or is it just as bizzare and random as I think?  
    Another approach that I considered was just creating a new library and importing all of those songs.  But I believe I would lose all of my playlists and I have my beatles collection extensively orginized by playlists.
    Help appreciated.
    Mike

    This is an overview of how your library ought to be organized and how you might get it there. I can give specific instructions if you provide more details such as the full locations of the folders you mentioned earlier.
    Make a split library portable
    Here are the typical layouts for the iTunes folders:
    In the layout above, with the media folder (everything in the red box) inside the library folder, the library is considered to be portable. A portable library can be moved from one path to another without breaking the links between the library and the media, and being self-contained is much easier to backup (You do backup, don't you?).
    You can rearrange things to make a split library portable by taking a number of small steps which don't break the library.
    Before you start any media files that are outside of the media folder will need to be consolidated (File > Library > Organize Library > Consolidate Files). If the library is in the old style layout then it should be upgraded to iTunes Media Organization (File > Library > Organize Library > Rearrange files in the folder <Media Folder>) to ensure that iPod Games, Mobile Applications etc. are brought inside the media folder.
    The basic non-fatal manipulations are:
    You can connect to an alternate set of library files by holding down Shift (Win) or Option (Mac) when starting iTunes.
    You can move the library files to a new location as long as the media stays put.
    You can move the library files and the media together if the media folder is a direct subfolder of the library folder.
    If you have already moved/copied the media content from a subfolder of the library folder to a different location then you only need to copy the library files for it to appear as if you have moved the entire library in the way allowed above. I.e. just copy the library files into the parent folder of the media folder.
    You can rename the media folder to iTunes Media (if it isn't already) if the media folder is inside the library folder.
    iTunes (prior to iTunes 11) uses the name of the folder holding the library files as the window title. Having made a library "portable" you may need to take a final step of renaming the library folder to iTunes or, if the library files have ended up at the root of a drive, moving all of the library files and content folders into a new folder called iTunes.
    After each change you need to open, test and close the relevant library before attempting another change. If a change broke the library, undo it or revert to using the previous set of library files.
    In essence all you need to do to make your library portable is copy the library files into the parent folder of the media folder on the external/secondary drive and use the hold-down-shift/option-when-starting-iTunes method to connect to it. Other manipulations may be required to normalize the library so that the library and media folders have standard names.
    tt2

  • Move files from one folder to another

    I am brand new to the application and have spent a ton of time googling various topics, but need some additional help. Seems easy enough, but I can't figure out how to do it...
    I would like to move pics from one folder to another. I can drag files from one folder to another, but they still reside in the original folder as well. Is there a way to cut and paste or a similar function to accomplish this move?
    Thanks.

    Hey, HawaiianHaole, as a multidecade Mac user, let me tell you, Aperture is about the worst example of Mac-iness one could imagine. Ironic, as it's (of course) made by Apple. But it is so inflexible, and insists so vociferously on making the user learn its peculiar interface conventions it reminds me most of something out of that famous company in Redmond.
    Want your Projects in an order you choose? Sorry! Want to arrange your windows so you can see your list of chat buddies while you're working in Aperture? Nope, can't do it! Aging eyes have trouble reading tiny grey type on a grey background? Hey buddy, it was your choice to grow old, don't blame us!
    But all is not lost. Aperture has gotten considerably better of late (versions up to 2.0 were fundamentally unusable in many ways) and will hopefully continue to improve. (ie Maybe they'll fix the printing thing...)
    Please don't make Aperture the basis for your judgement of the Mac OS. Many long time Mac users are having as much trouble with Aperture as you. Mac OSX has significantly reduced customizability but at the benefit of much improved stability and indeed usability. Old school Mac users had to learn to accept this, which most did. You'll hear people talk about the "Way of the Steve". As irksome as Aperture can be, you'll actually have a better time of it if you adopt the Way of the Steve, and accept that you can't do things the way you might want to. This is imho antithetical to the original Mac many of us knew and loved, but it's the way things are today, so we mostly shut up and take it. You can fight with your software all day, or just accept that there are ways you have to adopt and adapt to them.
    Welcome to the Bright Side, hope your Mac experience improves.

  • How do I move files from one folder to another?

    On my MacBookPro I am trying to move files from one folder to a BSB drive.  I can copy, but I do not want the files left in the original location.  What do I do?
    J W

    Press the Command key while dragging them.
    (58054)

  • Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original?

    Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original?  The cut and paste function is not available and there's no "move to" function.  Am I missing something?  It was so easy with Windows.

    Drag the files, or press Option when pasting them; this accesses the Move To function.
    (124070)

  • I suddenly can't move files from one folder to another in my FlashHelp project.

    I have RH8 (8.02). I have been working on this project for a couple of years now.
    What changed? I had imported a Word document and then removed the document and the folder it created from the Project Manager. Now I cannot move any of my files from one folder to another in the Project Manager pod. I susptected a corrupt CPD file so I closed the project, deleted the CPD file. Next I opened Robo from Programes (I never open from the .xpj file), went to Tools>Options and deleted the pinned most recently used project. Select Open, and locate/open the xpj file. I've also re-generated the output (no errors) and completed all these steps again. Of course Robo only goes haywire on me right before I have to publish for our new software release.

    Hi there
    From what I'm seeing my own guess here is that RoboHelp is still believing that the content belongs to word.
    I might suggest the following steps.
    Open Winows Explorer and make copies of the HTML files involved. Then from RoboHelp, delete or remove the content. Then use the Import function to add the desired HTML files back into the project into the desired folder.
    My thought is that by taking these steps you will have effectively disassociated Word and the topics should now be independent topics that RoboHelp should allow you to manage as you wish.
    Hope you get it sorted... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • I restored my bookmarks from a resent .json file, but one folder is now empty and one is missing.

    Hi,
    Because of reasons my computer needed to be refreshed. My old firefox profile folder was saved though, and with that the bookmarkbackups. As the title says I restored my bookmarks from a resent .json file, but one folder (containing probably about a hundred bookmarks) is now empty and one other is missing completely.
    In some places I have a 5 levels deep folder structure for my bookmarks, but since the folders missing are from different levels I don't think this is the problem.
    The now empty folder contained six or seven other folders, that in turn contained a lot of bookmarks with titles including non-alphanumerical characters. †?|&*()<-/., to be precise. However, if I restore a very old .json (from september 2013) the folders are present and contain the mentioned bookmarks - albeit much fewer, since the file is old. A few other bookmarks still present also contain the mentioned characters, so this is probably not the problem either.
    The folder that is completely missing just contained a lot of bookmarks that were to be sorted.
    When opening the more recent .json files (I have a whole month of automatic backups to choose from) in the firefox scratchpad it would seem that the bookmarks are missing alltogether, so I suppose that there is not much to do about it (please correct me if I'm wrong), but I definitely want to report the bug.
    Is there anything at all to do about it?
    Thanks,
    Hanna

    If the bookmarks aren't present in the JSON backup then it is likely that you got a corrupted places.sqlite file at some time that caused the backup not working properly.
    Did you try all the backups?
    Note that the xxxx part of the bookmarks-####-##-##_xxxx.json file name shows the number of bookmarks in the file.

  • How to move files from one folder to another folder in webdynpro java for sap portal

    Dear Experts,
    I wan to move files from one folder to another folder in SAP portal 7.3 programmatically in webdynpro java.
    My requirement is in my portal 1000 transport packages is their. Now i want to move 1 to 200 TP's into Archive folder.
    Can you please help me how to do in through portal or wd java ...
    Regards
    Chakri

    Hello,
    Do you know what the difference between copying a file this way :
    ** Fast & simple file copy. */
    public static void copy(File source, File dest) throws IOException {
    FileChannel in = null, out = null;
    try {         
    in = new FileInputStream(source).getChannel();
    out = new FileOutputStream(dest).getChannel();
    long size = in.size();
    MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);
    out.write(buf);
    } finally {
    if (in != null) in.close();
    if (out != null) out.close();
    ================SECOND WAY============
    AND THIS WAY:
    // Move file (src) to File/directory dest.
    public static synchronized void move(File src, File dest) throws FileNotFoundException, IOException {
    copy(src, dest);
    src.delete();
    // Copy file (src) to File/directory dest.
    public static synchronized void copy(File src, File dest) throws IOException {
    InputStream in = new FileInputStream(src);
    OutputStream out = new FileOutputStream(dest);
    // Transfer bytes from in to out
    byte[] buf = new byte[1024];
    int len;
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    in.close();
    out.close();
    And which is better? I read up on what each kind of does but still a bit unclear as to when it is good to use which.
    Thanks in advance,
    JavaGirl

  • Move files from one folder to another javascript?

    I am running a 3-action droplet automatically using windows task scheduler.  Here are the 3 steps:
    1.    Batch file to move files from hot folder to processing folder
    2.    Run IPP (dr brown's image processor pro) using preloaded settings to make several sizes copies of the files.
    3.    Bat file to move the files from processing folder to archive folder.
    The problem I am observing is that Step 1 works and IPP begins to run.  It only processes the first few images, and then moves on to the 3rd step where the bat file is ran to move all files from processing folder to archive folder.   The trouble is, only a few images were processes (about 10 or so), yet all of the images get moved to the archive without being processed.  Is there a way to make sure that step 2 (IPP) doesn’t begin until all files have successfully been moved from the hot folder to the processing folder?  IPP starts right away and files are still being transferred to the processing folder.
    Does anyone have a script that will move files from one folder to another? 

    I'm sure I have see a way to close down Photoshop in a Photoshop script.  I never had the need to.  It may be a simple statement like app.close(); I don't know javascript and only hack Photoshop script mostly by looking at others code.  app.close(); is a guess on my part. Let me try it. I was wrong its photoshop.quit();
    So make your MoveToArchive.jsx look something like this
    try{
       var BAT = new File(Folder.temp + "/MoveFilesToArchive.bat");
       BAT.open("w");
       BAT.writeln('Copy /Y "c:\\Process\\*.jpg" "c:\\Archive\\*.*"');
       BAT.writeln('Del "c:\Process\\*.jpg"');
       BAT.close();
       BAT.execute();   // execute the temp bat file
    }catch(e){
    alert("Bat MoveFilesToArchive  failed to execute.");
    photoshop.quit();

  • Why can't i move files from one folder to another by sliding them?

    help. i am trying to move files from one folder to another. but i cant slide them by clicking on a file and sliding it to another place. any suggestions? thank

    Go to Finder "Go" menu hold the option key and choose Library. Then go to Preferences trash these files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    Then, restart, or log out and in again.
    (You will have to reset a few finder prefs the way you like them.)

  • Moving files from one folder to another caused freeze

    I now have a list of files stuck in the center of my screen.
    I'm sure a reboot will fix this (I hope!) but I thought it was a bug worth reporting.
    All I did was move a copy a collection of files from one folder to another folder.  It made the "move" sound, and the files have been copied, but something clearly went wrong

    Have java.io.File objects pointing to the three folders. Get the list of all the files in the folder. Start a loop and check if the filename ends with Data.dat. If it is so then copy file to the final folder.
    To Copy file you can use any of the two approaches.
    1. You can read that file as byte stream (java.io.FileInputStream) and write it to the other folder as bytes (java.io.FileOutputStream).
    2. You can use shell commands to do this. (java.lang.Runtime.exe() method)
    Ali Ahsan

  • I have edited RAW files in one folder and want to save them as JPG's in another folder. I'm a recent Mac convert...still learning.

    I have edited RAW files in one folder and want to save them as JPG's in another folder. Can anyone help? I'm a recent Mac convert...still learning.

    File -> Export and choose the export preset you prefer.
    Regards
    TD

  • In finder cannot easily change files from one folder to another. Drag and drop does not work. There should a cut and paste feachure.

    In finder I cannto easily change files from one folder to another.  There should de a cut and paste for this.  Not drag and drop. thanks P.

    paulfromqueretaro wrote:
    In finder I cannto easily change files from one folder to another.  There should de a cut and paste for this.  Not drag and drop. thanks P.
    OS X is all about keyboard shortcuts.
    To cut       cmd+x
    To copy     cmd+c
    To paste    cmd+v
    With the Mouse, hold command and drag to your destination.

  • How do I bundle files into one folder on my mac OS X version 10.6.8?. I do not see launchpad on my desktop.

    How do I bundle files into one folder on my mac OS X version 10.6.8? I don't have an icon for Launchpad on my desktop.

    Put the files you want on the first page into the folder, and then use subfolders for the subsequent pages. If the process you saw involved Launchpad on a newer OS, it can’t be done on 10.6.8.
    (108795)

  • To Place the XML file from one folder to another folder in AL11

    Hi All,
      Here my requirement is to create the quotes using XML document. The XML document will come from the Application server. this one is fine.
    Now my prob is after processing the XML file, we have to place the XML file into another folder.
    Please let me know how to move the data inot XML file.
    Now iam reading the data into one variable V_string(it will contains the total XML file). From this variable how to move the data into APplication server.
    Please do the needful.
    Regards,
    Sreehari

    Hi,
    Use FM WS_FILE_COPY To FIrst Copy the File to some Location
    and Next Use FM TMP_GUI_DELETE_FILE To Delete the File from Old LOcation.
    Regards
    Bala.M

  • Tranfer file from one folder to other in application server

    Hi Champs,
       I want to tranfer files which are in error from one folder to another
    Source Dir: usr/feeders//interfaces/EP1/payrollact/Resourcelink
    Destination Dir: usr/feeders//interfaces/EP1/payrollact/Resourcelink/reprocess
    The coding needs to be written in my ABAP report.
    I have an idea that this can be done through SM69, by creating code in UNIX and then using FM SXPG_COMMAND_EXECUTE in our ABAP code.
    I went to TCode SM69 and have created a Command name but dont know where to put the file path of source and destination and also dont know how this can be used in FM SXPG_COMMAND_EXECUTE.
    Please can some one guide me with how to do.
    Regards,
    Nishant

    Hi Nishant,
                try this.
    PARAMETERS: Source_file TYPE SAPB-SAPPFAD
    default '\folder1\abc,pdf'.
    PARAMETERS: target_lfile TYPE SAPB-SAPPFAD
    default '\folder2\abc,pdf'.
    START-OF-SELECTION.
      CALL FUNCTION 'ARCHIVFILE_SERVER_TO_CLIENT'
        EXPORTING
          path                      = source_file
         TARGETPATH        = target_lfile
    EXCEPTIONS
       ERROR_FILE       = 1
       OTHERS           = 2
      IF sy-subrc  0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

Maybe you are looking for

  • What is the proper way to create a new line space int the output?

    I want to create a space in between each input so the output would look something like this, Name of item 1: lollipops Quantity of item 1: 10 Price of item 1: .50 Name of item 2: diet soda Quantity of item 2: 3 Price of item 2: 1.25 Instead of this:

  • Compilation failed while executing: ADT

    I have a project that I've been successfully compiling for iOS in Flash Professional 5.5, with uses AIR 2.6. I decided to try compiling in Flash Builder 4.6 using AIR 3.1. It runs fine on the desktop, no errors or warnings. When I try to do an Ad Hoc

  • What are the steps for upgrading os x 10.5.8 to 10.6.7

    I'm thinking of upgrading from 10.5.8 to 10.6.x.  Can I just install over the top of 10.5.8 or do I need to do something beforehand?  Do I just insert the disk and run? Much obliged.

  • PL/SQL compile options

    Is there any way to give the PL/SQL compile options while compiling from SQL*PLUS like we give in Pro*c Compilers using EXEC ORACLE OPTIONS (name=value); Thanks

  • Publication with WebI report including all transactions from last run

    Hi, using BOE XI R3 FixPack 4. I want to create a WebI report that should include all data newer than last run time for the publication. How do I get last run date for a publication or WebI report?