Exception handling in ODI - common exception handling framework

Hi,
I need to come up with a common exception handling framework in an environment where ESB and ODI are being used for interfacing and ELT operations. I am of the opinion that
1. I am not able to find any documentation wrt exception handling when ODI is used? Can some one help me with some pointers?
2, When I come up with a common exception handling framework using BPEL, will I be able to invoke the same from ODI.
Thanks,
Mahesh

Thanks for the reply Allan. I haven't used BusinessWorks.
I did go through this thread before and here's my understanding.
1. ESB provides the ability of error handling (client management API) but not the exception handling i.e. I can't redirect the flow in case there is an exception in my primary flow. Am I right with my understanding?
2. Error handling ability of ESB is limited to retryable exceptions viz-a-viz asynchrounous ESB processes (e.g. database listener not up) where in the process can be retried. Am I right here?
Thanks,
Mahesh

Similar Messages

  • Exception handling - Common exception handling framework

    Hi,
    I need to come up with a common exception handling framework in an environment where ESB and ODI are being used for interfacing and ELT operations. I am of the opinion that
    1. A generic exception handling framework can be built using BPEL and can be invoked from ESB. Is my understanding correct?
    2. Are there any ways that we can build this framework using ESB itself? I opinion that it's not possible as there is no concept of try-catch?
    3. I am not able to find any documentation wrt exception handling when ODI is used? Can some one help me with some pointers?
    4, When I come up with a common exception handling framework, will I be able to invoke the same from ODI.
    Thanks,
    Mahesh

    Thanks for the reply Allan. I haven't used BusinessWorks.
    I did go through this thread before and here's my understanding.
    1. ESB provides the ability of error handling (client management API) but not the exception handling i.e. I can't redirect the flow in case there is an exception in my primary flow. Am I right with my understanding?
    2. Error handling ability of ESB is limited to retryable exceptions viz-a-viz asynchrounous ESB processes (e.g. database listener not up) where in the process can be retried. Am I right here?
    Thanks,
    Mahesh

  • Error 1064 An exception occurred in the service when handling the control

    Hi all,
    I downloaded Oracle Business Intelligence 10.1.3.4.1 on windows XP successfully, once I try to start any service of Oracle BI [scheduler/server]. This error is shown *1064 An exception occurred in the service when handling the control request*.
    Could anyone help me out?
    Thanks in advance
    Maitha

    I checked the file
    [68008] Scheduler Error: [nQSError: 67042] The Scheduler Configuration is incorrect.
    [nQSError: 67004] Registry value for SchedulerScriptPath not set.
    How the issue can be resolved ?

  • Best way to handle any knid of exception

    Hi Experts,
    What is the best way to handle any kind of Exceptions across the layer and show a user friendly error message, for eg the JBO 2900, which is an unexpected error. There is no clue as to this error happens at which layer so how an we handle these kind of exceptions ?
    thnks

    hey you can try.. to add the exception handler.. in the task flow.. and in the DataBidnings.cpx..
    error from the controller can be got from
    ControllerContext context = ControllerContext.getInstance();
    ViewPortContext currentRootViewPort = context.getCurrentRootViewPort();
    Exception exceptionData = currentRootViewPort.getExceptionData();
    if (currentRootViewPort.isExceptionPresent()) {
    exceptionData.printStackTrace();
    currentRootViewPort.clearException();
    //FacesContext facesContext = FacesContext.getCurrentInstance();
    //facesContext.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, exceptionData.getMessage(), null));
    and the ui message can be thrown by
    FacesContext ctx = NavigationUtil.getFacesContext();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR,message,null);
    ctx.addMessage(null, fm);

  • An exception of class nilobjectexception was not handled (Photoreflect)

    Trying to download photos via Photoreflect.com photo publisher. As soon as I get ready to add photos to a gallery I get a pop up "An exception of class nilobjectexception was not handled. The application must shut down." Tried restart of the computer. Uninstalled and reinstalled the publisher, deleted the Pub data settings file. Still won't work. Thanks in advance for any ideas.
    Rich

    Contact the developer of photoreflect as there is a problem with their code. There may be an update for their application.

  • SMBup quit. "An exception of class JSONException was not handled. The application must shut down. Exception Message: Parse Error: Expecting "{" or "[" at position 1. Exception Error Number: 1

    After updating to Mavericks 10.9.2, our Canon printer would no longer scan & send to our iMacs & MacBook Pros. We downloaded & installed SMBUp. Still trying to get it to work with MacBookPros, but has been working with iMacs. Today, out of the blue, I got the following error message:
    An exception of class JSONException was not handled. The application must shut down.
    Exception Message: Parse Error: Expecting "{" or "[" at position 1
    Exception Error Number : 1
    Now I get that message every time I try to open SMBUp. Tried to download & reinstall application, but get this message on website:
    Hmm, eduo.info isn't loading right now.
    The servers that run eduo.info are having some trouble. This is usually just a tempoary problem, so you might want to try again in a few minutes.
    (Have gotten that message for the last hour).
    Help?

    Hi,
    Pls don't forget to reward points and close the question if you find the answers useful.
    Eddy

  • Exception generated during defered local transaction handling

    Hi All,
    We are using data direct connect 3.3 driver with MS SQL Server 7 on WebSphere 4.0. We are getting the exception "Exception generated during defered local transaction handling". Anyone encountered similar problem?> please let me know the solution. I am pasting the stack trace here.
    Thanks in advance.
    Regards,
    Girish
    [7/29/05 9:19:31:210 EDT] 37c1f1 SystemOut U 2005-07-29 09:19:31,177 [Servlet.Engine.Transports:10] ERROR com.xyz.nuuw.bus.dao.JDBCWrapper -livdsqa11122643171177
    java.sql.SQLException: [IBM][SQLServer JDBC Driver]Exception generated during defered local transaction handling. See next exception via SQLException.getNextException for details.
    at com.ibm.websphere.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseConnection.transactionableWorkStarting(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
    at com.ibm.websphere.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BasePreparedStatementWrapper.executeQuery(Unknown Source)
    at com.ibm.ejs.cm.cache.CachedStatement.executeQuery(CachedStatement.java:312)
    at com.ibm.ejs.cm.proxy.StatementProxy.executeQueryCommon(StatementProxy.java:410)
    at com.ibm.ejs.cm.proxy.PreparedStatementProxy.executeQuery(PreparedStatementProxy.java:53)
    at com.xyz.nuuw.bus.dao.JDBCWrapper.getdata(JDBCWrapper.java:164)
    at com.xyz.nuuw.bus.dao.AccountSetupPH.getKeyID(AccountSetupPH.java:445)
    at com.xyz.nuuw.bus.bo.AccountSetupBO.getKeyID(AccountSetupBO.java:50)
    at com.xyz.nuuw.accountSetup.bus.ejb.AccountSetupSBBean.getKeyID(AccountSetupSBBean.java:85)
    at com.xyz.nuuw.accountSetup.bus.ejb.EJSRemoteStatelessAccountSetupSB_14ea1086.getKeyID(EJSRemoteStatelessAccountSetupSB_14ea1086.java:99)
    at com.xyz.nuuw.accountSetup.bus.ejb._AccountSetupSB_Stub.getKeyID(_AccountSetupSB_Stub.java:310)
    at com.xyz.nuuw.bus.AccountSetupBD.getKeyID(AccountSetupBD.java:73)

    I am currently working with IBM on a similar problem with WAS 5.1 and SQL Server 2000. The SQLException has a nested exception that can be retrieved using the getNextException() method. This will give you some more information as to what is causing the problem. Ours seems to be triggered by a dropped connection at the SQL end. normally WAS will recover from that gracefully, but in our situation it is not.
    Doug

  • The handle is invalid error exception when screenshoot from screen why and how to solve

    Hi guys i have problem when i take screen shoot from screen it give me exception
    error the handle is invalid as following
    ee the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.ComponentModel.Win32Exception: The handle is invalid
       at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
       at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize)
       at Sales.Form1.timer4_Tick(Object sender, EventArgs e)
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    this is my code as following :
    under timer tick event problem happen in screen shoot
    the proplem in these lines
    Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
    Graphics graphics = Graphics.FromImage(bitmap as Image);
    graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
    bitmap.Save("C:\\screenshot.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg);
    if i put these lines under button event work ok
    but if i but these lines under timer make problem and give me exception above why
    this code of screenshoot work in my windows xp but when i put in windows server 2003 it give me error in screenshoot under timer event
    private void timer4_Tick(object sender, EventArgs e)
    Sales.SalesClass SalesClass1 = new Sales.SalesClass();
    if (SalesClass1.IsStartValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123"))
    issent = 1;
    label7.Text = issent.ToString();
    else
    issent = 0;
    label7.Text = issent.ToString();
    if (Convert.ToInt32(label3.Text) > 0 && Convert.ToInt32(label2.Text) > Convert.ToInt32(label3.Text) &&Convert.ToInt32(label7.Text) == 0)
    Sales.SalesClass SalesClass2 = new Sales.SalesClass();
    SalesClass2.InsertShipment("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text));
    Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
    Graphics graphics = Graphics.FromImage(bitmap as Image);
    graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
    bitmap.Save("C:\\screenshot.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg);
    string smtpAddress = "smtp.mail.yahoo.com";
    int portNumber = 587;
    bool enableSSL = true;
    string emailFrom = "[email protected]";
    string password = "3444";
    string emailTo = "[email protected]";
    string subject = "Working Start"+label6.Text;
    string body =
    "Quantity Required" + "" + "(" + label2.Text + ")" + "/" +
    "Quantity Shipped" + "/" + "(" + label3.Text + ")" + "/" +
    "Quantity Remaining" + "/" + "(" + label4.Text + ")";
    using (MailMessage mail = new MailMessage())
    mail.From = new MailAddress(emailFrom);
    mail.To.Add(emailTo);
    mail.Subject = subject;
    mail.Body = body;
    mail.IsBodyHtml = true;
    mail.Attachments.Add(new Attachment("c:\\screenshot.jpeg"));
    System.Net.Mail.SmtpClient shggmtp = new SmtpClient(smtpAddress, portNumber);
    smtp.Credentials = new NetworkCredential(emailFrom, password);
    smtp.EnableSsl = enableSSL;
    smtp.Send(mail);

    Thank you for reply
    timer3 tick event and enabled to maximize the form if minimized
    this is all my code as following
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Net.Mail;
    using System.Net;
    using System.IO;
    using System.Data.SqlTypes;
    using System.Data.SqlClient;
    using System.Runtime.InteropServices;
    using System.Diagnostics;
    using Microsoft.Win32;
    namespace Sales
    public partial class Form1 : Form
    RegistryKey reg = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
    public int issent;
    public int isfinish;
    public Form1()
    reg.SetValue("Sales", Application.ExecutablePath.ToString());
    InitializeComponent();
    private const int SW_HIDE = 0;
    private const int SW_SHOWNORMAL = 1;
    private const int SW_SHOWMINIMIZED = 2;
    private const int SW_SHOWMAXIMIZED = 3;
    private const int SW_SHOWNOACTIVATE = 4;
    private const int SW_RESTORE = 9;
    private const int SW_SHOWDEFAULT = 10;
    [DllImport("user32.dll")]
    private static extern int ShowWindow(int hwnd, int nCmdShow);
    private void Form1_Load(object sender, EventArgs e)
    label8.Visible = false;
    label9.Visible = false;
    label10.Visible = false;
    label2.Visible = false;
    label3.Visible = false;
    label7.Visible = false;
    label8.Visible = false;
    label1.Visible = false;
    label2.Visible = false;
    label3.Visible = false;
    label4.Visible = false;
    Sales.SalesClass SalesClass4 = new Sales.SalesClass();
    string EndQuantity = SalesClass4.MaxEndQuantity("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
    string TotalQuantity = SalesClass4.MaxTotalQuantity("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
    label9.Text = EndQuantity;
    label10.Text = TotalQuantity;
    if (SalesClass4.IsStartValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123"))
    issent = 1;
    label7.Text = issent.ToString();
    else
    issent = 0;
    label7.Text = issent.ToString();
    label6.Text = DateTime.Now.ToString("dd/MM/yyyy");
    timer1.Start();
    Sales.SalesClass SalesClass1 = new Sales.SalesClass();
    DataTable dt = SalesClass1.ShowSalesData("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
    label1.Visible = false;
    dataGridView1.DataSource = dt;
    dataGridView1[0, dataGridView1.Rows.Count - 1].Value = "Total Sum";
    dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[0].Style.BackColor = Color.Yellow;
    dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[1].Style.ForeColor = Color.Red;
    dataGridView1.Refresh();
    Sales.SalesClass SalesClass5 = new Sales.SalesClass();
    if (SalesClass5.IsFinishValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text)))
    isfinish = 1;
    label8.Text = isfinish.ToString();
    else
    isfinish = 0;
    label8.Text = isfinish.ToString();
    label11.Text = SalesClass5.MaxID1("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
    private void timer1_Tick(object sender, EventArgs e)
    label6.Text = DateTime.Now.ToString("dd/MM/yyyy");
    Sales.SalesClass SalesClass1 = new Sales.SalesClass();
    DataTable dt = SalesClass1.ShowSalesData("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
    label1.Visible = false;
    dataGridView1.DataSource = dt;
    dataGridView1[0, dataGridView1.Rows.Count - 1].Value = "Total Sum";
    dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[0].Style.BackColor = Color.Yellow;
    dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[1].Style.ForeColor = Color.Red;
    dataGridView1.Refresh();
    private void dataGridView1_DataSourceChanged(object sender, EventArgs e)
    double Total = 0;
    double Total1 = 0;
    double Total2 = 0;
    for (int i = 0; i < dataGridView1.Rows.Count - 1; i++)
    Total += Convert.ToDouble(dataGridView1.Rows[i].Cells[6].Value);
    Total1 += Convert.ToDouble(dataGridView1.Rows[i].Cells[7].Value);
    Total2 += Convert.ToDouble(dataGridView1.Rows[i].Cells[8].Value);
    dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[6].Value = Total;
    dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[7].Value = Total1;
    dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[8].Value = Total2;
    label2.Text = Total.ToString();
    label3.Text = Total1.ToString();
    label4.Text = Total2.ToString();
    private void timer2_Tick(object sender, EventArgs e)
    Sales.SalesClass SalesClass1 = new Sales.SalesClass();
    string ID = SalesClass1.MaxID("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
    string EndQuantity = SalesClass1.MaxEndQuantity("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
    string TotalQuantity = SalesClass1.MaxTotalQuantity("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
    label9.Text = EndQuantity;
    label10.Text = TotalQuantity;
    label11.Text = ID;
    if (SalesClass1.IsFinishValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text)))
    isfinish = 1;
    label8.Text = isfinish.ToString();
    else
    isfinish = 0;
    label8.Text = isfinish.ToString();
    if (Convert.ToInt32(label2.Text) == Convert.ToInt32(label3.Text) && Convert.ToInt32(label8.Text) == 0 && Convert.ToInt32(label2.Text) > 0 && Convert.ToInt32(label3.Text) > 0)
    Sales.SalesClass SalesClass2 = new Sales.SalesClass();
    SalesClass2.InsertLastShipment("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text), Convert.ToInt32(label11.Text));
    Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
    Graphics graphics = Graphics.FromImage(bitmap as Image);
    graphics.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y,
    0, 0, Screen.PrimaryScreen.Bounds.Size,System.Drawing.CopyPixelOperation.SourceCopy);
    bitmap.Save("C:\\screenshot.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg);
    string smtpAddress = "smtp.mail.yahoo.com";
    int portNumber = 587;
    bool enableSSL = true;
    string emailFrom = "[email protected]";
    string password = "2234";
    string emailTo = "[email protected]";
    string subject = "Working Finish" + label6.Text;
    string body = "Summary for Date" + "" + label6.Text + "" +
    "Quantity Required" + "" + "(" + label2.Text + ")" + "/" +
    "Quantity Shipped" + "/" + "(" + label3.Text + ")" + "/" +
    "Quantity Remaining" + "/" + "(" + label4.Text + ")";
    using (MailMessage mail = new MailMessage())
    mail.From = new MailAddress(emailFrom);
    mail.To.Add(emailTo);
    mail.Subject = subject;
    mail.Body = body;
    mail.IsBodyHtml = true;
    mail.Attachments.Add(new Attachment("C:\\temp2.gif"));
    System.Net.Mail.SmtpClient smtp = new SmtpClient(smtpAddress, portNumber);
    smtp.Credentials = new NetworkCredential(emailFrom, password);
    smtp.EnableSsl = enableSSL;
    smtp.Send(mail);
    private void timer3_Tick(object sender, EventArgs e)
    int hWnd;
    Process[] processRunning = Process.GetProcesses();
    foreach (Process pr in processRunning)
    if (pr.ProcessName == "Sales.vshost")
    hWnd = pr.MainWindowHandle.ToInt32();
    ShowWindow(hWnd, SW_SHOWMAXIMIZED);
    private void timer4_Tick(object sender, EventArgs e)
    Sales.SalesClass SalesClass1 = new Sales.SalesClass();
    if (SalesClass1.IsStartValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123"))
    issent = 1;
    label7.Text = issent.ToString();
    else
    issent = 0;
    label7.Text = issent.ToString();
    if (Convert.ToInt32(label3.Text) > 0 && Convert.ToInt32(label2.Text) > Convert.ToInt32(label3.Text) && Convert.ToInt32(label7.Text) == 0)
    Sales.SalesClass SalesClass2 = new Sales.SalesClass();
    SalesClass2.InsertShipment("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text));
    Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
    Graphics graphics = Graphics.FromImage(bitmap as Image);
    graphics.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y,
    0, 0, Screen.PrimaryScreen.Bounds.Size,System.Drawing.CopyPixelOperation.SourceCopy);
    bitmap.Save("C:\\screenshot.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg);
    string smtpAddress = "smtp.mail.yahoo.com";
    int portNumber = 587;
    bool enableSSL = true;
    string emailFrom = "[email protected]";
    string password = "2234";
    string emailTo = "[email protected]";
    string subject = "Working Start" + label6.Text;
    string body =
    "Quantity Required" + "" + "(" + label2.Text + ")" + "/" +
    "Quantity Shipped" + "/" + "(" + label3.Text + ")" + "/" +
    "Quantity Remaining" + "/" + "(" + label4.Text + ")";
    using (MailMessage mail = new MailMessage())
    mail.From = new MailAddress(emailFrom);
    mail.To.Add(emailTo);
    mail.Subject = subject;
    mail.Body = body;
    mail.IsBodyHtml = true;
    mail.Attachments.Add(new Attachment("c:\\screenshot.jpeg"));
    System.Net.Mail.SmtpClient smtp = new SmtpClient(smtpAddress, portNumber);
    smtp.Credentials = new NetworkCredential(emailFrom, password);
    smtp.EnableSsl = enableSSL;
    smtp.Send(mail);
    private void timer5_Tick(object sender, EventArgs e)
    if (Convert.ToInt32(label3.Text) == 0 && Convert.ToInt32(label4.Text) == 0)
    Sales.SalesClass SalesClass2 = new Sales.SalesClass();
    SalesClass2.DeleteProcesses("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");

  • 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.

  • Handling of multiple view in spring framework

    Hi,
    I just wanted to know that how can i handle control on view in spring framework as we handle in struts.
    For e.g.
    In struts when action servlet needs to find next view it looks for <forward> in struts-config.xml , how can i achieve same thing in Spring..

    So you want the knowledge. But are you willing to make the effort to gain the knowledge?
    http://static.springsource.org/spring/docs/3.1.0.M1/spring-framework-reference/html/mvc.html

  • Resteasy in-built exceptions not caught in the exception mapper

    Hi friends,
    I have written some exception mappers to catch and handle the in-built rest easy exceptions like NotFoundException,MethodNotAllowedException, etc., Sample code as shown:
    @Provider
    public class NotFoundExceptionMapper implements ExceptionMapper<org.jboss.resteasy.spi.NotFoundExc eption>
    @Override
    Response toResponse(org.jboss.resteasy.spi.NotFoundExceptio n exception) {
    return Response.status(500).build();
    I have also written a try catch block in my web filter class. Whenever a NotFoundException occurs, it is not caught in the mapper, but it goes to the catch block in the Filter.
    Whereas I have tried another exception mapper class to handle JsonParsingException. This is working correctly and giving a proper response from the mapper whenever a Json Parse exception occurs.
    The issue is only with the case of resteasy inbuilt exceptions.
    Also, the Provider has been registered in the application context using the include-filter tag inside component scan.
    Is there any additional configuration to be done for this?
    Please guide me as to what needs to be done to catch rest easy in-built exceptions in the mapper class itself.
    Regards,
    RM

    Cross posted
    http://stackoverflow.com/questions/10251640/resteasy-in-built-exceptions-not-caught-in-the-exception-mapper
    http://www.java-forums.org/advanced-java/58655-resteasy-built-exceptions-not-caught-exception-mapper.html
    db

  • ORAMED-03302:[Exception in oneway execution]Unexpected exception in oneway

    Hi,
    I have a composite which looks like below.
    JMS Adapter -------> Mediator -------> WebService
    The JMS adapter will get a payload from a queue and push the same to the given webservice through mediator.
    My Problem here starts when the given webservice is not available. The composite gets strucked when the endpoint is not available throwing me the below fault
    Non Recoverable System Fault :
    *ORAMED-03302:[Exception in oneway execution]Unexpected exception in oneway operation "CreateExceptionLog" on reference "ExceptionLogger1".Possible Fix:Check whether the reference service is properly configured and running or look at exception for analysing the reason or contact oracle support. Cause:Unable to access the following endpoint(s): http://10.103.96.161:8088/mockExceptionEventSOAP11Binding*
    I thought of implementing retry logic through Fault Policies. But it is not working. I need to configure in such a way that the composite should retry to push the payload till the webservice comes ON(if fails human intervention should be made).
    How can i achieve this ?? Isnt possible to handle exception in mediator level??
    With smile,
    Siva Balan V

    Hi,
    I have a composite which looks like below.
    JMS Adapter -------> Mediator -------> WebService
    The JMS adapter will get a payload from a queue and push the same to the given webservice through mediator.
    My Problem here starts when the given webservice is not available. The composite gets strucked when the endpoint is not available throwing me the below fault
    Non Recoverable System Fault :
    *ORAMED-03302:[Exception in oneway execution]Unexpected exception in oneway operation "CreateExceptionLog" on reference "ExceptionLogger1".Possible Fix:Check whether the reference service is properly configured and running or look at exception for analysing the reason or contact oracle support. Cause:Unable to access the following endpoint(s): http://10.103.96.161:8088/mockExceptionEventSOAP11Binding*
    I thought of implementing retry logic through Fault Policies. But it is not working. I need to configure in such a way that the composite should retry to push the payload till the webservice comes ON(if fails human intervention should be made).
    How can i achieve this ?? Isnt possible to handle exception in mediator level??
    With smile,
    Siva Balan V

  • SQL Exception with the message "executeQuery, Exception = null"

    Hi ,
    Iam getting an SQL Exception with the message "executeQuery, Exception = null". Other thing is, the SQLException.getErrorCode gives me 0. Below is the stack trace. Could you please help me, why Iam getting this message:
    com.ups.ops.dm.dao.DAOSevereDataBaseException: Return Code from Database :0
    at com.ups.ops.dm.dao.DAOAction.run(Unknown Source)
    at com.ups.ops.dm.dao.DAOAgent.doWork(Unknown Source)
    at com.ups.ops.dm.dao.service.DAOActionServiceModule.service(Unknown Source)
    at com.ups.ops.dm.command.CommandManager.doCommand(Unknown Source)
    at com.ups.ops.dm.dao.DataAcessObjectManager.execute(Unknown Source)
    at com.ups.ops.dm.edc.db.EDCDataAccessObjectManager.lookups(Unknown Source)
    at com.ups.ops.dm.edc.business.EDCVoidBusinessLogic.checkPackageScan(Unknown Source)
    at com.ups.ops.dm.edc.service.VoidShipmentServiceModule.service(Unknown Source)
    at com.ups.ops.dm.command.CommandManager.doCommand(Unknown Source)
    at com.ups.ops.dm.edc.service.OPLDRequestDispatcherServiceModule.dispatchCommandMessage(Unknown Source)
    at com.ups.ops.dm.edc.service.OPLDRequestDispatcherServiceModule.service(Unknown Source)
    at com.ups.ops.dm.command.CommandManager.doCommand(Unknown Source)
    at com.ups.ops.dm.edc.control.EDCReceiver.onReceive(Unknown Source)
    at com.ups.ops.dm.edc.receiver.OPLDReceiverMDB.onMessage(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocati
    on.java:187)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
    154)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.ja
    va:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
    176)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInt
    erceptor.java:126)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterc
    eptor.java:114)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
    176)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
    at $Proxy67.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.processOneMessage(NewJMSMessagePoller.java:245)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.run(NewJMSMessagePoller.java:121)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.timerExpired(NewJMSMessagePoller.java:204)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    com.ups.ops.dm.dao.DAOSevereDataBaseException: Return Code from Database :0
    at com.ups.ops.dm.dao.DAOAction.run(Unknown Source)
    at com.ups.ops.dm.dao.DAOAgent.doWork(Unknown Source)
    at com.ups.ops.dm.dao.service.DAOActionServiceModule.service(Unknown Source)
    at com.ups.ops.dm.command.CommandManager.doCommand(Unknown Source)
    at com.ups.ops.dm.dao.DataAcessObjectManager.execute(Unknown Source)
    at com.ups.ops.dm.edc.db.EDCDataAccessObjectManager.lookups(Unknown Source)
    at com.ups.ops.dm.edc.business.EDCVoidBusinessLogic.checkPackageScan(Unknown Source)
    at com.ups.ops.dm.edc.service.VoidShipmentServiceModule.service(Unknown Source)
    at com.ups.ops.dm.command.CommandManager.doCommand(Unknown Source)
    at com.ups.ops.dm.edc.service.OPLDRequestDispatcherServiceModule.dispatchCommandMessage(Unknown Source)
    at com.ups.ops.dm.edc.service.OPLDRequestDispatcherServiceModule.service(Unknown Source)
    at com.ups.ops.dm.command.CommandManager.doCommand(Unknown Source)
    at com.ups.ops.dm.edc.control.EDCReceiver.onReceive(Unknown Source)
    at com.ups.ops.dm.edc.receiver.OPLDReceiverMDB.onMessage(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocati
    on.java:187)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
    154)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.ja
    va:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
    176)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
    176)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInt
    erceptor.java:126)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterc
    eptor.java:114)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
    176)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
    at $Proxy67.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.processOneMessage(NewJMSMessagePoller.java:245)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.run(NewJMSMessagePoller.java:121)
    at weblogic.ejb.container.internal.NewJMSMessagePoller.timerExpired(NewJMSMessagePoller.java:204)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Could you please help me, why Iam getting this message:You have bug in your software

  • PDE-PXC002 Program unit exception aborted due to unhandled exception (10050

    Im working on performing a new query when a user changes the value of a text item and then keys to the next item.
    Its very much in experimental stage atm but this is the code:
    BEGIN
         CLEAR_BLOCK(NO_VALIDATE);
         IF :system.block_status = 'CHANGED' THEN
              enter_query;
         END IF;     
    execute_query;
    END;
    When I run this in debugger the following warning is displayed, when I reach the line "enter_query":
    PDE-PXC002 Program unit exception aborted due to unhandled exception (100500).
    I have searched around but found nothing regarding this error message. Am I making a fundemental error here?

    Difficult to assess with the provided information - may I ask you to provide an extract of the PL/SQL code or feel free to contact us via http://pitss.com if you would like to discuss this rather over the phone. Thx MD

  • I am facing a problem while deploying an Entity bean in iPlanet(sp3).I have attached the exception thrown.Why has this exception occured?

    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)

    Hi,
    I think you are trying to test the Hello world EJB example shipped with the product. As a first
    step I would recomend you to go through every line of the document on deploying this application,
    since, I too have experienced many errors while trying to deploy the sample applications, but on
    following the documentation, I subsequently overcame all the errors and have been working with the
    applications. So please follow the steps in documentation and let me know, if you still encounter any
    issues.
    Regards
    Raj
    Sandhya S wrote:
    I am facing a problem while deploying an Entity bean in iPlanet(sp3).I
    have attached the exception thrown.Why has this exception occured?
    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal
    exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at
    com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown
    Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

Maybe you are looking for

  • Connecting to Windows machines by name doesn't work

    OK. Here's the story. PC/Linux guy for a long time. I'm the default sysadmin at work and for family. My wife bought me a Mac for my birthday, and I LOVE IT !! The only problem is I still have 4 windows machines in the house, and I need to connect to

  • Bridge CS6 Photoshop Batch tool to open Photoshop CC

    I have both CS6 and CC installed I'm having the issue in Bridge CS6 that when I want to do a batch function through Tool > Photoshop > Batch this opens Photoshop CS6 and not Photoshop CC which i'd prefer it open. Is there any way to set this. The que

  • How do the copy the Recording form one client to another client.

    Hi all I have one scenario like We need to process the sales documents which are not process to output(means send the document to printer) . For that I have to write a BDC program, In that program we  need to list out the all the documents which are

  • Tag Work center to Materials in Production Order

    hey everyone, I need to tag the correct work center to the prod order. One Production order has say 5 materials and they have different movements on it. We need to fetch the correct work center for each material movement. I am able to find work cente

  • Name_list for table mode dp import  foiled by carriage return

    Hi, I'm seeing the following work fine: dbms_datapump.metadata_filter(v_db_hndl,'NAME_LIST','''MY_TABLE_ONE'',''MY_TABLE_TWO'', ''MY_TABLE_THREE'''); But if I break the line inside the name list parameter string, eg. dbms_datapump.metadata_filter(v_d