1 Reply Latest reply on Sep 22, 2002 4:12 PM by olszowi

    stateful sb problem

    haslbeck

      I have a serious problem with a stateful session bean on jboss 3.0.2.

      Everytime I invoke "create" on the home interface of the statefull session bean I get a NoSuchObjectExcetion. It tries to read a file (12345678.ser) from the disk which isn't there.
      From my understanding of statefull sb this should only happen when invoking a method on a passivated but already created statfull session bean and not when creating a new one.
      The result is that I can not use the bean at all.
      The only solution I have found is to remove the entire jboss installation and start from scratch which is clearly not acceptable for a production system.

      Is this a bug of jboss or am I doing somting funamentally wrong?

      Thanks in advance.


        • 1. Re: stateful sb problem
          olszowi

          Hi,

          I had the same strange problem. I'm using JBoss 3.0.2 running under Linux, Sun JDK 1.4.1.

          I found a strange thing:
          - compiling the ejb with jdk 1.4.1_01 -> doesn't work
          - compiling with jdk 1.4.1 -> works fine (till now)

          Maybe there is a bug in the Sun JDK. Can You check Your JDK?

          Bye
          Klaus