1
How to create Data source in Jboss EAP 6.4 using admin console step by step
Step 1 Login Jboss admin console
First we need to login Jboss admin console by using your server local IP address & port, by default Jboss admin console port
9990 but in my case I have set offset value in Jboss is 100 so my login URL look like below.
http://192.168.14.96:10090/console/App.html#datasources
Then click on configuration tab & select data source option
Step 2 Data source Attributes
Name: RemitGuruDS
JNDI: java:jboss/datasources/RemitGuruDS
1
2
Next
Select the war file than click next
2
3
Step 3 Set JDBC Driver.
Driver: remitGuruWAR.war
Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
3
4
Connection URL: jdbc:sqlserver://192.168.14.76:1433;DatabaseName=RemitGuru;sendStringParametersAsUnicode=false
New Connection Sql:
Transaction Isolation:
Use JTA? False
Use CCM? True
Step 4 Connection Settings.
4
5
Step 5 Test Connection Settings.
5
6
After done see the screen
6
7
Step 6 verifies Attributes settings.
7
8
Step 7 verifies Connection settings.
8
9
Step 7 verifies Pool settings & set min & max pool size.
9
10
Step 8 verifies security settings.
10
11
Step 9 verifies Validation settings.
11
12
Step 10 verifies connection timeouts settings.
12
13
Step 10 Enable Data source.
13
14
Step 11 test database connection.
14