Exception Handling Problem In BPM

All
I am facing an exception handling problem I am using BPM and , I have caught exception in the transformation step but when there is any data problem in that mapping(mentioned in the transformation)
it is not throwing the exception . is there any option to collect these type of system exception in  the bpm and give a alert thru mail
is there any way to collect these type of exception happened in the BPE and raise alert thru generic alert
Thanks
Jayaraman

Hi Jayaraman,
    When you say there is any data problem, does that fail the message mapping that you have defined?
If the message mapping used in the tranformation fails, it should raise an exception in the BPM.
Did you test the message mapping using the payload and see if it really fails or not?
Regards,
Ravi Kanth Talagana

Similar Messages

  • Pls help..Constructor,setter, getter and Exception Handling Problem

    halo, im new in java who learning basic thing and java.awt basic...i face some problem about constructor, setter, and getter.
    1. I created a constructor, setter and getter in a file, and create another test file which would like to get the value from the constructor file.
    The problem is: when i compile the test file, it come out error msg:cannot find symbol.As i know that is because i miss declare something but i dont know what i miss.I post my code here and help me to solve this problem...thanks
    my constructor file...i dont know whether is correct, pls tell me if i miss something...
    public class Employee{
         private int empNum;
         private String empName;
         private double empSalary;
         Employee(){
              empNum=0;
              empName="";
              empSalary=0;
         public int getEmpNum(){
              return empNum;
         public String getName(){
              return empName;
         public double getSalary(){
              return empSalary;
         public void setEmpNum(int e){
              empNum = e;
         public void setName(String n){
              empName = n;
         public void setSalary(double sal){
              empSalary = sal;
    my test file....
    public class TestEmployeeClass{
         public static void main(String args[]){
              Employee e = new Employee();
                   e.setEmpNum(100);
                   e.setName("abc");
                   e.setSalary(1000.00);
                   System.out.println(e.getEmpNum());
                   System.out.println(e.getName());
                   System.out.println(e.getSalary());
    }**the program is work if i combine this 2 files coding inside one file(something like the last part of my coding of problem 2)...but i would like to separate them....*
    2. Another problem is i am writing one simple program which is using java.awt interface....i would like to add a validation for user input (something like show error msg when user input character and negative number) inside public void actionPerformed(ActionEvent e) ...but i dont have any idea to solve this problem.here is my code and pls help me for some suggestion or coding about exception. thank a lots...
    import java.awt.*;
    import java.awt.event.*;
    public class SnailTravel extends Frame implements ActionListener, WindowListener{
       private Frame frame;
       private Label lblDistance, lblSpeed, lblSpeed2, lblTime, lblTime2, lblComment, lblComment2 ;
       private TextField tfDistance;
       private Button btnCalculate, btnClear;
       public void viewInterface(){
          frame = new Frame("Snail Travel");
          lblDistance = new Label("Distance");
          lblSpeed = new Label("Speed");
          lblSpeed2 = new Label("0.0099km/h");
          lblTime = new Label("Time");
          lblTime2 = new Label("");
          lblComment = new Label("Comment");
          lblComment2 = new Label("");
          tfDistance = new TextField(20);
          btnCalculate = new Button("Calculate");
          btnClear = new Button("Clear");
          frame.setLayout(new GridLayout(5,2));
          frame.add(lblDistance);
          frame.add(tfDistance);
          frame.add(lblSpeed);
          frame.add(lblSpeed2);
          frame.add(lblTime);
          frame.add(lblTime2);
          frame.add(lblComment);
          frame.add(lblComment2);
          frame.add(btnCalculate);
          frame.add(btnClear);
          btnCalculate.addActionListener(this);
          btnClear.addActionListener(this);
          frame.addWindowListener(this);
          frame.setSize(100,100);
          frame.setVisible(true);
          frame.pack();     
        public static void main(String [] args) {
            SnailTravel st = new SnailTravel();
            st.viewInterface();
        public void actionPerformed(ActionEvent e) {
           if (e.getSource() == btnCalculate){
              SnailData sd = new SnailData();
           double distance = Double.parseDouble(tfDistance.getText());
           sd.setDistance(distance);
                  sd.setSpeed(0.0099);
              sd.setTime(distance/sd.getSpeed());
              String answer = Double.toString(sd.getTime());
              lblTime2.setText(answer);
              lblComment2.setText("But No Exception!!!");
           else
           if(e.getSource() == btnClear){
              tfDistance.setText("");
              lblTime2.setText("");
       public void windowClosing(WindowEvent e){
                   System.exit(1);
        public void windowClosed (WindowEvent e) { };
        public void windowDeiconified (WindowEvent e) { };
        public void windowIconified (WindowEvent e) { };
        public void windowActivated (WindowEvent e) { };
        public void windowDeactivated (WindowEvent e) { };
        public void windowOpened(WindowEvent e) { };
    class SnailData{
       private double distance;
       private double speed;
       private double time;
       public SnailData(){
          distance = 0;
          speed = 0;
          time = 0;
       public double getDistance(){
          return distance;
       public double getSpeed(){
          return speed;
       public double getTime(){
          return time;
       public void setDistance(double d){
          distance = d;
       public void setSpeed(double s){
          speed = s;
       public void setTime(double t){
          time = t;
    }Pls and thanks again for helps....

    What i actually want to do is SnailTravel, but i facing some problems, which is the
    - Constructor,setter, getter, and
    - Exception Handling.
    So i create another simple contructor files which name Employee and TestEmployeeClass, to try find out the problem but i failed, it come out error msg "cannot find symbol".
    What i want to say that is if i cut below code (SnailTravel) to its own file(SnailData), SnailTravel come out error msg "cannot find symbol".So i force to put them in a same file(SnailTravel) to run properly.
    I need help to separate them. (I think i miss some syntax but i dont know what)
    And can somebody help me about Exception handling too pls.
    class SnailData{
       private double distance;
       private double speed;
       private double time;
       public SnailData(){
          distance = 0;
          speed = 0;
          time = 0;
       public double getDistance(){
          return distance;
       public double getSpeed(){
          return speed;
       public double getTime(){
          return time;
       public void setDistance(double d){
          distance = d;
       public void setSpeed(double s){
          speed = s;
       public void setTime(double t){
          time = t;

  • FORALL Exception handling problem

    Hi All,
    I have one doubt in forall exception handling. I have gone through the SAVE EXCEPTION for bulk collect but i have one more query
    BEGIN
    FORALL j IN l_tab.first .. l_tab.last
    INSERT INTO exception_test
    VALUES (l_tab(i));
    EXCEPTION
    END;
    My requirement is when an exception occurs, i ant to print the values of the collection.
    e.g. say l_tab (j).emp_number, l_tab (j).emp_id.
    How is that possible?
    Thanks
    Samarth
    Edited by: 950810 on Mar 12, 2013 7:28 PM

    >
    I have one doubt in forall exception handling. I have gone through the SAVE EXCEPTION for bulk collect but i have one more query
    BEGIN
    FORALL j IN l_tab.first .. l_tab.last
    INSERT INTO exception_test
    VALUES (l_tab(i));
    EXCEPTION
    END;
    My requirement is when an exception occurs, i ant to print the values of the collection.
    e.g. say l_tab (j).emp_number, l_tab (j).emp_id.
    How is that possible?
    >
    Post the code you are using. You didn't post the FORALL that is using SAVE EXCEPTIONS.
    The SQL%BULK_EXCEPTIONS associative array that you get has the INDEX of the collection element that caused the exception.
    So you need to use those indexes to index into the original collection to get whatever values are in it.
    One index from the exception array is:
    SQL%BULK_EXCEPTIONS(i).error_index So if your original collection is named 'myCollection' you would reference that collection value as:
    myCollection(SQL%BULK_EXCEPTIONS(i).error_index); See 'Handling FORALL Exceptions (%BULK_EXCEPTIONS Attribute)' in the PL/SQL Language doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm#i49099
    >
    All exceptions raised during the execution are saved in the cursor attribute %BULK_EXCEPTIONS, which stores a collection of records. Each record has two fields:
    %BULK_EXCEPTIONS(i).ERROR_INDEX holds the iteration of the FORALL statement during which the exception was raised.
    %BULK_EXCEPTIONS(i).ERROR_CODE holds the corresponding Oracle Database error code.
    The values stored by %BULK_EXCEPTIONS always refer to the most recently executed FORALL statement. The number of exceptions is saved in %BULK_EXCEPTIONS.COUNT. Its subscripts range from 1 to COUNT.
    The individual error messages, or any substitution arguments, are not saved, but the error message text can looked up using ERROR_CODE with SQLERRM as shown in Example 12-9.
    You might need to work backward to determine which collection element was used in the iteration that caused an exception. For example, if you use the INDICES OF clause to process a sparse collection, you must step through the elements one by one to find the one corresponding to %BULK_EXCEPTIONS(i).ERROR_INDEX. If you use the VALUES OF clause to process a subset of elements, you must find the element in the index collection whose subscript matches %BULK_EXCEPTIONS(i).ERROR_INDEX, and then use that element's value as the subscript to find the erroneous element in the original collection.

  • Flow Activity Exception Handling Problem

    Hi,
    I am using Flow Activity in my Bpel Process, i am getting some exception in one of flow, but other flows are working fine. Even i have included Catch block for other flow still i am getting fault response.
    Please suggest me how to do exception handling in Flow Activity.
    Thanks in advance.

    Hi,
    just restructure your BPEL process. The 'Flow' activity contains several 'Sequence' activities. Simply ... put a 'Scope' activity inside of each 'Sequence' activity. Then put another 'Sequence' activity inside of each 'Scope' activity ... and put there required logic/activities.
    After that you can create fault handling on these 'Scope' activities. In this way you can handle faults in each flow-sequence.
    Regards,
    Martin

  • JSP Exception Handler problem

    I have set up an errorPage handler (ExceptionHandler.jsp) for my JSP page, Main.jsp. If the Main.jsp throws an exception from some of its early code, ExceptionHandler.jsp shows correctly.
    But if Main.jsp throws an exception later on in its code, its previous ouput to the client isn't cleared and gets sent to the client along with the ExceptionHandler.jsp output - usually resulting in the user seeing a blank screen.
    So how can I make it so that when ExceptionHandler.jsp is called, none of Main.jsp output is sent to the client?
    Cheers,
    James

    Don't handle business logic in JSPs, but in Servlets. Use JSPs for presentation only. With other words: move all those scriptlets out of the JSP file to a real Java class.

  • Exception handling problem

    Hi, i have a database whereby people can look up customer records based on their order numbers. If the order number does not exist, an error should appear.
    Code:
    SET SERVEROUTPUT ON;
    DECLARE
    v_ordNum NUMBER(8) := &sv_odNum;
    v_fname VARCHAR2 (30);
    v_lname VARCHAR2 (30);
    v_add VARCHAR2 (30);
    v_num VARCHAR2 (10);
    BEGIN
    SELECT first, last, cadd, dphone
    INTO v_fname, v_lname, v_add, v_num
    FROM CUSTOMER c, ORDERS o
    WHERE c.custid = o.custid
    AND v_ordNum = o.orderid;
    DBMS_OUTPUT.PUT_LINE(' The name, address and telephone number of the customer follow: '
    ||v_fname|| ' ' ||v_lname ||' ' ||v_add||' ' ||v_num);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    DBMS_OUTPUT.PUT_LINE(v_ordNum 'was not found. Please try again');
    END;
    When i enter a order number that does not exist i get this instead, y:
    SQL> @q1.sql
    Enter value for sv_odnum: 2331
    old 2: v_ordNum NUMBER(8) := &sv_odNum;
    new 2: v_ordNum NUMBER(8) := 2331;
    DBMS_OUTPUT.PUT_LINE(v_ordNum 'was not found. Please try again');
    ERROR at line 18:
    ORA-06550: line 18, column 33:
    PLS-00103: Encountered the symbol "was not found. Please try again" when
    expecting one of the following:
    . ( ) , * @ % & | = - + < / > at in mod not range rem => ..
    <an exponent (**)> <> or != or ~= >= <= <> and or like as
    between from using is null is not || is dangling
    The symbol "." was substituted for "was not found. Please try again" to
    continue.

    Hi,
    you were careful in using "||" while writing the previous DBMS_OUTPUT.PUT_LINE statement.
    do the same now aslo...
    DBMS_OUTPUT.PUT_LINE(v_ordNum || ' was not found. Please try again');
    Try now and tell me. Simple Errors you should be careful... you just have to read the error carefull and see what it says and why it is wrong.
    Regards
    Jagan

  • Exception handling problems

    hi folks,
    i have developed one web service in which i have thrown a SoapFault
    exception.i want it to see what happens on the client.i get an exception
    thrown but ,theres some thing called SaxParseException that also appears on
    the client console.also while running the web service i get a message on the
    server console which is like this
    Unable to deploy EJB: Hello from Hellodeepuu.jar:
    Unable to bind a cluster-aware stateless session EJBObject to the name:
    HelloHome_EO. Please ensure
    that the jndi-name in the weblogic-ejb-jar.xml is correct. The error was:
    javax.naming.NameAlreadyBoundException: Can't rebind anything but a
    replica-aware stub to a name tha
    t is currently bound to a replica-aware stub; remaining name ''
    <<no stack trace available>>
    what is this?
    and on the cline side console the xml and the exception is like this
    ------------- RECEIVING XML -------------
    <?xml version="1.0"?>
    <definitions
    targetNamespace="java:com.chase.ccs.webservice.transaction"
    xmlns:tns="java:com.chase.ccs.webservice.transaction"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema targetNamespace='java:com.chase.ccs.webservice.transaction'
    xmlns='http://www.w3.org/1999/XMLSchema'>
    </schema>
    </types>
    <message name="helloRequest">
    </message>
    <message name="helloResponse">
    <part name="return" type="xsd:string" />
    </message>
    <portType name="HelloPortType">
    <operation name="hello">
    <input message="tns:helloRequest"/>
    <output message="tns:helloResponse"/>
    </operation>
    </portType>
    <binding name="HelloBinding" type="tns:HelloPortType"><soap:binding
    style="rpc" transport="http://sc
    hemas.xmlsoap.org/soap/http/"/>
    <operation name="hello">
    <soap:operation soapAction="urn:hello"/>
    <input><soap:body use="encoded" namespace='urn:Hello'
    encodingStyle="http://schemas.xmlsoap.org/soap
    /encoding/"/></input>
    <output><soap:body use="encoded" namespace='urn:Hello'
    encodingStyle="http://schemas.xmlsoap.org/soa
    p/encoding/"/></output>
    </operation>
    </binding>
    <service name="Hello"><documentation>todo</documentation><port
    name="HelloPort" binding="tns:HelloBi
    nding"><soap:address
    location="http://localhost:7001/Hello/Hellouri"/></port></service></definiti
    ons
    >
    -------------- SENDING XML --------------
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV='http://schemas.xmlsoap.org/
    soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    xmlns:xsi='http://www.w3.
    org/1999/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/1999/XMLSchema'><SOAP-ENV:Body><ns0:hello
    xmlns:ns0='urn:Hello'
    SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'></ns0:hel
    lo
    </SOAP-ENV:Body></SOAP-ENV:Envelope>------------- RECEIVINGXML -------------
    <?xml version="1.0" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>
    Client
    </faultcode>
    <faultstring>
    java.rmi.RemoteException
    </faultstring>
    <detail>
    Application fault:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    weblogic.soap.SoapFault: faultstring
    ------------- Remote Stack Trace ------------
    detail------------- Local Stack Trace ------------
    weblogic.soap.SoapFault: faultstring
    <<no stack trace available>>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    Scanner has tokens:
    [CHARDATA] (detail------------- Local Stack
    race ------------)
    [SPACE] (
    [CHARDATA] (weblogic.soap.SoapFault: faultstring)
    [SPACE] (
    lt: faultstring
    <n <-- bad character
    ur in exceptionclass org.xml.sax.SAXParseException
    Error at line:18 col:4 '<' expected [?! -- [CDATA[ ]
    at
    weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXE
    lementFactory
    .java:60)
    at
    weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:13
    0)
    at
    weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream
    .java:46)
    at
    weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48)
    at
    weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.j
    ava:38)
    at
    weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48)
    at
    weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.j
    ava:38)
    at
    weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    at
    weblogicx.xml.stream.helpers.TextBuilder.process(TextBuilder.java:23)
    at
    weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:194)
    at
    weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:145)
    at weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:66)
    at weblogic.soap.codec.Operation.read(Operation.java:97)
    at
    weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:200)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:130)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:480)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at CountClient.main(CountClient.java:60)
    i am using wl6.1 and rpc style message service.i would appreacite if anyone
    would tell me why i am getting the SaxParse Exception even though i am not
    parsing anything.
    thanx in advance
    deepuu

    hi manoj,
    thanx for the instant reply.
    but in my condition if i want it make it work ,is there any way that i can
    do it.
    deepuu
    "manoj cheenath" <[email protected]> wrote in message
    news:[email protected]...
    In 6.1 the fault->details element in the response is not wrapped in
    CDATA. In some situation (like the one you found) the serialization
    of stack trace to fault->details produce invalid XML. Hence, the
    parser failed.
    This is a bug and i have filed a CR on WSL 6.1.
    regards,
    manoj
    "deepuu" <[email protected]> wrote in message
    news:[email protected]...
    hi folks,
    i have developed one web service in which i have thrown a SoapFault
    exception.i want it to see what happens on the client.i get an
    exception
    thrown but ,theres some thing called SaxParseException that also appearson
    the client console.also while running the web service i get a message onthe
    server console which is like this
    Unable to deploy EJB: Hello from Hellodeepuu.jar:
    Unable to bind a cluster-aware stateless session EJBObject to the name:
    HelloHome_EO. Please ensure
    that the jndi-name in the weblogic-ejb-jar.xml is correct. The error
    was:
    javax.naming.NameAlreadyBoundException: Can't rebind anything but a
    replica-aware stub to a name tha
    t is currently bound to a replica-aware stub; remaining name ''
    <<no stack trace available>>
    what is this?
    and on the cline side console the xml and the exception is like this
    ------------- RECEIVING XML -------------
    <?xml version="1.0"?>
    <definitions
    targetNamespace="java:com.chase.ccs.webservice.transaction"
    xmlns:tns="java:com.chase.ccs.webservice.transaction"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema targetNamespace='java:com.chase.ccs.webservice.transaction'
    xmlns='http://www.w3.org/1999/XMLSchema'>
    </schema>
    </types>
    <message name="helloRequest">
    </message>
    <message name="helloResponse">
    <part name="return" type="xsd:string" />
    </message>
    <portType name="HelloPortType">
    <operation name="hello">
    <input message="tns:helloRequest"/>
    <output message="tns:helloResponse"/>
    </operation>
    </portType>
    <binding name="HelloBinding" type="tns:HelloPortType"><soap:binding
    style="rpc" transport="http://sc
    hemas.xmlsoap.org/soap/http/"/>
    <operation name="hello">
    <soap:operation soapAction="urn:hello"/>
    <input><soap:body use="encoded" namespace='urn:Hello'
    encodingStyle="http://schemas.xmlsoap.org/soap
    /encoding/"/></input>
    <output><soap:body use="encoded" namespace='urn:Hello'
    encodingStyle="http://schemas.xmlsoap.org/soa
    p/encoding/"/></output>
    </operation>
    </binding>
    <service name="Hello"><documentation>todo</documentation><port
    name="HelloPort" binding="tns:HelloBi
    nding"><soap:address
    location="http://localhost:7001/Hello/Hellouri"/></port></service></definiti
    ons
    >
    -------------- SENDING XML --------------
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV='http://schemas.xmlsoap.org/
    soap/envelope/'xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    xmlns:xsi='http://www.w3.
    org/1999/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/1999/XMLSchema'><SOAP-ENV:Body><ns0:hello
    xmlns:ns0='urn:Hello'
    SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'></ns0:hel
    lo
    </SOAP-ENV:Body></SOAP-ENV:Envelope>------------- RECEIVINGXML -------------
    <?xml version="1.0" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>
    Client
    </faultcode>
    <faultstring>
    java.rmi.RemoteException
    </faultstring>
    <detail>
    Application fault:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    weblogic.soap.SoapFault: faultstring
    ------------- Remote Stack Trace ------------
    detail------------- Local Stack Trace ------------
    weblogic.soap.SoapFault: faultstring
    <<no stack trace available>>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    Scanner has tokens:
    [CHARDATA] (detail------------- Local Stack
    race ------------)
    [SPACE] (
    [CHARDATA] (weblogic.soap.SoapFault: faultstring)
    [SPACE] (
    lt: faultstring
    <n <-- bad character
    ur in exceptionclass org.xml.sax.SAXParseException
    Error at line:18 col:4 '<' expected [?! -- [CDATA[ ]
    at
    weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXE
    lementFactory
    .java:60)
    at
    weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:13
    0)
    at
    weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream
    .java:46)
    at
    weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48)
    at
    weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.j
    ava:38)
    at
    weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48)
    at
    weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.j
    ava:38)
    at
    weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    at
    weblogicx.xml.stream.helpers.TextBuilder.process(TextBuilder.java:23)
    at
    weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:194)
    at
    weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:145)
    at weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:66)
    at weblogic.soap.codec.Operation.read(Operation.java:97)
    at
    weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:200)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:130)
    atweblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:480)
    atweblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at CountClient.main(CountClient.java:60)
    i am using wl6.1 and rpc style message service.i would appreacite ifanyone
    would tell me why i am getting the SaxParse Exception even though i am
    not
    parsing anything.
    thanx in advance
    deepuu

  • ADF Exception Handle Problem

    Hi All,
    1) created a class with "execute" method in ADF model project, and exposed it as a data control.
    2) bind the "execute" method into a JSF page in ADF viewController project.
    3) tried to run "execute" method from JSF page.
    4) some exception thrown from "execute" method, but ADF application didn't show the real exception message but following, why?
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: tried to access class oracle.j2ee.util.TraceLogger$TraceLoggerHandler from class oracle.j2ee.util.CustomerLogger
    java.lang.IllegalAccessError: tried to access class oracle.j2ee.util.TraceLogger$TraceLoggerHandler from class oracle.j2ee.util.CustomerLogger
         at oracle.j2ee.util.CustomerLogger.getCompatibleHandler(CustomerLogger.java:248)
         at oracle.j2ee.util.CustomerLogger.getLogger(CustomerLogger.java:231)
         at oracle.j2ee.rmi.RMIMessages.<clinit>(RMIMessages.java:21)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:571)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:515)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy3.getObject(Unknown Source)
         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.agile.api.pc.EJBRemoteProxy$1.invoke(EJBRemoteProxy.java:40)
         at $Proxy130.getObject(Unknown Source)
         at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1452)
         at com.agile.api.common.SDKAction.run(SDKAction.java:23)
         at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
         at com.agile.api.common.Security.doAs(Security.java:54)
         at com.agile.api.common.Security.doAs(Security.java:109)
         at com.agile.api.pc.Session.getObject(Session.java:448)
         at model.Test.execute(Test.java:113)
         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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:440)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:468)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
         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(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: tried to access class oracle.j2ee.util.TraceLogger$TraceLoggerHandler from class oracle.j2ee.util.CustomerLogger
    java.lang.IllegalAccessError: tried to access class oracle.j2ee.util.TraceLogger$TraceLoggerHandler from class oracle.j2ee.util.CustomerLogger
         at oracle.j2ee.util.CustomerLogger.getCompatibleHandler(CustomerLogger.java:248)
         at oracle.j2ee.util.CustomerLogger.getLogger(CustomerLogger.java:231)
         at oracle.j2ee.rmi.RMIMessages.<clinit>(RMIMessages.java:21)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:571)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:515)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy3.getObject(Unknown Source)
         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.agile.api.pc.EJBRemoteProxy$1.invoke(EJBRemoteProxy.java:40)
         at $Proxy130.getObject(Unknown Source)
         at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1452)
         at com.agile.api.common.SDKAction.run(SDKAction.java:23)
         at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
         at com.agile.api.common.Security.doAs(Security.java:54)
         at com.agile.api.common.Security.doAs(Security.java:109)
         at com.agile.api.pc.Session.getObject(Session.java:448)
         at model.Test.execute(Test.java:113)
         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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:440)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:468)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
         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(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi All,
    if i called the "execute" method from a pure Java client application, i got the following exception message,
    com.agile.util.exception.CMAppException: Invalid parameter.
         at com.agile.apibean.Generic.createError(Generic.java:29)
         at com.agile.apibean.Generic.checkParameter(Generic.java:41)
         at com.agile.apibean.objects.DataObjectOperations.getObject(DataObjectOperations.java:264)
         at com.agile.apibean.objects.DataObjectOperations.getObject(DataObjectOperations.java:294)
         at com.agile.apibean.APISessionBean.getObject(APISessionBean.java:367)
         at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com_agile_apibean_APISession_RemoteProxy_2fc2dp8.getObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:129)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:571)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:515)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy3.getObject(Unknown Source)
         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.agile.api.pc.EJBRemoteProxy$1.invoke(EJBRemoteProxy.java:40)
         at $Proxy1.getObject(Unknown Source)
         at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1452)
         at com.agile.api.common.SDKAction.run(SDKAction.java:23)
         at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
         at com.agile.api.common.Security.doAs(Security.java:54)
         at com.agile.api.common.Security.doAs(Security.java:109)
         at com.agile.api.pc.Session.getObject(Session.java:448)
         at model.Test.execute(Test.java:113)
         at model.TestClient.main(TestClient.java:16)
    com.agile.util.exception.CMAppException: Invalid parameter.
         at com.agile.apibean.Generic.createError(Generic.java:29)
         at com.agile.apibean.Generic.checkParameter(Generic.java:41)
         at com.agile.apibean.objects.DataObjectOperations.getObject(DataObjectOperations.java:264)
         at com.agile.apibean.objects.DataObjectOperations.getObject(DataObjectOperations.java:294)
         at com.agile.apibean.APISessionBean.getObject(APISessionBean.java:367)
         at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com_agile_apibean_APISession_RemoteProxy_2fc2dp8.getObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:129)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:571)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:515)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy3.getObject(Unknown Source)
         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.agile.api.pc.EJBRemoteProxy$1.invoke(EJBRemoteProxy.java:40)
         at $Proxy1.getObject(Unknown Source)
         at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1452)
         at com.agile.api.common.SDKAction.run(SDKAction.java:23)
         at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
         at com.agile.api.common.Security.doAs(Security.java:54)
         at com.agile.api.common.Security.doAs(Security.java:109)
         at com.agile.api.pc.Session.getObject(Session.java:448)
         at model.Test.execute(Test.java:113)
         at model.TestClient.main(TestClient.java:16)
    Error code : 60018
    Error message : Invalid parameter.
    Root Cause exception : com.agile.util.exception.CMAppException: Invalid parameter.
         at com.agile.api.pc.Session.createError(Session.java:1723)
         at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1457)
         at com.agile.api.common.SDKAction.run(SDKAction.java:23)
         at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
         at com.agile.api.common.Security.doAs(Security.java:54)
         at com.agile.api.common.Security.doAs(Security.java:109)
         at com.agile.api.pc.Session.getObject(Session.java:448)
         at model.Test.execute(Test.java:113)
         at model.TestClient.main(TestClient.java:16)
    Process exited with exit code 0.

  • Exception handle problem.

    I'd like to return a value in method doDelete(),but it saids that "finally block dose not complete normally",why? I use Ecplise3.0.1.
    Any advice is highly appreciated!
    Code:
    public int doDelete(String a, String b)
    int state = 0;
    String filter = "num != 1"
    OneDAO oneDAO = new OneDAO ( );
    try
    ArrayList list = oneDAO .query (filter);//get the record to be delete
    oneDAO .deleteDS(list );//delete record from table A
    oneDAO .deleteCom (a, b);//delete record from table B
    state = 0; //success
    catch (OPException e)
    state = 6; //meet exception
    throw new SystemException (e);
    finally
    return state;
    }

    You can not both return a value and throw an excepton, which is what you are tring to do above. If a Throwable is throw, the method never "returns", and the calling blocks "trys" catch block is executed.
    When you post code, please use [code] and [/code] tags as described in Formatting Tips on the message entry page. It makes it much easier to read.

  • Problem in Exception Handling...URGENT

    hi, actually i am trying to make a program using Lucene Api and Using NGramSpeller...
    the information about NGramSpeller is here
    http://www.marine-geo.org/services/oai/docs/javadoc/org/apache/lucene/spell/NGramSpeller.html#suggestUsingNGrams(org.apache.lucene.search.Searcher,%20java.lang.String,%20int,%20int,%20int,%20float,%20float,%20float,%20int,%20java.util.List,%20boolean)
    and here is my code..
    package org.apache.lucene.spell;
    import java.io.IOException;
    import java.io.File;
    import java.io.*;
    import java.io.FileInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.BufferedReader;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.queryParser.ParseException;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.spell.NGramSpeller;
    import org.apache.lucene.store.Directory;
    import org.apache.lucene.store.FSDirectory;
    import org.apache.lucene.analysis.*;
    import org.apache.lucene.index.*;
    import org.apache.lucene.store.*;
    import org.apache.lucene.document.*;
    import org.apache.lucene.search.*;
    import org.apache.lucene.search.BooleanClause.Occur;
    import java.lang.*;
    public class spell1 {
         public static void main(String args[]) throws IOException {     
         try{
         System.out.println("enter the keyword");
         BufferedReader in = new BufferedReader(new InputStreamReader(System.in));//USER INPUT KEYWORDS
        String the_query = in.readLine();               
         //String spellIndex = "C:/opt/lucene/didyoumean/indexes/spell";
         String spellIndex1 = "C:/Documents and Settings/sumit-i/Desktop/ngramspell/ngramspell";
         Searcher spellIndex = new IndexSearcher(spellIndex1);
         NGramSpeller spellChecker = new NGramSpeller();
         float a=2.0f, b=1.0f, c=0.0f;
         try{
         String[] similarWords = spellChecker.suggestUsingNGrams(spellIndex, "jva", 3, 3, 10, a, b, c, 0, null, true);
         System.out.println("DO YOU MEAN.........");
         for(int i=0;i<similarWords.length;i++)
         System.out.println(similarWords);
         catch (IOException e) {
    throw e;
         in.close();
         catch (IOException ioe)
         ioe.printStackTrace();
    the error i am getting is due to some exception handling problem, which is as follows:package org.apache.lucene.spell;
    import java.io.IOException;
    import java.io.File;
    import java.io.*;
    import java.io.FileInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.BufferedReader;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.queryParser.ParseException;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.spell.NGramSpeller;
    import org.apache.lucene.store.Directory;
    import org.apache.lucene.store.FSDirectory;
    import org.apache.lucene.analysis.*;
    import org.apache.lucene.index.*;
    import org.apache.lucene.store.*;
    import org.apache.lucene.document.*;
    import org.apache.lucene.search.*;
    import org.apache.lucene.search.BooleanClause.Occur;
    import java.lang.*;
    public class spell1 {
         public static void main(String args[]) throws IOException {     
         try{
         System.out.println("enter the keyword");
         BufferedReader in = new BufferedReader(new InputStreamReader(System.in));//USER INPUT KEYWORDS
    String the_query = in.readLine();               
         //String spellIndex = "C:/opt/lucene/didyoumean/indexes/spell";
         String spellIndex1 = "C:/Documents and Settings/sumit-i/Desktop/ngramspell/ngramspell";
         Searcher spellIndex = new IndexSearcher(spellIndex1);
         NGramSpeller spellChecker = new NGramSpeller();
         float a=2.0f, b=1.0f, c=0.0f;
         try{
         String[] similarWords = spellChecker.suggestUsingNGrams(spellIndex, "jva", 3, 3, 10, a, b, c, 0, null, true);
         System.out.println("DO YOU MEAN.........");
         for(int i=0;i<similarWords.length;i++)
         System.out.println(similarWords[i]);
         catch (IOException e) {
    throw e;
         in.close();
         catch (IOException ioe)
         ioe.printStackTrace();
    any idea....plzzz                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    what about this??
    try{
         String[] similarWords = spellChecker.suggestUsingNGrams(spellIndex, "jva", 3, 3, 10, a, b, c, 0, null, true);
         System.out.println("DO YOU MEAN.........");
         for(int i=0;i<similarWords.length;i++)
         System.out.println(similarWords);
         catch (ArrayIndexOutOfBoundsException e) {
    System.out.println("exception: " + e.getMessage());
    e.printStackTrace();

  • Exception handling branch not executing in BPM

    Hi all,
    We have a problem with exception handling in BPMs.
    We have created an exception branch in a block and a transformation step in it.  However, the branch doesn't get executed in case of exceptions.
    Any ideas?  Is this a known problem?
    Many thanks,
    Aldo

    Hi VJ,
    The exception name can only be selected from a list.  There is no chance of mistaking/misspelling in there.
    That is fine as it is.  I am quite sure about it.
    Any other ideas?
    I found SAP note 1039330 but we are already on patch 12 and that correction was released on patch 12.
    Thanks, regards,
    Aldo

  • Exception handling without BPM

    Hello,
    I have done exception handling with BPM.
    i.e. when there exception comes in mapping I have use Block  Exception Handler.
    Can this be done without BPM.
    Please snd me blog for it.
    Regards

    Hi,
    As explained by Michal it is correct, but in message mapping , we can raise an alert .
    See the below links
    Alerts with variables from the messages payload (XI) - UPDATED - /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Regards
    Chilla

  • Throw exception in Java mapping and handle this in BPM

    Hi,
    I'll use a Java mapping in a BPM transform step. Is it possible to throw an exception inside this Java mapping and handle this in a BPM exception handler?
    thanks and regards
    Verena

    Hi Verena,
    In a BPM transformation step, I think you can throw exceptions only for system errors.
    Let me explain with an example, one of the ways to handle your scenario:
    Lets assume your Java Mapping fails then you can trap that exception in your Java mapping and compose an XML message which indicates that an error has occurred.
    say for e.g.
    <intermediateStructure>
    <SatusDocument>
    <StatusCode>ERROR</StatusCode>
    <ErrCode>123</ErrCode>
    <ErrDesc><!populate the thrown exception details></ErrDesc>
    </StatusDocument>
    <Payload>
    <!contains actual XML message with data>
    </Payload>
    </intermediateStructure>
    if Java mapping is Successful, you can compose the XML message as follows:
    <intermediateStructure>
    <SatusDocument>
    <StatusCode>SUCCESS</StatusCode>
    <ErrCode>0</ErrCode>
    <ErrDesc></ErrDesc>
    </StatusDocument>
    <Payload>
    <!contains actual XML message with data>
    </Payload>
    </intermediateStructure>
    You can use BPM switch operation to switch to different processing branches say for e.g. "error" branch or "success" branch by examining the value of <StatusCode> tag.
    Hope it helps !
    Regards,
    Sridhar

  • Exception handling of Transport acknowledgement in asynchronous send in BPM

    HI,
    A silly question, but your help would be greatly appreciated..
    - I have a asynch send step in a BPM for sending data to the target system through RFC
    - It has acknoweledgement property of this send step is set to transport acknowledgement
    - The exception property of this send step is set to throw a 'RFCException'
    - This send step is inside a block
    - This block also has an Exception branch which catches this 'RFCException'
    - now my RFC channel failed for some known reason, but the flow never went into the Exception branch
    IS this behaviour of the 'transport acknowledgement' property of an asynch send step in BPM expected ?
    What should I take care so that if my RFC receiver channel throws an exception, the flow of my BPM goes to the exception branch ??

    - now my RFC channel failed for some known reason, but the flow never went into the Exception branch
    IS this behaviour of the 'transport acknowledgement' property of an asynch send step in BPM expected ?
    What should I take care so that if my RFC receiver channel throws an exception, the flow of my BPM goes to the exception
    branch ??
    When an exception is caught by the Transport Acknowledgement it will trigger the Exception branch (if the send step is defined inside a Block with an Exception Branch)
    I think you have not defined (and then assigned) a proper Exception Handler for the Block.
    Click on the Block and define an Exception Handler......click on the Exception Branch and then select the Exception Handler from the dropdown......if this is not done then the Exception Branch wont be executed.....perform a check on your BPM in IR (using F7) you may get some warnings.
    Regards,
    Abhishek.

  • Exception Handling (in Mapping) with out using BPM

    Hello All,
    We are on SP17. I have a simple flow involving XI
    JMS -> XI (Message Mapping -> XSL Mapping)  -> Mail
    I would like to send an email if there is an exception in any of the mapping. But I <b>don't want to use a BPM</b> for this exception handling. How can I do it?
    Thanks
    Abinash

    Hi Abinash,
    yes you can! See these..
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping
    All the best!
    cheers,
    Prashanth
    P.S Please mark helpful answers

Maybe you are looking for

  • Problem with JTree.isExpanded()

    Working with a JTree, I encountered into a strange behavior - I hope someone could explain me... For exporting a tree I need the information whether nodes are expanded or not. The first strange thing is that the root always seems to be collapsed - bu

  • MacBook Pro 10.4.9 Mail Search option not working!

    When a key word or email address is entered into the search pain of mac mail, it produces 0 results every time, even when I have an email open containing the exact key word or email address. Another thread suggested running a downloadable Etresoft re

  • Problems with iphone & itunes

    Had to replace computer now if I sync, all my music etc on iphone will be overwritten by itunes, how can I sync what is on phone to itunes

  • Po history display

    I tried to display po history report it dislpay both header changes and item changes .Please tell me how to display po history only according to item change. Rupali

  • Missing stripes in Finderwindow

    Hello, when displaying files and folders as a list in the finder-window, normally one line in the list has background colour light blue, and the next line has background white. In my finder, and not only in my account, all lines in the finder-window