1 Reply Latest reply on Aug 4, 2006 5:35 AM by tahirakramch

    MYSQL database connection within JBoss application(using JSF

    ccelgun

      I hope i am writing this question into the correct place.
      I am trying to make an application with JBoss. I have to establish connection with MYSQL database.I found some articles about how to connect to MYSQL database and i believe that i did everything correct.
      But this error message is shown on the web browser after i ran the program.

      Exception :
      javax.servlet.ServletException : Cannot get value for expression '#{homeBean.taskInstances}'
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
      org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
      org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

      root cause:
      javax.faces.facesException: Cannot get value for expression '#{homeBean.taskInstances}'
      org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
      org.apache.myfaces.application.jsp.JspViewhandlerImpl.renderView(JspViewHandlerImpl.java:234)
      org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
      javax.faces.webapp.FacesServlet.service(facesServlet.java:95)
      <brZorg.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
      org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

        • 1. Re: MYSQL database connection within JBoss application(using
          tahirakramch

          Hi

          I am also have the problem of invoking bean from jsp page, how u do that if u have solved the problem, plz do share here....

          and for ur issue this is not the problem of database, it is problem with the calling of managed bean from jsp

          but how u solve tht???

          exception
          
          javax.servlet.ServletException: Cannot get value for expression '#{pageBean.celsius}'
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          
          
          root cause
          
          javax.faces.FacesException: Cannot get value for expression '#{pageBean.celsius}'
           org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
           org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
           org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)