paata lominadze wrote:
How to create Tables into database ? i thik that jboss must create them itself.
You also need to make the changes here
$JBOSS_HOME/server/default/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
Check this entry in the jboss-service.xml
<depends optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
This change seem to be missing here too
http://community.jboss.org/wiki/SetUpMysqlAsDefaultDS#comment-1999
Try these changes and let us know if things work ok.