BPEL 2.0 throws some of the faults as exceptions.. how do i handle them

hi All
I am using Jdev 11.1.1.6
There is something weird happening while i am trying to handle faults in BPEL 2.0..
Scenario: I am simply transfering data from one table to another and there is mismatch of the length in two tables i.e. target table have column with 30 length and source system is sending data of 40 length..
so i am expecting a BPEL Binding Fault for the same
but I am getting an exception from BPEL 2.0 for the same.. and it is not thrown as a fault to catch block.. Project gets Rolledback without throwing Fault to catch Block..
then i tried same with BPEL 1.1 and it gave me fault as expected in catch block which i could handle by sending fault notifications..
but BPEL 2.0 does not give me option of sending notifications as i do not get fault in Catch block..
Issue: How do i handle the fault in BPEL 2.0 when its throwing it as exception?????
Below is the trace i get from my instance with BPEL 2.0 and BPEL 1.1..
Getting Exception From BPEL 2.0 as below_: After throwing the exception process gets rolledback but instance is always in running mode
Non Recoverable System Fault :
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception. merge failed. Descriptor name: [MergeItemDBAdapterV1.Item]. Caused by java.sql.BatchUpdateException: ORA-12899: value too large for column "ITEM"."ITEMNAME" (actual: 40, maximum: 30) . Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-12899" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
Exception i am getting in Invoke Activity but No Fault
<fault>
<exception class="com.collaxa.cube.engine.EngineException">
JTA transaction is not in active state. The transaction became inactive when executing activity "" for instance "520,633", bpel engine can not proceed further without an active transaction. please debug the invoked subsystem on why the transaction is not in active status. the transaction status is "MARKED_ROLLBACK". The reason was The execution of this instance "520633" for process "BPELProcess2" is supposed to be in an active jta transaction, the current transaction status is "MARKED_ROLLBACK", the underlying exception is "BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception. merge failed. Descriptor name: [MergeItemDBAdapterV1.Item]. Caused by java.sql.BatchUpdateException: ORA-12899: value too large for column "ITEM"."ITEMNAME" (actual: 40, maximum: 30) . Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-12899" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. " . Consult the system administrator regarding this error.
<stack>
<f>com.oracle.bpel.client.util.TransactionUtils.throwExceptionIfTxnNotActive#107</f>
<f>com.collaxa.cube.ws.WSInvocationManager.invoke#352</f>
<f>com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke#1070</f>
<f>com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke#584</f>
<f>com.collaxa.cube.engine.ext.common.InvokeHandler.handle#132</f>
<f>com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements#74</f>
<f>com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform#166</f>
<f>com.collaxa.cube.engine.CubeEngine.performActivity#2687</f>
<f>com.collaxa.cube.engine.CubeEngine._handleWorkItem#1190</f>
<f>com.collaxa.cube.engine.CubeEngine.handleWorkItem#1093</f>
<f>com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal#76</f>
<f>com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage#218</f>
<f>com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory#297</f>
<f>com.collaxa.cube.engine.CubeEngine.endRequest#4609</f>
<f>com.collaxa.cube.engine.CubeEngine.endRequest#4540</f>
<f>com.collaxa.cube.engine.CubeEngine._createAndInvoke#713</f>
<f>...</f>
</stack>
</exception>
<root class="oracle.fabric.common.FabricInvocationException">
BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception. merge failed. Descriptor name: [MergeItemDBAdapterV1.Item]. Caused by java.sql.BatchUpdateException: ORA-12899: value too large for column "ITEM"."ITEMNAME" (actual: 40, maximum: 30) . Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-12899" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
<stack>
<f>oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException#75</f>
<f>oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException#307</f>
<f>oracle.integration.platform.blocks.adapter.AdapterReference.post#293</f>
<f>oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost#142</f>
<f>oracle.integration.platform.blocks.mesh.MessageRouter.post#197</f>
<f>oracle.integration.platform.blocks.mesh.MeshImpl.post#215</f>
<f>sun.reflect.GeneratedMethodAccessor1455.invoke</f>
<f>sun.reflect.DelegatingMethodAccessorImpl.invoke#25</f>
<f>java.lang.reflect.Method.invoke#597</f>
<f>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection#307</f>
<f>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint#182</f>
<f>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed#149</f>
<f>oracle.integration.platform.metrics.PhaseEventAspect.invoke#71</f>
<f>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed#171</f>
<f>org.springframework.aop.framework.JdkDynamicAopProxy.invoke#204</f>
<f>$Proxy315.post</f>
<f>...</f>
</stack>
</root>
</fault>
Getting Exception as well as Fault from BPEL 1.1 as below_
->Here i am getting exception as above
Non Recoverable System Fault :
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception. merge failed. Descriptor name: [MergeItemDBAdapterV1.Item]. Caused by java.sql.BatchUpdateException: ORA-12899: value too large for column "ITEM"."ITEMNAME" (actual: 40, maximum: 30) . Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-12899" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
->and here is the fault thrown by BPEL 1.1
Non Recoverable System Fault :
<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception. merge failed. Descriptor name: [MergeItemDBAdapterV1.Item]. Caused by java.sql.BatchUpdateException: ORA-12899: value too large for column "ITEM"."ITEMNAME" (actual: 40, maximum: 30) . Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-12899" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>ORA-12899: value too large for column "ITEM"."ITEMNAME" (actual: 40, maximum: 30) </detail></part><part name="code"><code>12899</code></part></bindingFault></bpelFault>
Fault i am getting in Invoke Activity
<fault>
<bpelFault>
<faultType>0</faultType>
<bindingFault>
<part name="summary">
<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception. merge failed. Descriptor name: [MergeItemDBAdapterV1.Item]. Caused by java.sql.BatchUpdateException: ORA-12899: value too large for column "ITEM"."ITEMNAME" (actual: 40, maximum: 30) . Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-12899" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
</part>
<part name="detail">
<detail>ORA-12899: value too large for column "ITEM"."ITEMNAME" (actual: 40, maximum: 30) </detail>
</part>
<part name="code">
<code>12899</code>
</part>
</bindingFault>
</bpelFault>
</fault>
Please suggest..

I sorted out what is happening..
When My Target DB is Empty and Merge operation is executed , Fault is thrown and catch block was able to catch it
And When My Target DB is having Values, It is thrown as Exception.. i.e. no fault to Catch block :(
Someone have any idea, hoe this can be resolved???
Edited by: 910947 on Aug 31, 2012 1:43 AM

Similar Messages

  • I have photos I want to group together in one album, but can't do this because some may have the same number. How can I combine them all into one album?

    I have photos I want to group together in one album, but can't do this because some may have the same number. How can I combine them all into one album? I was trying to move several albums onto a USB drive and it stated all other files exist at this location.  They are pictures taken at different times and have the same number I guess.

    In iPhoto albums may contain photos with the same file name - iPhoto handles that just fine
    If you are exporting them to move somewhere else use the sequential file name feature of export to give each file a unique name
    LN

  • I have been dragging my files to a external drive to have a back-up for them and I lost some of my folders. They just went completely missing. I didn't delete them, and it was all stuff that I have worked on in the past month. How do I get them back?

    I have been dragging my files to a external drive to have a back-up for them and I lost some of my folders. They just went completely missing. I didn't delete them, and it was all stuff that I have worked on in the past month. How do I get them back?

    You really should be doing backups with an actual backup application, especially one that will work automatically, and, if your external HD is large enough, back up your entire system.  These can automatically back up only what's changed since the  previous backup, and some will keep "archive" copies of things you've changed or deleted, also.
    Too many things can go wrong, such as your internal HD failing, and you'll have a major project to reinstall everything.
    You already have Time Machine, built-in to OSX.  You might want to review the Time Machine Tutorial, and perhaps browse Time Machine - Frequently Asked Questions.
    #27 in the second link mentions some alternatives, too.

  • Some of my album titles aren't in alphabetical order in the album title playlist . how can I sort them outt

    some of my album titles aren't in alphabetical order in the album title playlist . how can I sort them out

    Hi Chris and thanks for your answer. I am not talking about the contents of a particular album but the list of albums I have on the left hand side of the itunes screen. there are a dozen albums at the top that aren't in any order and I can't drag them down to where in the playlist they should be to keep them in some sort of order. any assistance would be helpfull and h. new year from Aust. .......s.l.f.f. ....re( my names Chris to )

  • When I updated the new version and used icloud, some of the apps are missing, how can I find those apps(but i was not using my account to download some apps before). Please advise.

    When I updated the new version IOS5 and used icloud, some of the apps are missing, how can i find those apps (but i was not using my account to download some apps before).  Please advise.

    They are free to iOS 7 users who have activated their NEW device on Sept 1 2013 or after. They are NOT automatically free with iOS 7.
    AirDrop is only compatible with iPad 4th gen and iPad mini. iPad 3rd gen and below do contain the necessary hardware for AirDrop. Also, AirDrop is only compatible between iOS devices. You cannot AirDrop between iOS device and Mac OS.

  • A music album is listed multiple times in my library but each listing only has a few songs in it-not the full listing.  How can I combine them into one album and get rid of other duplicate listings?

    Several music albums listed in my IPhone 5 music library are listed multiple times, but each one only has a portion of the songs listed.  How can I combine them to make one album?

    First....Thank you so much for your prompt reply.  I am sorry for not getting back to you regarding your suggestion-I had computer issues that just got resolved.  Also, this is my first foray into online chat rooms so I have a lot to learn to precisely state my issue!  I did as you suggested and all the songs list the same album when I go into each song's "get info".  However, I am not sure how to edit as you suggested. When I downloaded this album originally, for some reason it broke up into several albums each with different songs from the original album.  I am trying to consolidate them back into one album in my library.  I would greatly appreciate further assistance if you can.  Also, I do not use "the cloud" to store any data and would like a good source of info on how to do this.  Thanks so much for your patience!
    SueZoo

  • I have purchased and downloaded some TV Shows through iTunes. How can I watch them on my iPad without an internet connection?

    I have purchased and downloaded some TV Shows through iTunes. How can I watch them on my iPad without an internet connection?

    Demo the same thing happened to me.  I purchased a seasons pass for Sons of Anarchy Season 6 and I've got the eposides on my IPad but Airplay won't allow me to watch the episodes without an internet connection or WiFi.  Is there anything else I can do so that I can watch these eposides without an internet or wifi connections?

  • I lost some photos when updating my OS, how can I find them

    I lost some photos when updating my OS, how can I find them.  I have already tried to restore through my PC but the photos are still not there.  Any thoughts?

    If you haven't backup up your phone, then your photos are gone.
    In addition you should import your photos to your PC, just like a ditigal camera, as a secondary backup in case you lose your pics you could always sync it back using Itunes.

  • My photos in a folder are not in the correct order. How can I move them around?

    I  Am making an album of the life of an aunt. My photos are all in the wrong order. How can I move them around in the folder?

    lets use the correct words so we do not mis-communicate
    are you using iPhoto or the finder?  Never touch your photos using the finder if you use iPhoto!
    In iPhoto folders can not hold photos - folders hold only other folders or albums - albums hold photos  --  within an album you can manually arrange photos as you wish

  • I have a .mac family account, a personal .mac account and separate iTunes id I use for my work iPhone and the associated apps.  How do I keep them separate in the iCloud change?

    I have a .mac family account, a personal .mac account and separate iTunes id I use for my work iPhone and the associated apps.  How do I keep them separate in the iCloud change?

    Welcome to the Apple community.
    Could you tell us a little more about what you want to do. Bear in mind that iTunes has nothing to do with your iCloud account.

  • A lost my remote control for apple tv. I want to use my phone as a remote but the applications can' pair with the Apple TV device , how can I pair them without remote?

    A lost my remote control for apple tv. I want to use my phone as a remote but the applications can' pair with the Apple TV device , how can I pair them without remote?

    Setup for remote app: http://support.apple.com/kb/ht1947
    Specifically:
    Set up Apple TV (2nd and 3rd generation)
    On Apple TV, select Settings from the main menu.
    Select General > Remotes > Remote App. If Home Sharing isn't set up on your Apple TV, you should turn it on.
    Apple TV (2nd and 3rd generation) uses Home Sharing to stream content from your iTunes library on your computer to your HDTV.  If  you connect your Apple TV to your iTunes library using  Home  Sharing, you can use Remote to browse and play content from any  iTunes library in the Computers   section of your Apple TV. You can also  use Remote to select  between available speakers to enhance  your  audio and video experience.

  • HT4191 I have Notes that transferred to email when I set up a new email acct. They no longer appear in Notes. I can only access them in the email acct. How do I get them out of the email acct and back to the Notes app?

    I have Notes that transferred to an Email acct when I set up the acct. The Notes no longer appear in the Notes app only in the Email acct. How do I get them out of the Email acct and back to Notes? I stopped at an Apple store and they told me to copy them from the email back to Notes. But when I was in the email acct, I could not find a way to copy them. Shouldn't Notes remain in Notes unless I specifically send them somewhere else?

    Go into Settings > Mail, Contacts, Calendars, select that email account on the right-hand side of the screen and turn Notes 'on' for it - they should then appear in the Notes app instead of as an email folder in the Mail app (they will still be linked to that email account, so you may need to tap the 'Accounts' button at at the top left of the list of notes)

  • I just lost all my contacts on the ipod2 ...how do I get them back? They just disappeared while I was typing in a new contact.

    I just lost all my contacts on the ipod2 ...how do I get them back? They just disappeared while I was typing in a new contact.  Help!!

    joephilipose,
    If the contacts are still in Address Book on your computer, but just not on the phone, you can tell iTunes to force replace the contacts on your phone with those from your computer. You can do this by going into the Info tab when your iPhone is connected, and checking the Contacts box under the Advanced section at the bottom of the page.
    You may also want to backup your Address Book information as well. It's a good idea to make periodic backups of your contact and calendar information in case information accidentally gets deleted or changed. You can find out how to backup your Address Book data here:
    http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
    To backup your iCal information, follow the steps in this article:
    http://docs.info.apple.com/article.html?path=iCal/3.0/en/9889.html
    Hope this helps,
    Jennifer B.

  • I reinstalled my plug-ins into Photoshop CC (2014) on Mac OSX 10.9.4, and they are greyed out in the Filters menu. How do I get them to work? I have tried everything including repairing permissions.

    I reinstalled my plug-ins into Photoshop CC (2014) on Mac OSX 10.9.4, and they are greyed out in the Filters menu. How do I get them to work? I have tried everything including repairing permissions.

    My apologies. Your post jogged my little grey cells to the point that I did a few experiments. In essence, you are right. My plug-ins do not work with 8-bit greyscale images. I like to deliberately shoot B&W and have a Wratten #12 minus-blue filter on the lens--as I used to do with film cameras.
    The raw files ( Fujifilm's .RAF) were converted in Adobe CR by checking off "Convert to Grayscale" under the fourth tab. In the future, I will do the B&W conversion in Photoshop with either Nik or Topaz plug-ins.
    Thanks for your input!

  • "Reply" and "Forward" and "Move" have disappeared rom my email, so I have to go into "mailbox" in the top bar.   How can I get them back?

    "Reply" and "Forward" and "Move" have disappeared rom my email, so I have to go into "mailbox" in the top bar.   How can I get them back?

    under the "view" menu open custimixze toolbar.  Then drag those from that list back up to your tool bar.   

Maybe you are looking for

  • Exported videos to external hard drive, now videos will play? in .mov mode

    Hi, I bought a WD My Passport for MAC.  I exported all of my videos (I still have the videos iPhoto, they aren't deleted yet.) into the external hard drive.  All my videos are in .mov format, and will not play on my computer when I click to play.  It

  • How to Run a SCSI Scanner with Firewire In OS X?

    Does anyone know how to run a SCSI scanner with Firewire in Mavericks? I have unsuccessfully tried the RATOC FR1SX SCSI-to-Firewire converter. The Ratoc is recognized as a Firewire device in the System Profiler (see pic below). However, the VueScan s

  • Trouble from our Lab Machines

    We are now getting close with everything ... we have the correct authentication working for our admins, faculty, and students. There are a few problems with logging in on our lab machines. The thing that concerns me the most is the following error we

  • BW 7.0 DataSource

    Hi Experts This is my problem: I must import a big Oracle table into BW 7.0. (about a 100 fields) As i don't want to introduce all the fields manually, I use the "Field proposal" feature in the proposal tab of the DataSource. Using DBConnect the fiel

  • Upgrading from trial to paid

    Hi, I just upgraded from trial to paid (final cut pro x) I thought it would just unlock the trial version, but instead it started downloading the 1.51 GB file again (I clicked the buy button from the trial, it appeared to try to open the app store, b