Error handling when removing expired stuff

8.1.7.1.0 on Sun...
Trying to delete expired backups when, in fact, there aren't any expired backups does not return an error. And it shouldn't. This is correct.
Trying to delete expired backup sets older than a specific date when there aren't any returns an error message. Why?
Regards,
per
RMAN> delete expired backup of archivelog all ;
RMAN-03022: compiling command: delete expired
RMAN-03023: executing command: delete expired
RMAN-03023: executing command: partial resync
RMAN> delete expired backup of archivelog until time 'sysdate -14' ;
RMAN-03022: compiling command: delete expired
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: delete expired
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archivelog in the
recovery catalog

Thanks for responding.
I suppose I could instruct an operator to disregard certain
error messages. What4s more troublesome is that RMAN returns
error status and that's really not the kind of help you want
when trying to create shell scripts... :(
I4d be interested to learn how others deal with this.
rgds, per

Similar Messages

  • [svn:osmf:] 15072: Fix FM-600: Need better error handling when parsing F4Ms .

    Revision: 15072
    Revision: 15072
    Author:   [email protected]
    Date:     2010-03-26 13:42:52 -0700 (Fri, 26 Mar 2010)
    Log Message:
    Fix FM-600: Need better error handling when parsing F4Ms.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-600
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/F4MLoader.as

    Hi, everything in the "Quick Reference" section should be commented out with ;
    You should change those settings further down in the php.ini file.
    Example:
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    display_errors = Off
    Last edited by adrianx (2013-07-26 12:32:02)

  • JSF error handling when the bean is not correctly loaded

    Hi,
    I am doing some error handling in JSF and I want to do it in an elegant way. I have the following scenario for error handling.
    When the bean is initialized I load the bean with values from DAO which give SQL Exceptions.
    Since the bean is not loaded I properly I have to send the user to an error page showing the error message why I am sending the user to this page.
    I can do it by [ FacesContext.getCurrentInstance.redirect("/error.jsf") ] doing so I will loose all the FacesMessages that are added by the exceptions.
    Instead I want to use the [ FacesContext.getCurrentInstance.dispatch("url") ] which will allow the transfer of the user but I get the following
    16:59:39,341 WARN [lifecycle] executePhase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@8537f9) threw exception
    java.lang.ClassCastException: javax.faces.component.UIViewRoot
    and the method that I am calling is
    public static void programErrorEnd() {
    logger.info("in the prgmErrorEnd mehod");
    //intializing the contex object
    FacesContext ctx = FacesContext.getCurrentInstance();
    try {
    //ready to dispatch the url.
    //ctx.getExternalContext().redirect("app/error/prgmerror.jsf");
    ctx.getExternalContext().dispatch("error/prgmerror.jsf");
    } catch (IOException e) {
    //TODO what to do when there is an error at this stage.
    finally {
    ctx.responseComplete();
    }Thanks and Regarding
    Edited by: sgatl2 on Aug 28, 2008 2:32 PM
    Edited by: sgatl2 on Aug 28, 2008 2:45 PM

    Just let it throw the exception and define an error-page entry in the web.xml which catches the specified exception (or a superclass of it or a HTTP status code) and displays the error.jsf page accordingly.

  • Error handling when loading flate files

    Hi
    We have a Process Chain loading flate files from a server into a ODS. We want to create a routine to avoid errors in the ODS when no files is found.
    The error we want to handle is
    Error 1 when loading external data
    Message no. RSAR234
    We want to handle this error message as OK to avoid red request in the ODS
    Please help
    Kind regards
    Ola Einar Langen

    Hi, and thanks for your hints.
    We ended up with the following codes. It's will mark the prosess chain red (but this is as wanted) but we have implemented that the prosess chain will proceed even with error in the loading process
    The code for the routine implemented in the infopackage in "External data" tab.
    p_filename = 'filename.txt.
    OPEN DATASET p_filename FOR INPUT IN BINARY MODE.
    If file could not be open
    IF SY-SUBRC NE 0.
        p_subrc = SY-SUBRC.
      delete the current request
        CALL FUNCTION 'RSSM_DELETE_REQUEST'.
    ENDIF.
    close the file if OK
    CLOSE DATASET p_filename.
    p_subrc = 0.
    The solution is no OK for us
    Kind regards
    Ola Einar Langen

  • Error Message when adding Expired Bidder

    Good Day Experts!
    I would like to know if there is a way to restrict adding of expired contact persons in an RFx.
    Thank you!

    If the system allows you to add expired bidders, you could implement the BBP_DOC_CHECK_BADI to throw an error message when that happens.

  • Error Handling when excel vba code does not find the file

    Hi Below is my code:
    file1 = Dir("Q:\Budget\Historical Budgets\" & new_dept_folder & "\*.xls*")
    col = 2
    col_new = 3
    Application.DisplayAlerts = False
    While (file1 <> "")
            filename = Left$(file1, 6)
            ' Open the newly selected workbook
            Set wb = Workbooks.Open("Q:\Budget\Historical Budgets\" & new_dept_folder & "\" & file1)
            udds = filename & " - " & wb.Sheets("Budget").Range("J1").Value
            ThisWorkbook.Sheets(1).Cells(1, col).Value = udds
            For x = LBound(data_new) To UBound(data_new)
                wb.Sheets("Budget").Select
                Range(data_new(x)).Select
                Selection.Copy
                ThisWorkbook.Sheets(1).Cells(x + 5, col_new).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
            Next x
             ' Close the current workbook
            wb.Close SaveChanges:=False
            On Error GoTo Errhandler
            Set wb_old = Workbooks.Open("Q:\Budget\Historical Budgets\" & old_dept_folder & "\" & file1)  
    <--- Need Error handling on this line (i.e. if I get error here)
            For x = LBound(data) To UBound(data)
                wb_old.Sheets("Budget").Select
                Range(data(x)).Select
                Selection.Copy
                ThisWorkbook.Sheets(1).Cells(x + 5, col).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,   SkipBlanks:=False, Transpose:=False
            Next x
            Application.CutCopyMode = False
            ' Close the current workbook
            On Error Resume Next
            wb_old.Close SaveChanges:=False
    Errhandler:
            For x = LBound(data) To UBound(data)
            ThisWorkbook.Sheets(1).Cells(x + 5, col).Value = 0
            Next x
            ' Select the next file in the dir array
            file1 = Dir
            col = col + 5
            col_new = col_new + 5
    Wend
    Everytime I run the code the errhandler which I don't need. Could you please help me on this.
    Regards, Hitesh

    Hi,
    You could check whether the file is exist, then open it.
    If Dir(path)<>”” Then
    There are three On Error Statements, On Error GoTo <line>, On Error Resume Next and On Error GoTo 0.
    More information, please refer to:
    # How to Use "On Error" to Handle Errors in a Macro
    https://support.microsoft.com/en-us/kb/141571?wa=wsignin1.0
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • List Error:invalidIndex when remove an item

    Hi Guys,
    I got the following exception, when i removed an item from spark list. I stepped into to see the index, i looked all right. Somehow, it went the following stack, and the index became an invalid index, which i am not sure where it was from. I found this thread - http://forums.adobe.com/thread/692482?tstart=0, but it is not the same problem.
    Error: invalidIndex
        at spark.layouts.supportClasses::LinearLayoutVector/remove()[E:\dev\4.x\frameworks\projects\ spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:541]
        at spark.layouts::VerticalLayout/elementRemoved()[E:\dev\4.x\frameworks\projects\spark\src\s park\layouts\VerticalLayout.as:1311]
        at spark.components::DataGroup/http://www.adobe.com/2006/flex/mx/internal::itemRemoved()[E:\dev\4.x\frameworks\projects\s park\src\spark\components\DataGroup.as:1580]
        at spark.components::DataGroup/removeRendererAt()[E:\dev\4.x\frameworks\projects\spark\src\s park\components\DataGroup.as:625]
        at spark.components::DataGroup/removeAllItemRenderers()[E:\dev\4.x\frameworks\projects\spark \src\spark\components\DataGroup.as:656]
        at spark.components::DataGroup/createItemRenderers()[E:\dev\4.x\frameworks\projects\spark\sr c\spark\components\DataGroup.as:840]
        at spark.components::DataGroup/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\s park\components\DataGroup.as:899]
        at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx \core\UIComponent.as:7933]
        at mx.managers::LayoutManager/validateProperties()[E:\dev\4.x\frameworks\projects\framework\ src\mx\managers\LayoutManager.as:572]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:730]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]
    Thanks in advance,
    Cheng

    Hi,
    I have exactly the same problem, getting the same error message and stack report (precisely the same).
    All I can say about the error is that it is very random - I can't figure out what changes the situation to produce the error.
    I have a class, extending the spark's TabBar, with a function to close a tab:
    public class VerticalIconTabBar extends TabBar
             public function closeTab(closedTab:int, selectedTab:int):void {
                 if (dataProvider.length == 0) return;
                 if (dataProvider is ViewStack){
                     //remove the entire child from the dataProvider, which also removes it from the ViewStack
                     (dataProvider as ViewStack).removeChildAt(closedTab);
                 //adjust selectedIndex appropriately
                 if (dataProvider.length == 0) {
                     selectedIndex = -1;
                 } else if (closedTab < selectedTab) {
                     selectedIndex = selectedTab - 1;
                 } else if (closedTab == selectedTab) {
                     selectedIndex = (selectedTab == 0 ? 0 : selectedTab - 1);
                 } else {
                     selectedIndex = selectedTab;
    I am showing you the whole  function, though I believe that the '//adjust selectedIndex  appropriately' part is not behind the problem. The problem occurs,  though, only when I am removing the last element from the taskbar (as far as I can tell) and it happens after this function has been called.
    One thing I noticed, but it might be sort of a red herring, is that I can reproduce the error after working a little bit longer (20+ seconds lets say) in the particular Viewstack view - or it's not about time but rather about clicking on different buttons in my UI, I am simply guessing.
    These are the locals of the LinearLayoutVector and its remove(index:uint) function at the time of the error thrown:
    this: pendingInserts = null, pendingRemoves = null, pendingLength = -1, length = 0
    local:
    index = 0 (this causes the error as it equals this.length)
    lastIndex = 0
    intervalStart = 0
    I suppose the length shouldn't be 0 or the function shouldn't be called at all - but I cannot affect that.
    I would be very grateful if you could point me towards the direction for solving this, as it causes the whole UI to jam and the only solution is to restart the whole application.
    Thank you,
    xixixao

  • 6630 system error message when removie memcard

    i have rm-1 6630 6.03.08 when i remove memcard i have 64mb card then few min later a message display system error and no keys work display is on but light is off no call no dial nothing work i remove battery then restart phone again and mobile is working again whats reason?

    Then i guess there is nothing much you can do other then resetting or reformatting your phone.
    You can do it by following these steps:
    - A  soft reset by keying in *#7370# when on standby - This will reformat the phone. DO NOT FORGET TO DO A BACK UP AS THIS WILL ERASE YOUR ENTIRE PHONE MEMORY.
    The security code by default is 12345
    If this fails as well then you may try doing the Hard reset by performing the 3 finger reset. You can do this by switching the phone on with the '3', '*' and green 'call' buttons pressed at the same time.
    Mark me a KUDOS if this has helped...

  • Error Handling when File/URL not found

    I am paging through a list of items in a datagrid and calling
    a URL (actually a local file) based upon which item in the grid was
    clicked. I'd like to throw an error if the file does not exist, but
    I can't figure out how. Can some one give me a clue? The docs on
    this subject are confusing to me. Here is the code:
    //add the search function for when the button is pressed
    import fl.controls.DataGrid;
    import fl.data.DataProvider;
    import fl.events.ListEvent;
    import flash.display.Sprite;
    getAcrobat.addEventListener(MouseEvent.CLICK,acroReader);
    backButton.addEventListener(MouseEvent.CLICK,goBack);
    litGrid.addEventListener(ListEvent.ITEM_CLICK,showPDF);
    function acroReader(e:MouseEvent) {
    var urlAcro:String = "
    http://www.adobe.com/products/acrobat/readstep2.html";
    var request:URLRequest = new URLRequest(urlAcro);
    try {
    navigateToURL(request, '_blank');// second argument is
    target
    } catch (e:Error) {
    trace("Page was not found!");
    function goBack(e:MouseEvent) {
    gotoAndPlay(1,"Scene 1");
    var XMLLiterature:XML = new XML();
    var XMLLit:URLRequest = new URLRequest("literature.xml");
    var XMLLoad:URLLoader = new URLLoader(XMLLit);
    var urlArray:Array = new Array();
    var theSelection:int = 0;
    XMLLoad.addEventListener(Event.COMPLETE,loadLit);
    function loadLit(e:Event):void {
    XMLLiterature = new XML(e.target.data);
    for each (var item in XMLLiterature.lit) {
    var litTitle = item.litTitle;
    var url = item.fileName;
    //var fileName = item.fileName;
    litGrid.addItem({AvailableLiterature:litTitle});
    //urlArray.push({Title:litTitle,url:url});
    function showPDF(e:ListEvent):void {
    var theSelection = e.rowIndex;
    var theRequest =
    "pdf/"+XMLLiterature.lit.fileName[theSelection];
    var theLitRequest:URLRequest = new URLRequest(theRequest);
    try {
    navigateToURL(theLitRequest, '_blank');// second argument is
    target
    } catch (err:Error) {
    trace("Page was not found!");
    stop();

    When you setup your URLLoader, also listen for an
    IOErrorEvent, which will fire if the file does not exist. Here is
    an example:
    package {
    import flash.display.Sprite;
    import flash.events.IOErrorEvent;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    public class IOErrorEventExample extends Sprite {
    public function IOErrorEventExample() {
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(IOErrorEvent.IO_ERROR,
    ioErrorHandler);
    var request:URLRequest = new URLRequest("MissingFile.xml");
    loader.load(request);
    private function ioErrorHandler(event:IOErrorEvent):void {
    trace("ioErrorHandler: " + event);
    }

  • Error 1723 when removing scom 2012 sp1 agent

    Hi All,
    I am trying to remove the scom 2012 SP1 agent from a machine and i get an error - 'Error 1723. There is a problem
    with this Windows Installer package. A DLL required for this install to complete could not be run.
    Any idea how can i remove the agent from the box. Let me now if any other info required to give a hint to the problem.
    Durgesh Kumar

    Hi,
    Reinstall the agent, and the uninstall ? If possible, reboot the server and then uninstall?
    Same issue here:
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_install/get-error-1723-there-is-a-problem-with-windows/3d68fc4b-c968-4796-a270-27027a52de3f?page=2
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Error handling when value is null

    hi i have a stuation where i what to display meaningfull error message if the lov is not selected,am navigating to next page based on lov selection,i what to display good message if you try to navigate without making selection
    public String showSelectedOrg() {
    BindingContext lBindingContext = BindingContext.getCurrent();
    BindingContainer bindings = lBindingContext.getCurrentBindingsEntry();
    // get the list binding for the Organisation lov
    JUCtrlListBinding list = (JUCtrlListBinding)bindings.get("Organisationid");
    if (list.isEmpty()) {
    JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
    // get the selected index from the list which is stored in the Orgidd1 attribute
    AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Orgid1");
    Integer selid = (Integer)attr.getInputValue();
    // load the listdata
    Object row = list.getDisplayData();
    // get the selected row from the list
    if (row == null){
    JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
    //JSFUtils.addFacesErrorMessage(msg);
    Row lFromList = (Row)list.getValueFromList(selid);
    if( lFromList.equals(null)){
    JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
    //JSFUtils.addFacesErrorMessage(msg);
    // from the row we get the PK the orgnasationId
    Object lAttribute = lFromList.getAttribute("Organisationid");
    Object orgname = lFromList.getAttribute("Organisationname");
    Number newVal = (Number)lAttribute;
    String neworg = (String)orgname;
    _logger.info("Information: selected Organisation = " + newVal);
    System.out.println("neworg " + newVal);
    System.out.println("testorg " + neworg);
    selectedState = neworg;
    // get the MethodAction for setCurrentRowWithKeyValue
    OperationBinding method = bindings.getOperationBinding("setCurrentRowWithKeyValue");
    // set hte needed parameter as the organisation id
    method.getParamsMap().put("rowKey", newVal);
    method.execute();
    // after execution check for errors
    if (list.isEmpty()) {
    JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
    List errors = method.getErrors();
    if (!errors.isEmpty()) {
    JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
    /* Exception ex = (Exception)errors.get(0);
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, ex.getMessage(), "Select Atleast One Organisation");
    FacesContext.getCurrentInstance().addMessage(null, msg);*/
    // keep on page in case of an error
    return null;
    // navigate to the next page
    return "show";
    public static void addFacesErrorMessage(String msg) {
    FacesContext ctx = getFacesContext();
    FacesMessage fm =
    new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
    ctx.addMessage(getRootViewComponentId(), fm);
    currently am just geting NPE IN THIS LINE
    Row lFromList = (Row)list.getValueFromList(selid);
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
        at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
        at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
        ... 38 more
    Caused by: java.lang.NullPointerException
        at uam.cadastre.gov.za.OrgDetails.showSelectedOrg(OrgDetails.java:2414)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.el.parser.AstValue.invoke(Unknown Source)
        at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
        at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
        ... 45 more

    > currently am just geting NPE IN THIS LINE
    > Row lFromList = (Row)list.getValueFromList(selid);
    This cannot be true because the only possible cause for the NPE in this line is list. But if list was null you would have your NPE 13 lines earlier at
    > if (list.isEmpty()) {
    bye TPD

  • Error Handling when piping output in workflow using inline script

    Hello,
    I have powershell code where I am using Workflow and InlineScript. I  am piping output to an Object Property. For some reason Catch doesnt work when it encounters an invalid parameter. Please advice
    workflow test-service
        param([string[]]$Server,[string]$svc)
        foreach -parallel ($srv in $server)
            InlineScript
                $props=[ordered]@{
                Computer=$USING:srv;
                Service=$USING:svc;
                State=$null }
    Try
                            $props.State=Get-WmiObject -Class Win32_Service -ComputerName $USING:srv | Where-Object {$_.Name -eq $USING:svc} | Select-Object -ExpandProperty State
                    Catch
                            $props.State = "$_."
                New-Object -TypeName PSCustomObject -Property $props
    $a = "random123456"
    test-service -svc $a -Server Client1,Client2Thanks in advance. 
    Rajiv

    Hi Rajiv,
    that certainly explains it :) (sorry I misunderstood the initial question apparently)
    Putting this in the Try Block should work:
    $props.State = Get-WmiObject -Class Win32_Service -ComputerName $USING:srv -ErrorAction 'Stop' | Where-Object { $_.Name -eq $USING:svc } | Select -ExpandProperty State
    if ($props.State -eq $null) { $props.State = "Service does not exist!" }
    Two changes here:
    I replaced Select State with Select -ExpandProperty State. This should cause it to look a bit better in the output as you get the state value directly, instead of an object with the state property. In your original output you'd have to
    call $ExampleOutput.State.State to access the value. With this change you can access it with
    $ExampleOutput.State instead.
    The second line replaces an empty $props.State (which it will be if there is no such service) with the string
    "Service does not exist!" (feel free to replace that with whatever serves your needs).
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • Need to Turn it OFF  the Notification used by the AIA Common Error Handler.

    Hi All,
    My requirement is to turn it off the Notifcation send by the AIA common Error Handler, when the error occurs in the AIA ecosystem.
    Error Handling framework given by AIA does the Notification and Logging feature. In my case I need only the logging, but not the Notification. Notification has to be turned off for a time and has to be turned on when it is required.
    1) I can acheive this by removeing the email account file (ie. ns_email.xml) from the server directory and can be replaced at the time when required,but this needs the restart of the Server.
    Any Idea how to turn it off the notification and turn it on when required ?
    Thanks,
    Ashok.

    Hi Rohit,
    Thanks for your reply.
    Is there any way to turn it off the Notification, because if we retire the ReadJMSNotification Service all the error message are stayed in the Topic and we have to manually drain the message from topic.
    And one more thing is how the error messages are published to that AIA.AIA_Error_Topic.
    Thanks,
    Ashok.

  • Error Handling in File Adapter

    I have been working on a requirement where the file adapter picks up the file and gives to the BPEL for processing the data.
    So, in order to do Error Handling for file adapter, i have been reading the Oracle documentation for technology adapters. In that, some of the
    points which i felt valuable for my error handling when using file adapter are the uniqueMessageSeparator property, fault-policies for rejected messages,
    and one of the action for rejected messages could be writing the payload to a file or invoking any other webservice.
    In my composite, i have configured the file adapter as a service for reading files, and i defined the xsd using the native format builder....If i put some data like 'aaaa' in the attribute of type integer , the .csv file is being picked up and its being passed to the BPEL without any error ? I believe there should be a translation error...right...
    But i am not getting the error, please tell me if anything is wrong in my xsd....
    Here is my xsd...
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/InboundService"
    targetNamespace="http://TargetNamespace.com/InboundService"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    nxsd:hasHeader="true"
    nxsd:headerLines="1"
    nxsd:headerLinesTerminatedBy="${eol}"
    >
    <xsd:element name="names">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="FirstName" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="LastName" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="Number" type="xsd:integer" nxsd:style="terminated" nxsd:terminatedBy="${eol}" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    And for DB Adapter, there is a property called SchemaValidation, i think that is not there for File adapter, by default it will take care of validation i guess....In another composite, my file adapter is picking up the .xml file and if i put any wrong data over there, that is working fine, i am getting the translation error, but only here in the case of csv file, i am not getting the error. Experts, please help me in this regard...I am using SOA 11G
    Thanks,
    Naresh

    Hi Yatan,
    Thanks for the reply. I did the same way, where my composite is picking up an XML file and translation error is coming. Even the fault policies are working fine, like writing to a file and even invoking other web service. Its really good that you have achieved the same thing in csv files. But the same thing i am unable to achieve when my file adapter is picking up the csv file. I really cant understand where i am doing wrong.
    here is my XSD which i defined through my native builder format...
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/FileRecv"
    targetNamespace="http://TargetNamespace.com/FileRecv"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    nxsd:hasHeader="true"
    nxsd:headerLines="1"
    nxsd:headerLinesTerminatedBy="${eol}"
    >
    <xsd:element name="Roots">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="FirstName" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="LastName" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="Number" type="xsd:integer" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    the jca file ..
    <adapter-config name="FileRecv" adapter="File Adapter" wsdlLocation="FileRecv.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/FileAdapter" UIincludeWildcard="n*.csv"/>
    <endpoint-activation portType="Read_ptt" operation="Read">
    <activation-spec className="oracle.tip.adapter.file.inbound.FileActivationSpec">
    <property name="DeleteFile" value="true"/>
    <property name="MinimumAge" value="0"/>
    <property name="PhysicalDirectory" value="C:\files"/>
    <property name="Recursive" value="false"/>
    <property name="PollingFrequency" value="5"/>
    <property name="IncludeFiles" value="n.*\.csv"/>
    <property name="UseHeaders" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    I told that the file will contain only 1 record while defining xsd and i kept a record whose values are John , Peter and akjdkjdskj.
    Now if the data is like above, the file is still getting picked up without any translation error and the BPEL is getting completed successfully...
    Is it possible for you to send your sample project and the csv file from which you have defined the xsd to me if you dont mind ?
    Thanks,
    Naresh

  • JCo Client Programming and Error Handling

    Hi all,
    I was wondering if anybody could help me out with some advice on error handling when writing code to send messages to SAP via a JCo Client, particularly IDocs.
    I understand from my reading that IDocs are always sent asyncronously to the SAP system from JCo, using JCO.Client.send(). So it is possible (and I have some test code working to do this) to force an exception with say a malformed IDoc, and catch the exception in my code.
    But due to the asyncronous nature of the send functionality for IDoc, I cannot see any way of getting back any "business level" exceptions (e.g. Order Number does not exist, Unknown Material, etc.)
    So my question is, is it possible to receive any of these type of error messages when sending IDocs to an SAP system using JCo? Perhaps by setting up a JCo Server with the correct error/exception listeners to receive these messages - but are they even sent out in the way?
    If not what is the process for handling them?
    It is of course possible to look in the SAP system using txn WE02 and see the problem/error but that does not help me to propagate this back to the sending application or to maintain state alignment between the two apps.
    Any advice much appreciated!!
    Chris

    Hi Anil,
    you should check on those trheads:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=3104772&#3104772">https://www.sdn.sap.com/irj/sdn/thread?messageID=3104772&#3104772</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=579794&#579794">https://www.sdn.sap.com/irj/sdn/thread?messageID=579794&#579794</a>
    Regards,
    Gianluca Barile

Maybe you are looking for

  • How to get the user info within a BSP.

    Hello all, can anybody tell me how to find the details of User information (logged in user) from the BSP page. Thanks in advance. Vicky.

  • Long time to print to pdf

    In adobe framemaker 8, my coworkers and I print book files which are 200-300 pages long with about 10-15 figures. The problem is that it takes me 4 mintues to print it, one coworker takes 30 minutes to print and another coworker 3 hours to print the

  • Condition types: Excise

    All SAP Gurus, Which condition types (in taxation procedure)are used for indeginious procurment? BED: Set off for BED: Ecss on BED: Regards

  • How do you make the whites of the eyes and teeth brighter?

    Would someone be able to offer advice on making the "whites" of the eyes and teeth brighter or whiter? Thanks!

  • EventListeners for backgroundTasks?

    I'd like to attach an eventListener to a backgroundTask (Document.asynchronousExport), and I can't seem to figure out what event types, if any, get sent there. There is a BackgroundTask.addEventListener(), so that would tend to suggest there are even