Unseen exception before

Hi All,
I am building an RMI application based on a server and a client which is an applet (with a callback).
The whole thing is working fine whe I use Applet viewer.
But when I use it in IE5.5 with the JAVA 1.3 plugin I get this Exception:
RemoteException:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
     java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
     java.net.MalformedURLException: no protocol: de
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
     java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
     java.net.MalformedURLException: no protocol: de
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
     java.net.MalformedURLException: no protocol: de
java.net.MalformedURLException: no protocol: de
     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
     at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
     at sun.rmi.server.UnicastRef.invoke(Unknown Source)
     at RMIServer_Stub.registerTimeMonitor(Unknown Source)
     at Applet1.init(Applet1.java:56)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)This happens when I try to call on of the remote method after binding to the server.
Any Ideas ???
Raph

How do you make the client stub class available to the Server? Is it present in Server JVM's classpath or are you relying upon the dynamic class loading of the stub class from the client to the server?
If you're using dynamic class loading (and from your description it seems so) then make sure that the java.rmi.server.codebase property has been set appropriately in the client side so that the server can get the Stub class definition of the client when you register the client as a remote object to the server. From the stack trace it looks like the server can't unmarshall the remote reference passed by the client because of a malformed URL while trying to get the client Stub class.
Try this first. Keep the client stub (generated by rmic) in the server's classpath and code just the way you're doing now. I think the problem will then disappear.
Of course that may not be a desirable solution (especially if your client is an applet). In that case you'll have to figure out ways of making the client stub available to the server JVM. You may end up writing your own custom RMIClassLoader or explicitly use RMIClassLoader.loadClass() method.

Similar Messages

  • Have anyone seen this exception before??? setNull() feature not implemented

    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented
    Have anyone seen this exception before????? I see this exception when I use the "setNull()" function in the preparedstatement class.

    statement.setNull(index, Types.NUMERIC); //works
    statement.setNull(index, Types.DECIMAL); //does not work

  • WebService Socket Timeout Exception before reaching timeout duration

    Hi
    My Server is Websphere Application Server 6.0.2.17
    i got some times socket timeout exception before reach timeout duration. and also i have only default websphere settings for web service .
    The exception is occurred in 19 seconds after hitting the service . i am not able to get the exact problem . because default timeout time is 300 seconds (i think like that)
    Error Log
    2/12/09 11:01:28:323 CET 00000f6a SystemOut O WebService Started --> Begin webservice method invocation (Method Name : getCustomerInfo(String cusID))
    2/12/09 11:01:47:840 CET 00000f6d SystemOut Exception Occurred : java.net.SocketTimeoutException: Socket operation timed out before it could be completed
    WebService Method Invocation Started time 11:01:28
    WebService Timeout exception raised time 11:01:47
    TimeoutDuration 00:00:19

    Hi Mark,
    with synchronous messages it is important to consider timeouts from each connection to be established. So soapUI-PI, then PI-BackendSystem plus anything that might be in between. If your timeout soapUI-PI is smaller than the following ones, you'll get that phenomenon. soapUI will cut the connection, but PI will hold it and maybe receive an answer from the backend. This answer will end up in the void, since the original requester (your soapUI) has already disconnected. But for PI, this will be OK and status "successful". PI does not control and monitor the client's connection.
    In other words, the cancel of the connection is only performed for that same connection, it is not propagated to any subsequent connections.
    Hope that I was clear enough,
    Jörg

  • Is there an (easy) way to retrieve all exceptions before returning?

    What is the typical approach if I have a form submitting data to a stored procedure for inserting a new row and I want to return not the first exception (say, a unique constraint violation) but all constraint violations? I want to not have situation where the user made 5 errors and he's going to modify and submit the form 5 times to get the record submitted.
    What is a good way to handle this? What's a bad way to handle this (I was thinking even if you could you probably don't want to do something like GOTO from the exception block back into the procedure body). I could check every argument independently but then what's the point of the constraints and now I have 2 things to keep in sync as business rules change over time.
    Any suggestions?

    One option would be to create a validation function for each field in the database (for simplicity, assume it returns a 'Y' or a 'N' depending on whether the value is valid). The front end can execute all 8 functions in a single round-trip to validate the data, then submit the data with a second round-trip. You can extend this, of course, so that the validation functions return an error message or a null to provide more information about what is not valid.
    A better option if the calling application supports passing collections as parameters, would be to create a collection of exceptions that are returned as an OUT parameter to the procedure, i.e.
    CREATE TYPE my_exception
       AS OBJECT (
      element_name VARCHAR2(50),
      element_id   NUMBER,
      error_code   NUMBER,
      error_message VARCHAR2(200)
    CREATE TYPE my_exception_collection
       AS TABLE OF my_exception;
    CREATE PROCEDURE save_form( p_item1 IN ..., p_exceptions OUT my_exception_collection )The front end could then process that collection and display the results (if there are no exceptions then everything went smoothly).
    If you are really adventurous, you could probably also build up and throw an exception stack that had every exception you encountered and have the front end parse that call stack, but that would strike me as inelegant.
    Of course, if there are other users in the system, there is no guarantee that it won't take a couple tries to get the data saved because other users might be modifying other data such that what was valid a moment ago is no longer valid and what was invalid a moment ago is now valid.
    Justin

  • Unseen exception (RMI)

    I am using RMI to create a client server hotel booking system applet.
    My client sends the server a new booking by calling the addBooking() method that the server provides. iI get the following error when I try to send it to the server that I don't understand.
    MalformedURLException
    java.rmi.MarshalException: error marshalling arguments; nested exception is:
            java.io.NotSerializableException: BookingCan anyone help?

    It didn't but I added the "implements seriailizable" bit and now get this exception.
    MalformedURLException
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
            java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
            java.io.InvalidClassException: Booking; class invalid for deserializatio
    nI don't want to paste all my code since it is quite a lot. Does anyone know what my problem might be?
    Andy

  • Has anyone seen this exception before when running

    An EXCEPTION_STACK_OVERFLOW exception has been detected in native code outside the VM.
    # Program counter=0x77f0d149
    I'm working on a windowsNT platform. My jdk is 1.3.0. My IDE is jBuilder 6.0.
    It looks like I have to increase my stack size.

    Thanks,
    I am calling jndi code. I found a bug about this problem on the bug site. It's a bug in the jvm for java 1.3.0 It says I have to edit the stack size in the java.exe file with editbin.exe. The problem is, I don't know where to find this file. It's shipped with Visual C++, but we don't use that software here. The link to the bug is below. Thanks for the response.
    http://developer.java.sun.com/developer/bugParade/bugs/4362291.html

  • XML Validation..in JSP (Exception Problem)

    Hello all,
    Below is a .JSP program, which validates an .XML ("validate.xml") file residing in the same container as the JSP. It throws all the possible exception for all possible errors in an XML file(& prints them in a TextArea), but it terminates as soon as it catches the first one.
    HOW CAN I MAKE IT CATCH ALL THE POSSIBLE EXCEPTIONS BEFORE TERMINATING??
    Please suggest/help. Any help would be thoroughly appreciated. Thanks!
    <%@ page session = "false" %>
    <%@ page import = "java.io.*" %>
    <%@ page import = "java.net.*" %>
    <%@ page import = "java.text.*" %>
    <%@ page import = "java.util.*" %>
    <%@ page import = "javax.xml.parsers.*" %>
    <%@ page import = "org.w3c.dom.*" %>
    <%@ page import = "org.xml.sax.*" %>
    <%@ page import = "org.xml.sax.helpers.*" %>
    <%@ page import = "org.apache.xerces.parsers.DOMParser" %>
    <%@ page import = "org.apache.xerces.parsers.SAXParser" %>
    <HTML>
    <HEAD>
    </HEAD>
    <%
    try{
         XMLReader parser = new org.apache.xerces.parsers.SAXParser();
         DefaultHandler handler= new ProductParser();
         parser.setContentHandler(handler);
         parser.setErrorHandler(handler);
         parser.setFeature ("http://xml.org/sax/features/validation", true);
         StringBuffer requestURL = HttpUtils.getRequestURL(request);
         URL jspURL = new URL(requestURL.toString());
         URL url = new URL(jspURL, "validate.xml");
         InputSource is = new InputSource(url.openStream());
         parser.parse(is);
    catch (SAXException e) {}
    %>
    <%!
    String warn = "";
         String err = "";
         String fatal = "";
    class ProductParser extends DefaultHandler
         public void warning (SAXParseException e) throws SAXException // Warning Event Handler
         warn = ("Warning: At Line Number " + e.getLineNumber() + " \nError Reason: " + e.getMessage() + "\n");
         public void error (SAXParseException e) throws SAXException // Error Event Handler
    err = ("Error: At Line Number " + e.getLineNumber() + " \nError Reason: " + e.getMessage() + "\n");
         public void fatalError (SAXParseException e) throws SAXException // Fatal Error Event Handler
         fatal = ("Fatal Error: At Line Number " + e.getLineNumber() + " \nError Reason: " + e.getMessage() + "\n");
    %>
    <Body>
    The Errors in your XML file are as beloW: <br>
    <%=(warn + err + fatal)%>
    </Body>
    </HTML>

    somebody please answer!

  • Fundamental exception handling irritation

    Hello experts,
    I have come across a very disturbing effect when using a function module capable of asynchronous execution in a <i>try-cleanup-endtry</i> statement. Please have a look at the following simple construct:
    TRY.
        do_some_db_update( ).
        start_proc_chain_with_fm( ).
        COMMIT WORK.
      CLEANUP.
        ROLLBACK WORK.
    ENDTRY.
    The method <i>do_some_db_update( )</i> can raise an exception (when the update statement contained in it somehow fails). The method <i>start_proc_chain_with_fm( )</i> uses the fm <i>RSPC_API_CHAIN_START</i> to start some process chain, if it returns with return code <i>failed</i> we raise an exception too.
    That is, both methods potentially raise exceptions. Obviously we only want to commit the involved DB changes if neither does and we want to roll back things if one of the two raises an exception (before propagating the exception to a caller).
    Now, what happens occasionally is that the latter method fails, i.e. it actually raises an exception, however the programm flow executes both, the remaining code in the try-block (i.e. the COMMIT statement) <b>as well as</b> the CLEANUP-branch (i.e. the ROLLBACK statement, which of course has nothing to roll back by then anymore).
    Can somebody please shed some light on this, I am very confused. This behavior upsets the very basis of my understanding of how exception handling in try-catch blocks works.
    Of course I somehow suspect the function module's "asychronous" capabilities.. but actually I think this must not have an effect on the construction as such.
    Regards,
    Sebastian

    Hi Matt,
    thanks for you answer. The exception thrown is indeed my <i>chain_start_failed_ex</i> (my class-based wrapper around/equivalent of the original <i>failed</i>-"exception" returned by the function module). That is, an exception is thrown and the programm flow should definitly continue after the CLEANUP statement. However, this is not always the case.
    As for your proposal this could be a work-around for the concret problem. Nevertheless I would very much like to find a general explanation for this "mystery". In principle I think - regardless of what the methods actually do - the effect discribed should never happen..
    Regards,
    Sebastian

  • RE: exception handling

    Wayne,
    When an exception occurs, Forte aborts the inner
    most compound statement, after executing the code
    of an exception handler if there is one. If the excep-
    tion is not handled, it still exists after the compound
    statement was aborted, so Forte now aborts the
    remaining inner most compound statement. This
    continues until Forte reaches the root compound
    statement of the tread (or "task" if you will). This
    one will also be aborted and that is the end of the
    thread (task). If you look at the debugger, you will
    see "RIP" in front of this thread. Sure, this thread
    was spawned by another thread. It was started
    by a "start task" call from within some compound
    statement in the parent thread, but this compound
    statement was probably long since closed. Forte
    can't pass the exception on to a higher level com-
    pound statement, because there is none. If the
    thread started with a method that had a return event
    and an exception event, and you started the task
    with "Completion = event" then Forte will post one
    of these events after the root compound statement
    was finished (in other words, the thread was stopped).
    From this event you can see, if the thread wasfinished succesfully or not.
    Of course, an event is not the same kind of thing
    as an exception. You can't raise events, or post
    exceptions.
    So, when an exception is not handled, only the thread
    where this exception occured is cancelled (including
    all it's child threads). The rest of the treads stay alive.
    -----Original Message-----
    From: Wayne Walker [SMTP:[email protected]]
    Sent: Wednesday 22 July 1998 13:49
    To: '[email protected]'
    Subject: exception handling
    I have a problem in handling exceptions detected in a task. I start a
    task
    which performs some function. I also have an event handler which
    recognizes the method_exception returned should an exception be
    detected.
    Once detected by the event handler I force the exception up to
    another
    process which displays the exception to the user. However, it appears
    that
    forte is intercepting the exception before my event handler can detect
    it
    and posts an exception message. Can anyone explain how this mechanism
    works and the best approach for handling exceptions myself vice Forte?
    Thanks,
    Wayne
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    My understanding is that if your client doesn't care (or cannot handle) the exception,
    you throw your exception WRARPPED with EJBException. This way, the container can
    roll back the transaction properly.
    If your client cares (or have the ability to recover) the exception, you should
    define your own exception. They should not be derived from RuntimeException or
    RemoteException or EJBException. If you want to make sure that the transactions
    are rolled back, you call setRollbackOnly() before you throw the exception.
    Charles
    soraya abbasi <[email protected]> wrote:
    I have tried to make my custom exception subclass RemoteException but
    that doesn't work.
    Does that mean to say you can't have custom exceptions thrown to a client?

  • OCI-01555 exception on calling OracleXmlType .Value method

    Hi,
    I'm using Oracle 10g EX, and ODAC 1020221. I created an ODP.net based C# webservice that reads/writes xml data using stored procedures.
    I implemented the read as illustrated below:
    OracleConnection connection = new OracleConnection(...);
    OracleCommand command = connection.CreateCommand();
    OracleParameter param = command.CreateParameter();
    param.ParameterName = "XML_COL";
    param.OracleDbType = OracleDbType.XmlType;
    param.Direction = ParameterDirection.Output;
    command.ExecuteNonQuery();
    OracleParameter param = command.Parameters["XML_COL"];
    OracleXmlType xmlType = (OracleXmlType)param.Value;
    string value = xmlType.Value;
    This works fine as long I call it in a single-threaded test.
    However, when I run a multi-threaded test with more than 2 threads I'm getting the occasional exception on calling xmlType.Value:
    OCI-01555: Message 1555 not found; product=RDBMS; facility=OCI
    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx,
    Object src, String procedure)
    at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
    at Oracle.DataAccess.Types.OracleXmlType.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
    at Oracle.DataAccess.Types.OracleXmlType.get_Value()
    Surprisingly, I have not been able to find any documentation regarding this error, though there is a ORA error with the same number indicating some rollback size issues.
    The problem seem to occur when another thread in my webservice updates the same record. The stored procedure is "safe-guarded" by a lock, however, I didn't implement additional locking in my webservice, because a) I thought odp.net can cope, and b) ado.net/sql has no problem with this approach, but perhaps I assumed wrongly?
    Has anybody seen this exception before and can explain what this is all about?
    Many thanks,
    Frank
    Edited by: 803211 on 19-Oct-2010 01:46

    we meet exactly the same problem.
    Did you fix it?

  • Getting xml serializer exception

    dont know what this mean, did anybody got this exception before.
    Searched on google but got few results only which were not helpful.
    Frustrated posting this here . if anybody has seen this and resolved this , give me tips on how to get this working or atleast what could be cause of this problem.
    java.lang.NullPointerException
    at org.apache.xml.serialize.OutputFormat.whichMethod(Unknown Source)
    at org.apache.xml.serialize.OutputFormat.<init>(Unknown Source)
    at com.tibco.portalservices.administrator.AbstractDOMDeploymentDescriptorEditor.update(AbstractDOMDeploymentDesc
    riptorEditor.java:125)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.administrator.consoles.deploymentconfiguration.ServiceDetailPane.update(ServiceDetailPane.java:94)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.wfc.AbstractFrame.update(AbstractFrame.java:101)
    at com.tibco.wfc.FramesetComponent.update(FramesetComponent.java:186)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.wfc.AbstractFrame.update(AbstractFrame.java:101)
    at com.tibco.wfc.FrameManager.a(FrameManager.java:235)
    at com.tibco.wfc.FrameManager.service(FrameManager.java:142)
    at com.tibco.administrator.AdministratorServlet.service(AdministratorServlet.java:843)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)
    at java.lang.Thread.run(Thread.java:595)

    There is no HashMap in your ArrayList. Take a look at this line:
    selectedDataList.add(searchList);I think a object f type SearchBean is added to the list here. This is no HashMap I presume.
    Please use code tags when posting code. This looks lke this:
    public String getSelectedItems() {
    // Get selected items.
    HashMap map = new HashMap();
    DeleteContentDialog deleteContentDialog = new DeleteContentDialog();
    selectedDataList = new ArrayList();
    for (SearchBean searchList : searchResultdetails) {
    System.out.println("Inside getSelectedItems.........Inside for"+searchList);
    if (searchList.isSelected()) {
    System.out.println("Inside getSelectedItems........searchList."+searchList);
    selectedDataList.add(searchList);
    searchList.setSelected(false); // Reset.
    try {
    for(int i=0;i<selectedDataList.size();i++){
    System.out.println("Inside the delete Method");
    System.out.println("selectedDataList is "+selectedDataList.get(i));
    if (selectedDataList.size() != 0)
    System.out.println("Array List is having = "selectedDataList.size()" records");
    //printValuesTest(medianList);
    System.out.println("**************THESE ARE THE VALUES OF THE HASHMAP AT THE INDEX = "+i);
    map = (HashMap)selectedDataList.get(i);
    if (map.size() != 0)
    Iterator iterator = map.keySet().iterator();
    while (iterator.hasNext())
    String key = (String) iterator.next();
    String value = (String) map.get(key);
    System.out.println("Key = "key " and Value = "+value);
    deleteContentDialog.init(map);
    else
    System.out.println("Hashmap is empty");
    catch(Exception e){
    e.printStackTrace();
    return "deletedFile"; // Navigation case.
    }

  • Cannot find the specified instance exception

    Hello,
    I am having a problem with my Bpel process.
    when I post to XML, i am getting the following:
    <Fault env="http://schemas.xmlsoap.org/soap/envelope/" >
    <faultcode>env:Server</faultcode>
    <faultstring>java.lang.IllegalStateException: Cannot call setRollbackOnly() current thread is NOT associated with a transaction</faultstring>
    </Fault>
    what does this mean ?
    why is it happening ?
    How can resolve this issue ?
    This is urgent,
    Thanks everyone,
    AJ

    sorry, it took a while to respond. are you still facing the issue? this sounds like, there was some system exception where the j2ee container terminated/ended the jta transaction but the exception reached to bpel engine layer where bpel engine trying to set rollback only on an already ended transaction hence this error. the root issue is why the j2ee container ended that jta transaction, is there any other exceptions before this exception in the log file. i assume some kind of timeout or system exceptions happened before reaching the setRollbackOnly call.

  • OO4O / OIP catch exception

    Hi all,
    I develop an application and use VC++ 6 and the COM OIP Interface. My problem is, how can I catch an exception before I get the error “KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception” like as OO4O ?
    This is a short part of code as an example.
    if (CLSIDFromProgID(OLESTR("OracleInProcServer.XOraSession"), &clsid) != NOERROR)
    return FALSE;
    TRY
         OraSession oSession;
         OraDatabase oDatabase
    if (!oSession.CreateDispatch(clsid, &e))
              return FALSE;     
    oDatabase = oSession.GetOpenDatabase(dbname,cAccount,options);
              return TRUE;
    CATCH_ALL(e)
    HandleError(e);     
    END_CATCH_ALL
    When I use the right account information, all is well. When I use bad account information I get an exception and can catch and handle this, but first I get the kernel message.
    When I use the library from oo4o and do the same, I can catch the exception without the kernel message.
    What is wrong or what is missing?
    Thanks for your Help
    Message was edited by:
    system4

    pretty much. There is classes above Exception in the hierarchy, specifically Throwable, but you're not supposed to catch those.

  • Seperating business exceptions and System exceptions

    Hello All -
    We are developing couple of mediated services  using SAP PI 7.0. Below is our requirement
    1.When the service producer indicates a business exception (it might be either a SOAP fault or error code coming as part of SOAP body) , it should be converted as BusinessException before throwing back to the consumer
    2. When the service producer indicates a System exception (it might be either a SOAP fault or error code coming as part of SOAP body)  and there is a system failure in SAP PI, it should be converted as System Exception before throwing back to the consumer
    My previous experience was with IBM Process Server, where it allows to do this. Can I achieve the same with PI 7.0
    Thanks in advance
    Rajeev

    Hi Milan-
    Thanks for the reply. We are not using bpm, since one of our expert told us that it can be a performance overhead.
    Is  bpm the only solution for implementing this way?
    -Rajeev

  • Java Exception

    Hi,
    We are getting the below exception in an ESS application. I have not analysed any Java exceptions before.
    I want to know what all useful information this exception provides other than the obvious
    'User INDUARV does not exist/not attached in this period.'
    Thanks,
    Aravind
    Exception is given below
    User INDUARV does not exist/not attached in this period.
      User INDUARV does not exist/not attached in this period.:com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User INDUARV does not exist/not attached in this period.
    +     at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)+
    +     at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)+
    +     at com.sap.pcuigp.xssutils.pernr.EmployeeGroupInfo.init(EmployeeGroupInfo.java:140)+
    +     at com.sap.pcuigp.xssutils.pernr.wdp.InternalEmployeeGroupInfo.init(InternalEmployeeGroupInfo.java:183)+
    +     at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.initPernr(FcEmployeeServices.java:270)+
    +     at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.onInit(FcEmployeeServices.java:226)+
    +     at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServices.onInit(InternalFcEmployeeServices.java:273)+
    +     at com.sap.pcuigp.xssutils.pernr.FcEmployeeServicesInterface.onInit(FcEmployeeServicesInterface.java:135)+
    +     at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface.onInit(InternalFcEmployeeServicesInterface.java:198)+
    +     at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface$External.onInit(InternalFcEmployeeServicesInterface.java:258)+
    +     at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)+
    +     at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)+
    +     at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)+
    +     at com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelection.onInit(VcCEAssignmentSelection.java:235)+
    +     at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelection.onInit(InternalVcCEAssignmentSelection.java:174)+
    +     at com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelectionInterface.onInit(VcCEAssignmentSelectionInterface.java:162)+
    +     at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelectionInterface.onInit(InternalVcCEAssignmentSelectionInterface.java:144)+
    +     at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelectionInterface$External.onInit(InternalVcCEAssignmentSelectionInterface.java:220)+
    +     at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)+
    +     at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)+
    +     at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)+
    +     at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)+
    +     at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)+
    +     at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)+
    +     at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)+
    +     at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)+
    +     at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)+
    +     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)+
    +     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)+
    +     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)+
    +     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)+
    +     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)+
    +     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)+
    +     at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)+
    +     at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)+
    +     at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)+
    +     at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289)+
    +     at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)+
    +     at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)+
    +     at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)+
    +     at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)+
    +     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)+
    +     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)+
    +     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)+
    +     at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)+
    +     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)+
    +     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)+
    +     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)+
    +     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)+
    +     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)+
    +     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)+
    +     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)+
    +     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)+
    +     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)+
    +     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)+
    +     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)+
    +     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)+
    +     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)+
    +     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)+
    +     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)+
    +     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)+
    +     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)+
    +     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)+
    +     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)+

    Hi Aravind,
    Check whether the user is maintained with correct entry in IT0105...whether wrong username is given or not.
    Also, check below threads -
    /message/4680630#4680630 [original link is broken]
    pcuigp.xssfpm.java.FPMRuntimeException: User J2EE_ADMIN does not exist
    Regards,
    Sen

Maybe you are looking for