5 Replies Latest reply on Dec 25, 2004 5:07 AM by Puneet Jain

    Error while running the application using hibernate : javax.

    Nicolas Maujean Newbie

      Hi,

      When we run the application using hibernate, we have the following errors :

      javax.servlet.ServletException: hibernate not bound
      org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
      org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
      org.apache.jsp.players_jsp._jspService(players_jsp.java:96)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


      root cause

      javax.naming.NameNotFoundException: hibernate not bound
      org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      org.jnp.server.NamingServer.lookup(NamingServer.java:253)
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:529)
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
      javax.naming.InitialContext.lookup(InitialContext.java:347)
      org.apache.jsp.players_jsp._jspService(players_jsp.java:61)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


      For what reason ? thank you,

      Nicolas Maujean