2 Replies Latest reply on Jun 20, 2008 10:22 AM by Tomasz Wilczynski

    jndi for war deployment

    Tomasz Wilczynski Newbie

      Hi,

      I'm having JBoss running my EJBs deployed in a WAR. I can't thought use Seam sessionBean components due to jndi lookup failure.
      Now, is this line from components.xml incorrect for a WAR archive?

      <core:init debug="true" jndi-pattern="#{ejbName}/local"/>

      Obviously something's wrong since I'm getting
      javax.naming.NameNotFoundException: SampleAction not bound

      SampleAction is, of course, my sessionBean implementing a @Local interface.
      I'm using Jboss tools server hot deployment instead of ant for building the app.