This is my module. Follow my blog Enter your email address to follow this blog and receive notifications of new posts by email. How to change JBoss Connection pool size dynamically? Using a JTA data source? Testing an application like this is non-trivial: Driver in the jar, and I put the jar in the deployments directory.
|Date Added:||22 July 2016|
|File Size:||70.85 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Developing a JPA application on JBoss AS 7
There are two main configurations. Once you have tested the connectivity with PostgreSQL, you can move from the basics and set as77 the Connection pool size for the PostgrePool:. What have you already tried? You cannot test datasource from a standalone java api.
Craig Ringer k 33 Please type your message and try again. Note that this was written for JBoss AS 7.
Finally install the datasource which will connect to the default “postgres” database on localhost:. Your email address will not be published.
To get XADatasources you must install the driver as module. September 12, at 6: How do I access the specific driver Connection with JBoss? Join other followers.
For better answers in future, make sure to put more effort in to your questions.
JBoss AS 7 – Datasource configuration for postg |JBoss Developer
Datasource configuration setup for JBoss AS 7 with example of Postgresql
If you want to connect to your JBoss Connection Pool from a re. I defined the XA datasource class because I also had problems before. An initial configuration could be: Now, it means that you have included the same driver for the standalone startup. Remember, you can edit your questions to improve them after you have posted them. What did you exactly do: It only contains a few postgredql.
Forums Downloads Projects Buzz. Do you need to deploy your DataSource along with your Enterpri. We will assume that you are running on a Linux machine. Specify the module name and the location where the jdbc driver has been downloaded:.
I want jhoss deploy the postgresql jdbc driver, so I downloaded a driver that supports jdbc4 from http: See the How to Ask page for help clarifying this question. To start with, it has no user interface… Shares.