How to connect to MySQL with Jboss 7 Application Server

preview_player
Показать описание
In this session, I will show how to connect to MySQL database using Jboss 7AS, I have seen on the net , many people having problems with this process. So hope this helps.

Following are some useful info.

Following is what you need to have in your Modules XML

<?xml version="1.0" encoding="UTF-8"?>

<resources>
<!-- Insert resources here -->
</resources>
<dependencies>
</dependencies>
</module>

</driver>

Рекомендации по теме
Комментарии
Автор

Very nice tutorial. Really helpful. Thank you.

jyerrami
Автор

Hi, you really help me!!! ... in Version up to 5.1.30 is needed it! thank you so much!

hansrichardvillaizanyamamo
Автор

Hi Indika,

Thank you so much for the great tutorial.
It helps allot on my project JBoss using MySQL database.

More power.

denniscabasal
Автор

Thanks a lot man! Works great. Thanks for making such an useful video.

PritamBanerjee
Автор

I followed the video exactly but Datasource is added and the driver not

hanatoumi
Автор

Hi Indika... Thanks for the Video.. But after doing all the steps on Windows machine. I cant see the SQL Driver listed while creating a datasource

rajeshsahoo
Автор

I really would love some help!!! I am unable to "Add a jboss management user" while finishing
jboss 7 install. The command ./add-user.sh produces a
response that there is no such file or directory. However
within in there is
./add-user.sh*. I am not sure if the "*" has something to
do with the issues that I am running into. I still have not
been able to find a solution online.

sirrele_
Автор

I have some questions regarding data sources at 5:58 min of the video. You did mention we need to add thing on the driver section but don't we need to make some changes at the drive section below the JBoss example driver. The configuration file i have doesn't have the anything with mysql below the jboss driver examples. And also is the url locahost: 3306 a default or I need to find one?

OmGoit
Автор

Where did the connection URL come from? You hadn't mentioned it earlier.

HussainAkbar