[jboss-user] [JBoss jBPM] - Error in running a JBPM application in JBOSS JBPM Starter Ki

ssidhanta do-not-reply at jboss.com
Mon Jul 21 09:57:21 EDT 2008


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165654#4165654

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165654



More information about the jboss-user mailing list