Kehua Gao [
https://community.jboss.org/people/kehuagao] created the discussion
"Re: persistence JBPM5.3 on tomcat with mysql"
To view the discussion, visit:
https://community.jboss.org/message/775909#775909
--------------------------------------------------------------
thank you,Ted.
It is what I were confused.I try to do according to the method you provide.it do not
work.orginal code is <jta-data-source>jdbc/testDS1</jta-data-source>,
the error is "Could not find datasource: jdbc/jbpm-ds", remove the
<jta-data-source>jdbc/jbpm-ds</jta-data-source>, the error is still
"Could not find datasource: jdbc/jbpm-ds".
context.xml includes:
<ResourceLink name="jdbc/jbpm-ds" type="javax.sql.DataSource"
global="jdbc/jbpm-ds"/>
web.xml includes:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/jbpm-ds</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
server.xml includes:
<Resource auth="Container" name="jdbc/jbpm-ds"
type="javax.sql.DataSource" password="demo"
driverClassName="com.mysql.jdbc.Driver" maxIdle="2"
maxWait="5000" username="demo"
url="jdbc:mysql://localhost:3306/jbpm-demo" maxActive="4"/>
the datasource has been set up,the error is still "Could not find datasource:
jdbc/jbpm-ds".
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/775909#775909]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]