[jboss-user] [jBPM] - Re: Missing db\persistence.xml

Laura delli Paoli do-not-reply at jboss.com
Mon Dec 3 05:35:22 EST 2012


Laura delli Paoli [https://community.jboss.org/people/lauradp] created the discussion

"Re: Missing db\persistence.xml"

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

--------------------------------------------------------------
Thanks for your answer.

I copied both jdbc.jar and module.xml in jboss-as-7.1.1.Final\modules\MySQL\jdbc\main folder.

This is my datasources configuration:

<subsystem xmlns="urn:jboss:domain:datasources:1.0">
            <datasources>
                <datasource jndi-name="java:jboss/datasources/jbpmDS" pool-name="H2DS" enabled="true" use-java-context="true">
                    <connection-url>jdbc:mysql://10.21.101.175:3306/jbpm5</connection-url>
                    <driver>mysql</driver>
                    <security>
                        <user-name>jbpm5</user-name>
                        <password>jbpm5</password>
                    </security>
                </datasource>
                <drivers>
                    <driver name="mysql" module="MySQL.jdbc">
                        <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
                    </driver>

                </drivers>
            </datasources>
        </subsystem>
--------------------------------------------------------------

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

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/20121203/74d7aefe/attachment-0001.html 


More information about the jboss-user mailing list