4 Replies Latest reply on Jan 26, 2003 12:03 PM by Alex Shneyderman

    .ser FILES

    Alexandru Popescu Newbie

      I have the following problem: after an exception, when trying to access again the AS there is an exception thrown about loosing a ".ser" file.
      Do you know how to remove this ?


      10x
      ---
      pope
      ---
      There are always solutions !

        • 1. Re: .ser FILES
          Mark St.Godard Newbie

          Are you referring to a Stateful Session Bean that says it
          cant find the serialized session?

          If so, then the original exception thrown in your application must have been an unrecoverable System Exception. Stateful session beans throw away the session if they encounter a System Exception. This is not the case for an Application Exception.

          If you are not referring to a SFSB, then disregard the above comment :)

          mark

          • 2. Re: .ser FILES
            Alexandru Popescu Newbie

            It is a SystemException. The client is thrown out of the application. But when he tries to connect back it got firstly another exception, about this loosing of ser file.
            I think that this second exception must be bypassed...
            What do you think ?

            10x
            ---
            pope
            ---
            There are only solutions!

            • 3. Re: .ser FILES
              Stephen Coy Novice

              This happens when you attempt to reuse a SFSB that has previously thrown a system exception.

              Once a SFSB has thrown a system exception, it is completely dead. You must create a new one.

              Steve

              • 4. Re: .ser FILES
                Alex Shneyderman Newbie

                Check your code carefully make sure that there is no NullPointerExceptions or any kind of other system exceptions.

                I had the same problem. It was caused by NPE.

                Alex.