[jboss-user] [jBPM] - Re: Could not find datasource: java:jboss/datasources/jbpmDS

Maciej Swiderski do-not-reply at jboss.com
Tue Nov 6 05:20:45 EST 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Could not find datasource: java:jboss/datasources/jbpmDS"

To view the discussion, visit: https://community.jboss.org/message/775006#775006

--------------------------------------------------------------
check if the name in jbpm-ds.xml matches one defined as data source in your persistence.xml, below is an example taken from jbpm-installer:

<?xml version="1.0" encoding="UTF-8"?>
<datasources>
  <local-tx-datasource>
    <jndi-name>jboss/datasources/jbpmDS</jndi-name>
    <connection-url>jdbc:h2:tcp://localhost/runtime/jbpm-demo</connection-url>
    <driver-class>org.h2.jdbcx.JdbcDataSource</driver-class>
    <user-name>sa</user-name>
    <password></password>
  </local-tx-datasource>
</datasources>

jndi-name is that one that you should check

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/775006#775006]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121106/61ea203b/attachment-0001.html 


More information about the jboss-user mailing list