1 Reply Latest reply on May 30, 2008 11:59 AM by adrian.brock

    MDB  "IllegalStateException"

    new4jboss

      Hi all,


      When a try to get caller principal in an MDB (jboss messaging), I get the Exception "IllegalStateException".

      This problem is preventing me to call an EJB from the MDB. When I call the EJB, I get the exception:
      "javax.ejb.EJBTransactionRolledbackException: No valid security context for the caller identity"

      I'm not using authentication for EJBs. The JMS queue uses the default guest role.

      Anyone knows what's the problem ?

      Thanks in advance!

        • 1. Re: MDB

          In general, there is no caller of MDBs so there can be caller principal.
          Authentication with the JMS server to create the receiver is very different
          from the JMS Server invoking on the MDB on a different thread.