0 Replies Latest reply on Jun 11, 2003 3:35 AM by mayankmishra

    Help: Home , Remote class not found

    mayankmishra

      Hi EveryOne,

      I am making a simple startup application.
      It is having , 1 JSP file and 1 ejb .
      I have packed EJB in JAR file and made a WAR file using web.xml and jboss-web .xml .

      finall, put war and jar in a ear folder ,

      hence the structure is :

      Sample.ear
      +
      +--- META-INF (containing application.xml)
      +----Sample.jar
      +----Sample.war
      +
      +-------index.jsp
      +-------WEB-INF(containing jboss-web , web XML's)

      My JSP is calling home.create and then calling the bean functions via the remote interface.

      Application get's deployed , with no error,but at browser it show's error in finding home nad remote classes.


      web.xml looks like this:

      <?xml version="1.0" encoding="ISO-8859-1"?>

      <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
      "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

      <web-app>
      <ejb-ref>
      <ejb-ref-name>ejb/Sample</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      SampleHome
      Sample
      <ejb-link>../Sample.jar#ejb/Sample</ejb-link>
      </ejb-ref>
      </web-app>


      Please Help me out.
      Cheers.

      Mayank