0 Replies Latest reply on Aug 9, 2002 11:34 AM by shaun

    Cannot see EJB from JSP.

      I have the BMP example from Roman et al Mastering EJB working and it runs with a test client. I am now trying to put a web fromt end on it. I've bundled everything up into a *.ear and it appears to deploy successfully. Web navigation appears to work except when I try and access the my bean - I get:

      org.apache.jasper.JasperException: Unable to compile class for JSP

      An error occurred between lines: 13 and 23 in the jsp file: /createAccount.jsp

      Generated servlet error:
      C:\jboss-3.0.0_tomcat-4.0.3\catalina\work\localhost\jemsbank\createAccount$jsp.java:67: Class org.apache.jsp.AccountHome not found.
      AccountHome home = (AccountHome) PortableRemoteObject.narrow(obj, AccountHome.class);
      ^


      An error occurred between lines: 13 and 23 in the jsp file: /createAccount.jsp

      Generated servlet error:
      C:\jboss-3.0.0_tomcat-4.0.3\catalina\work\localhost\jemsbank\createAccount$jsp.java:67: Class org.apache.jsp.AccountHome not found.
      AccountHome home = (AccountHome) PortableRemoteObject.narrow(obj, AccountHome.class);
      ^


      An error occurred between lines: 13 and 23 in the jsp file: /createAccount.jsp

      How do I make this visible - I thought if it was bundled into a *.ear and the deployment descripot is correct it should all be visible.

      Thanks for any assistance,

      Shaun