0 Replies Latest reply on Jul 21, 2008 9:57 AM by subhajit sidhanta

    Error in running a JBPM application in JBOSS JBPM Starter Ki

    subhajit sidhanta Newbie

      Hi, I am getting the followingunning a simple application.In the hibernate.cfg.xml I have not used a Datasource but diecting entered the Connection url,etc.Please help.Thanks in anticipation.

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: Could not find datasource
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
      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:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      root cause

      org.hibernate.HibernateException: Could not find datasource
      org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
      org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
      org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
      org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
      org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
      org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1823)
      org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1143)
      org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
      org.jbpm.persistence.db.DbPersistenceServiceFactory.createSchema(DbPersistenceServiceFactory.java:108)
      org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:415)
      org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:407)
      com.sample.action.CallProcess.testCallProcess(CallProcess.java:24)
      org.apache.jsp.JSP.CallMethod_jsp._jspService(org.apache.jsp.JSP.CallMethod_jsp:58)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
      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:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.


      --------------------------------------------------------------------------------

      Apache Tomcat/5.5