0 Replies Latest reply on Jun 24, 2003 10:58 AM by Walter

    Problem with Web Module

    Walter Newbie

      Hello: I have an application with EJB. My application have 2 archive jar: EntitySegurity.jar (classes by EntityBean) and SessionSegurity.jar(classes by Session Bean). My Web Module contains:

      /classes
      /lib/EntitySegurity.jar
      /lib/SessionSegurity.jar
      test.jsp
      web.xml

      name is Web-Security.war and is deploy in server\default\deploy

      My web.xml:
      ....
      <ejb-name>SessionSecurity</ejb-name>
      <ref-type>Session</ref-type>
      SessionHome
      SessionRemote
      <ejb-link>../deploy/SessionSecurity.jar#SessionSecurity</ejb-link>

      but Jboss send me this error:

      10:56:12,838 ERROR [MainDeployer] could not start deployment: file:/P:/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/Web-Segurity.war
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-re
      f: SessionSegurity, no ejb-link match, use jndi-name in jboss-web.xml)

      how can I result this problem???
      thank you