Setting error handlers

Hi,
Have configured Oracle streams to replicate data in real time between source and target tables.
When i try to set dml handler as well as error handler to a table, operation pair it is taking either of them. Can't both dml & error handlers be set?
I used the set_dml_handler for setting both of the handlers.
Queried DBA_APPLY_DML_HANDLERS to verify the dml handler linkage to table,operation pair.
Thanks
Giri

Hi Shekar,
There is no demacartion between Basis and CRM for middleware. One needs to be more of techno functional consultant to handle things.
Registering queue is nothing but the Queue which can be inbound or outbound has to be registered with the system to understand its role.
any changes that you make to a BP will be saved in Bdoc and this Bdoc if it has to reach the destination should be carried and this method of carriage is done through queue and its behaviour as inbound or outbound depends on the way it carries data.
Thanks
Srini

Similar Messages

  • OSB Error handlers..

    Hi,
    I have a problem in error handlers in catching errors. I have a proxy service and have configured message flows in which i have request audit stage, validate stage etc. Each stage has been configured with a stage error handler where i have configured email destinations to send alerts to. In request audit stage, i report the consumer's IP and other important request params. When everything is fine, i can see the params are reported in Dashboard and in the two tables. But when something is wrong, for example, i change the username/pw for the connection pool to connect to the database, the request audit stage is not able to report the request params as it couldn't connect to DB. So, I expect the request audit stage error handler to kick-in and send out email. But everything works fine and no email is sent out and i get the response. What type of errors the error handlers can handle? Does this include everything from java.lang.Exception?
    Thanks in advance for your reply.
    Kuppusamy.V.,

    Ideally it should work. I did a quick test using a sample DB provider available on Oracle site.
    I used the DB adapters given in :
    http://www.oracle.com/technology/sample_code/products/osb/samples/OSB-DB-ADAPTER.zip
    Created a new Proxy Service.
    It has one Stage in request pipeline.
    There is one Publish action which calls the DatabaseOutbound business service.
    QoS is set to Exactly Once.
    I have not created the Datasource and connection pool so my BS always errors out.
    In the stage error handler I log the error and reply with failure.
    When I run the above setup I see the log entries which I am doing in the error handler, so the flow is reaching the error handler and the logs also show that it is properly capturing the JCA errors.
    Here is a cut form the debug window:
    Stage Error Handler
    $fault:      
         <con:fault       xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380002</con:errorCode>
         <con:reason>
         Invoke JCA outbound service failed with connection error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/db/DatabaseOutbound_abstract [ DatabaseOutbound_ptt::insert(CustomerCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by java.sql.SQLException: The Network Adapter could not establish the connection.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore....Can you try doing this using the DB adapter provided in the link? Just to rule out any JCA related issues.
    Also what is the value of Transaction Required and Same Transaction For Response in your Proxy Service configuration?

  • Object variable not set (Error 91) in Input Enabled query

    Hello,
    I'm having the following issue.  I have created an input enabled query and included it in a planning workbook.  Every time I open the workbook or query, and I got to an input enabled cell, I get the error below:
    Object variable not set (Error 91)
    This client has not used planning workbooks before.  The system is on 7.10 SP10 for Bex Analyzer and SAP Gui 7.10 Patch Level 13. 
    I'm not finding any relevant so far in SDN.  Any help anyone can provide is greatly appreciated.
    Thanks,
    Senthil

    Hello,
    Just wanted to let you all know that this issue has been resolved after updating my SAP Gui to 7.2 Patch Level 4 (Patch Level 5 was causing some other issues so I decided to stay at Level 4).
    Thanks,
    Senthil

  • "No payload set" error in CQ5 workflow

    I'm trying to programmatically start a workflow from an OSGi service/servlet. Everything seems to work fine, I checked the WorkflowData and the model to verify they are correct. However, when the startWorkflow method runs, it creates a new instance of the workflow, but doesn't set the payload, and i get this in the error.log file:
         com.day.cq.workflow.impl.jcr.WorkflowManager No payload set
         com.day.cq.workflow.impl.CQWorkflowSession Workflow instance started with model: /etc/workflow/models/skill-request/jcr:content/model and  ID: /etc/workflow/instances/2012-07-17/model_2347856755318064 for payload: skill,Software,barmstrong
    As far as I can tell, it has the right data, but refuses to set it to the workflow. Any thoughts or hints would be much appreciated.
    My code:
    protected void doPost(SlingHttpServletRequest request, SlingHttpServletResponse response) throws IOException
         String skillname = request.getParameter("skillname");
         String skilltype = request.getParameter("skilltype");
         String userid = request.getParameter("userid");
                        // Getting variables ready for a Workflow
                        ResourceResolver resourceResolver = null;
                        Session session = null;
                        try {
                                  SlingHttpServletRequest slingReq = (SlingHttpServletRequest) request;
                                  session = slingReq.getResourceResolver().adaptTo(Session.class);
                                  WorkflowSession wfSession = _workflowService
                                                      .getWorkflowSession(session);
                                  String workflowId = "/etc/workflow/models/skill-request/jcr:content/model";
                                  // Starting a Workflow
                                  WorkflowModel model = wfSession.getModel(workflowId);
                                  WorkflowData wfData = wfSession.newWorkflowData("SKILL_DATA",
                                                      skillname + "," + skilltype + "," + userid);
                                  Workflow wf = wfSession.startWorkflow(model, wfData);
                        } catch (WorkflowException e) {
                                  ps.println(e.getMessage());
                                  e.printStackTrace(ps);
                        } catch (Throwable e){
                                  ps.println(e.getMessage());
                                  e.printStackTrace(ps);

    Thanks for the quick response Scott. I tried setting the Object to the path of a repository node:
         WorkflowData wfData = wfSession.newWorkflowData("SKILL_DATA",  pagepath);
    but it still failed to set as the workflow's payload. I also tried starting the dialog from the Sidekick, which does work.Here are the log messages for the two runs (Sidekick run first, failing run second):
    POST /etc/workflow/instances HTTP/1.1] com.day.cq.workflow.impl.CQWorkflowSession Workflow instance started with model: /etc/workflow/models/skill-request/jcr:content/model and  ID: /etc/workflow/instances/2012-07-17/model_2352496948786228 for payload: /content/icubed_profile_site/index/resources/barmstrong
    POST /apps/icubed/skill_request HTTP/1.1] com.day.cq.workflow.impl.CQWorkflowSession Workflow instance started with model: /etc/workflow/models/skill-request/jcr:content/model and  ID: /etc/workflow/instances/2012-07-17/model_2352486082873661 for payload: /content/icubed_profile_site/index/resources/barmstrong
    Yet the first run sets the payload just fine, while the second sends back the "No payload set" error.
    Brian

  • Trying to download iOS7 and it is saying i have a setting error what does that mean

    trying to download iOS7 and it is saying i have a setting error what does that mean

    Quite probably, or it may just be off and out of range of a network. In order to find a missing iOS device it has to have had the app enabled, and be on, not wiped, and able to connect to a network.

  • "Object Variable or With Block Variable not set" Error on Adobe Presenter 8 Ribbon on PPT 2010/2007

    Returning back from Adobe training at KEDRIYA VIDYALAYA no 1  Jalhalli Bangalore when I started Powerpoint to use Adobe Presenter 8  I am getting : "Object Variable or With Block Variable not set " error on clicking any of the menu features of the Presenter Ribbon. My Config are :
    i)             WINDOWS XP SP 3
    ii)            POWERPOINT 2007 / 2010 ( for both same error is coming)
    iii)           MS XML Library 4.0 installed.
    iv)           Adobe Presenter 8
    I am using all liscenced copies of softwares.
    Hardware specs are also as per Minimum Adobe standards.
    I Have tried a lot removing Data Execution Prevention Mode , but all in vain the problem still exists
    Why is this happening. Please help.
    Kamal K Gupta
    PGT Comp. SC.
    KV No. 2 Srivijaya nagar

    This is not really a "Downloading, Installing, Setting Up" question; you may get better help if you ask in the Presenter forum.

  • Object variable or With block variable not set (Error 91)

    I am not a developer, however i have to help to run a VB program.
    when using a local administrator to run this program there will be error :
    Object variable or With block variable not set (Error 91)
    however using a DOMAIN Administrator to run without problem.
    any idea

    Do you have the source code? The error itself is a nullreference error. It means the code is trying to use some object to access a property of method of that object, but the object is currently null so it fails. The fact that it runs different when you run
    as a domain admin versus local admin could mean that it does something via a network location or resource, and when running as a domain admin, it has access to that resource and succeeds, but the local admin doesn't have access to the needed resource, and
    the code doesn't check to see if the object is null before using it. If you don't have the source code, then it will be difficult to fix, other than giving the local admin the ability to access whatever it is the program is looking to access.
    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com

  • Object variable or With block variable not set error message

    When processing the Rate application I get a "Object variable or With block variable not set error message" What is causing this error and how do I fix it?

    Hi Brian,
    I'm afraid that in some ways this reply won't be very helpful though it may help you save some time. 
    The error message you describe is a very generic one thrown by Microsoft .NET (the programming platform that SAP is written with, see the link at the bottom of this message) and not being 'handled' by SAP. 
    This means from a SAP perspective that any one of many unrelated things may be causing the error and that it gives you virtually no help in tracking the problem down in SAP.
    We've plagued by this message quite a bit, my advice is to look for clues at to what may be happening elsewhere, e.g. try:
    1. The windows event viewer, if you are in a multi-server environment then check the event log on all machines.
    2. The SQL Server event log (this can be found in Management Studio - Management - SQL Server Logs assuming you're using SQL Server 2005)
    3. IIS logs, usually these are text files in the following location -
    HTTP.SYS Error Log - %windir%\System32\LogFiles\HTTPERR
    IIS Website Log - %windir%\System32\LogFiles\W3SVC#
    It is dull work trawling through all these places looking for error events with a timestamp similar to the time your error was encountered, but by doing this we've been able to troubleshoot some issues that otherwise would have taken us ages to rectify via trial and error.
    Sorry that there is no definitive answer, but if itu2019s of any help there's many more of us out there who this error message causes trouble for.
    Regards,
    Iain
    Microsoft "Object variable or With block variable not set" error message link:
    http://support.microsoft.com/kb/316478

  • I cant call to a mobile number since yesterday, but can receive call from the same number. I am using iphone 4s. Is there any setting error?

    I can't call to a mobile number since yesterday, but still can receive call from the same number. I am using iphone 4s. Is there any setting error?

    you have to make sure that CFWD Bridge Mode under the Line tab of the SPA9000 where the SPA400 is registered is set to ALL...include VMSP Bridge and XFER Bridge Mode as well..power cycle then check if you are still getting one-way audio
    | isolate! isolate! isolate! |

  • How to set error message for 541 Movement type

    Dear gurus,
                I want to know that is it possible to set error message through any configuration? My requirement is that when we create issue document using m.t 541 it will not allow me to process that document without releasing PO document.so for that i want to set error message.
    <removed by moderator>
    Message was edited by: Jürgen L

    Hi,
       The subcontracting goods issue can be done even without PO reference. If your organization is strictly following the goods issue against PO only and you want to restrict the goods issue if the PO is not released, then you may check the below option. Please note that the below option is available in standard only from EHP 4 or above.
    1. Refer the KBA: 1915825 - Transfer Posting reference to a Purchase Order in MIGO and activate the PO reference option in MIGO - Transfer posting.
    2. Restrict the use of 541 movement in MB1B - Go to OMJJ and enter movement type as 541. Now go to "allowed transactions" folder and remove MB1B. Now the user cant use 541 in MB1B.
    3. Maintain the field - Purchase order as mandatory field for the movement type 541 in OMJJ.
    4. Train the users to use MIGO - Transfer Posting - Purchase order option for goods issue with 541 movement.
    5. If the PO is not released, system wont allow to use the PO in MIGO - Transfer Postings.
    6. If the user is selecting Transfer Posting - Other, system wont check the PO and hence it will allow to post the goods issue even if PO is not released. You may take organizational measures to restrict the usage or you may check for authorization concept - Refer the note: 773003 - MIGO: No authorization object for action/reference document
       If you are below EHP 4, there is no standard functionality available for the requirement as of my knowledge. If so, you may go for development to restrict the same.
    Regards,
    AKPT

  • Open data Set Error?

    Hi Guys,
                  I am using Open dataset for downloading the data into Application server   .I am getting the  error file path is not opened  but in al11 i was able to see the path what i mentioned here except bseg.txt file.I am getting error at Open data set statement.I have to write the bseg table data into the file bseg.txt in application server.can any body suggest the solution for this problem.
              Very urgent.
    wa_BSEG_file = '/interfaces/DR1/MM/outbounb/ZMMOF3007/BSEG.txt'.
      OPEN DATASET wa_BSEG_file FOR OUTPUT         "Write to appl. server
                                          IN TEXT MODE
                                          Encoding default.  "Open dataset Return code
    IF sy-subrc = 0.
    TRANSFER it_cosp1 to wa_BSEG_file.
    Write : 'File Transferred BSIK'.
      ELSE .
    Write : 'File Not Found / Transferred BSIK'.
    ENDIF.
       CLOSE DATASET wa_BSEG_file.
               Very urgent.Full marks will be alloted if u give me the correct answer.
    Thanks,
    Gopi.

    Hi,
    Due to serveral reasons
    1. Check whether you have proper authority in the directory?
    2. check the whether any files with same name?
    3. use addition message in the open dataset statement so that you can know the system message it getting.
    DATA: msg(100).
    OPEN DATASET wa_BSEG_file FOR OUTPUT MESSAGE msg
    IN TEXT MODE Encoding default.
    aRs

  • Cannot print reports as PDF: Logger not set error

    Hi all,
    I'm trying to print some reports as PDF and I have the following problem:
    - I followed the step "5.Installing and Configuring Apache FOP" of http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    - When I try to print my report I get this message on OC4J console:
    08/04/30 11:54:42 [ERROR] Logger not set
    08/04/30 11:54:42 [INFO] Using oracle.xml.parser.v2.SAXParser as SAX2 Par
    08/04/30 11:54:42 [INFO] building formatting object tree
    08/04/30 11:54:42 [INFO] setting up fonts
    08/04/30 11:54:42 [INFO] [1]
    08/04/30 11:54:42 [WARNING] table-layout=auto is not supported, using fix
    08/04/30 11:54:42 [WARNING] Sum of fixed column widths 720000 greater tha
    um specified IPD 658800
    08/04/30 11:54:42 [INFO] Parsing of document complete, stopping renderer
    My question is about the Logger error. What is exactly a Logger?
    May I define it in j2ee-logging.xml file of OC4J?
    I'm working with:
    - APEX 3.0.1
    - Java SDK 1.4.2
    - Oracle Containers for J2EE (10.1.3.2)
    Thanks!
    Roger

    Hi again,
    I still didn't found the solution to my problem. In the "ascontrol.log" file of OC4J there is this warning:
    2008-05-05 11:36:28,934 [OC4J Launcher] WARN jmx.SecureWalletManager _setPermission.161 - WARNING: Could not set file permissions administrators:F for wallet at E:\oc4j\j2ee\home\persistence\ascontrol\ascontrol\securestore\ewallet.p12
    Is it significant?
    Thanks

  • How to set error message inside the loop...module pool

    Dear all,
         Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.
    Thanks,
    Santhosh.R

    If i understood your doubt, here goes the answer.
    LOOP AT itab INTO wa_itab.  " This is your loop
      l_tabix = sy-tabix. "l_tabix receives the line of the loop
      READ TABLE itab WITH KEY itab = wa_itab.  "itab is the same tab of your loop
      IF sy-subrc EQ 0 AND l_tabix NE sy-tabix.    "Here the sy tabix have the value of the read table.
    *     Here you do your error treatment.
      ENDIF.
    ENDLOOP.
    Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
    Maybe there is someway easier to do this, but this is what i thought now.
    I hope this was your doubt hehe.
    Thales Schmidt

  • Newby question: I keep on getting "No size set" error

    Hello,
    I'm trying to integrate an Oracle database into my ASP.NET application and I keep on getting an error:
    "Parameter: ENTITY_NAME. No size set for variable length data type: String"
    The parameter is set as VarChar2 in the database, size 50, and the C# code sets this as a VarChar.
    My ASP.NET code is:
    Connect();
    // setup the command to the stored procedure
    OracleCommand DBCmd = new OracleCommand("HDB.PRL_PAYROLL_PKG.GET_ENTITIYID_BY_STOREID", this.Connection);
    DBCmd.CommandType = System.Data.CommandType.StoredProcedure;
    DBCmd.Parameters.Add("STOREID", OracleType.Number).Value = StoreID;
    DBCmd.Parameters.Add("STOREID", OracleType.Number).Direction = System.Data.ParameterDirection.Input;
    DBCmd.Parameters.Add("HDB_ENTITIES_ID", OracleType.Number).Direction = System.Data.ParameterDirection.Output;
    DBCmd.Parameters.Add("ENTITY_NAME", OracleType.VarChar).Direction = System.Data.ParameterDirection.Output;
    DBCmd.Parameters.Add("ENTITY_NAME", OracleType.VarChar).Size = 50;
    // Execute Procedure.
    OracleDataReader reader = DBCmd.ExecuteReader(System.Data.CommandBehavior.SequentialAccess);
    Can anybody steer me in the right direction?
    Thanks in advance for your help.
    Steve

    I have recieved no answers to this question.
    I think I'll go back to SQL Server 2005.

  • Java Character set error while loding data using iSetup

    Hi,
    I am getting the following error while migrating settup data from R12 (12.1.2) Instance to another R12 (12.1.2) Instance, Both the Database has same DB character set (AL32UTF8)
    we are getting this error while migrating any setup data
    Actual error is
    Downloading the extract from central instance
    Successfully copied the Extract
    Time taken to download Extract and write as zip file = 0 seconds
    Validating Primary Extract...
    Source Java Charset: AL32UTF8
    Target Java Charset: UTF-8
    Target Java Charset does not match with Source Java Charset
    java.lang.Exception: Target Java Charset does not match with Source Java Charset
         at oracle.apps.az.r12.common.cpserver.PreValidator.validate(PreValidator.java:191)
         at oracle.apps.az.r12.loader.cpserver.APILoader.callAPIs(APILoader.java:119)
         at oracle.apps.az.r12.loader.cpserver.LoaderContextImpl.load(LoaderContextImpl.java:66)
         at oracle.apps.az.r12.loader.cpserver.LoaderCp.runProgram(LoaderCp.java:65)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Error while loading apis
    java.lang.NullPointerException
         at oracle.apps.az.r12.loader.cpserver.APILoader.callAPIs(APILoader.java:158)
         at oracle.apps.az.r12.loader.cpserver.LoaderContextImpl.load(LoaderContextImpl.java:66)
         at oracle.apps.az.r12.loader.cpserver.LoaderCp.runProgram(LoaderCp.java:65)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Please help in identifying and resolving the issue
    Sachin

    The Source and Target DB character set is same
    Output from the query
    ------------- Source --------------
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    VALUE
    AL32UTF8
    And target Instance
    -------------- Target----------------------
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    VALUE
    AL32UTF8
    The Error is about Source and Target JAVA Character set
    I will check the Prevalidator xml from How to use iSetup and update the note
    Thanks
    Sachin

Maybe you are looking for

  • I bought a brand new Ipod touch on 12/30/12. it was white and the home button doesn't work every time... ANy ideas?

    Help please

  • Inbound delivery without reference

    Hi all,, we have a scenario, where we need to transfer goods from IM storage location to EWM location. For EWM we need to have inbound delivery to get processed. is there any way we can create an inbound delivery without reference or with refrence to

  • Recording wih a mixer

    Hey, I just got a new mixer that connects via a USB cable. I use it to record voices and such for my movies. I already figured out how to record with it into Final Cut. But, say I am using 2 different mics on the mixer. When I record, it records the

  • DML(Update)  in a report

    I have a report, with a query that includes a ROWNUM, How can I do UPDATE of the table of the query with the printed rownum? For example, query report is: SELECT rownum, a.* from mytable a order by ......; I have to UPDATE one of column, say x of my

  • Search help question

    Hi, I have a selection screen with 3 fields. xblnr, kunnr and bukrs I created a search help exit for xblnr. It finds my values perfectly and returns it on screen. How do I make it return kunnr and bukrs values on the screen as well(they do appear on