2 Replies Latest reply on Feb 5, 2004 9:04 PM by warriorsofwind

    JNDI look up for ejb fails

    warriorsofwind

      Hey,

      Currently, i running jboss 3.04 and managed to run the swiftmq jms server and the jboss app server separately. However, when i do a JNDI lookup for ejb, i always got an error "... not bound".

      Once i reverted the jboss configuration to the default implemetation, that is, running JBOSSMQ together with app server. My test program pass without fault.

      I would appreciated if anybody can shine a light upon this matter. Thanks

        • 1. Re: JNDI look up for ejb fails
          thoennes

          Please check your JNDI settings.

          Is the SWIFT JMS server bound in the JBoss JNDI? Or do you have to provide a different
          InitialContext to access SWIFT?

          This could be a problem: You lookup your EJB in the SWIFT JNDI.

          Just a quick guess, hope it helps!

          Jörg

          • 2. Re: JNDI look up for ejb fails
            warriorsofwind

            Thanks Thoennes,
            You are right. It is careless of me. I did not include the ejb in the context as such the lookup keeps failing.
            Bascially, wat i did is to do a lookup into the JBoss jnp initialcontext instead of the swiftmq.