2 Replies Latest reply on Aug 14, 2002 7:47 AM by Marketta Priha

    Errors in Deploying a JavaBean

    Asif Newbie

      Hi

      I have attempted to deploy my Javabean in the Jboss 3.0 directory under the deploy directory in server folder. When i try to access the index file using the following url

      "http://localhost:8082/index.jsp" I get a 400:null error. I have placed my jar and ejb-jar xml file in that directory along with the jsp page. This is my xml code.

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE j2ee-ri-specific-information PUBLIC '-//Sun Microsystems Inc.//DTD J2EE Reference Implementation 1.3//EN' 'http://localhost:8000/sun-j2ee-ri_1_3.dtd'>

      <ejb-jar>
      <enterprise-beans>

      <context-root>converter</context-root>
      <ejb-ref>
      <ejb-ref-name>ejb/TheConverter</ejb-ref-name>
      <jndi-name>MyConverter</jndi-name>
      ConverterHome
      </ejb-ref>

      </enterprise-beans>
      </ejb-jar>


      Also the server chucks some error stating
      " no ejb-link match, use jndi-name in jboss-web.xml"
      Am i missing something.

      Thanks