1 Reply Latest reply on Mar 23, 2006 5:36 PM by Bill Burke

    Error during the deployment of ejb3 Embedded-War example in

    Serge Emmanuel Pagop Newbie

      Hi all ejb3 gurus,

      I want to know if someone brought the embedded-war example with tomcat 5.5.16 to run. Because during my test I got this errors my tomcat 5.5.16 Servlet container.

      The Exception looks like this in tomcat 5.5.16

      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      org.apache.jasper.JasperException: org.jboss.tutorial.embeddedwar.CustomerDAOLocal not bound
       org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      
      
      root cause
      
      javax.servlet.ServletException: org.jboss.tutorial.embeddedwar.CustomerDAOLocal not bound
       org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
       org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
       org.apache.jsp.EmbeddedEJB3_jsp._jspService(EmbeddedEJB3_jsp.java:178)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      
      
      root cause
      
      javax.naming.NameNotFoundException: org.jboss.tutorial.embeddedwar.CustomerDAOLocal not bound
       org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
       org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
       org.jnp.server.NamingServer.getObject(NamingServer.java:543)
       org.jnp.server.NamingServer.lookup(NamingServer.java:296)
       org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
       org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
       javax.naming.InitialContext.lookup(InitialContext.java:351)
       org.apache.jsp.EmbeddedEJB3_jsp._jspService(EmbeddedEJB3_jsp.java:143)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      
      
      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.16 logs.
      
      
      


      when yes, please posts me some suggestions

      Thanks ...