1 Reply Latest reply on Sep 27, 2007 9:06 AM by Kevin Conner

    Sending message to ESB service from EJB

    Grzegorz Fr?ckowiak Newbie


      Hello,
      I have a problem with sending message to ESB Service from Statelless EJB.
      While trying to register service EPR

      registry.registerEPR("ServiceCategory", "ServiceName","Service for test", epr,"binding test service");


      I get following exceptions:

      14:26:16,350 ERROR [FindTModelFunction] java.sql.SQLException: You cannot commit during a managed transaction!
      14:26:16,350 ERROR [AbstractService] java.sql.SQLException: You cannot commit during a managed transaction!


      Does anyone know how to resolve this problem?

      Regards