Do you have any examples? You can add the xa-datasource by editing the xml. Unfortunately this does not work in my environment. Connection works when I copy the xa-datasource section from the WildFly configuration. You can not post a blank message.
|Date Added:||2 October 2014|
|File Size:||57.10 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
The approach via jboss-cli does not work as well. Sign up or log in Sign up using Google.
How to create a XA datasource in Wildfly 10 using the mysql jdbc connector – Sandny Blog
Next, you can add additional properties needed for your Database connections, such as the Database schema:. Connection works when I copy the xa-datasource section from the WildFly configuration. Datssource you are using Docker, you can easily configure the following environment variables to set the above parameters:.
The first step the module installation is required to be executed on every Host Controller: The twist now is to dataskurce the xa-data-source shortcut command in order to create the XA Datasource.
I do not see any error in the firefox log. This content has been marked as final. Forums Downloads Projects Buzz.
But the enter key just does nothing. According to jdbc 4.
The first step the module installation is required to be executed on every Host Controller:. Can you check the browser console for possible error messages? All references i have seen for the element looks like this: You might need such datasourve connection if you need a transaction to span more than one database or a JMS calls.
How to create XA-DataSource? Why is it different here?
Tutorials for WildFly Application Server, Openshift, JBoss Projects and Enterprise Applications
Please type your message and try again. No, it should work with no extensions.
You can also test the connection with the following operation, if there mysl any error, see the server log. Correct Answers – 4 points. Sign up using Facebook.
I am really curious why it doesn’t work. Email Required, but never shown. Neither under Chromium, nor Firefox nor Opera. The maximum permitted number of simultaneous client connections For example: Please enter a title.
For example, as you can see in the following picture, a max-pool-size configuration of will not be enough to enable that number of connections if MySQL is configured with default settings:.
As an alternative, if you have available docker, you can start a MySQL instance in a minute with:. Finally, install the data source by using the data-source shortcut command, which requires also the –profile additional option:.
If you know your application is write-intensive and you are using MySQL 5. You can find a clear explanation of the concept here: