4 Replies Latest reply on Jul 20, 2006 5:42 PM by ccelgun

    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)