0 Replies Latest reply on Aug 19, 2003 10:30 AM by cimetgiu

    Pass connection from EJB to java classes

    cimetgiu

      Hi guys,
      this is my problem: I have a stateful EJB wich make a connection with an Oracle DB. I also have many classes to pass that connection to in my web application. When the connection is got by any class and while trying to use it I receive the following error msg:

      "Connection handle is not currently associated with a ManagedConnection"

      Is the issue due to the fact the class is in the web app. while the EJB is in the EJB container?

      Have you any suggestions?

      Cheers,
      Beppe