dilshat,
in order to connect to database, you need persistence.xml and jboss-beans.xml.
you can find those files in this very topic .
but it is better to put your messages in another thread and prevent this topic to be more
complex than currently is.
I put another topic with subject "How to configure an embedded Ejb to connect to
MySql?" you can put your files and codes and any exception message on that topic and
I will answer you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980019#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...