File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBM-Tables not created. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBM-Tables not created." Watch "JBM-Tables not created." New topic

JBM-Tables not created.

Stefan Müller

Joined: Jun 25, 2008
Posts: 12

I'm using JBoss 4.3.0 and recently switched the defaultDS to mysql. I'm now stuck with an error which is the following. It's the 1st error in the logfile.

I configured to create the tables on every startup like this in deploy/jboss-messaging.sar/mysql-persistence-service.xml

I can see that this config is used when I take a look at the server debug log output:

But still,the table is not there. In fact. the schema does not contain any table.
The Datasource looks like this:

Any Ideas?
Stefan Müller

Joined: Jun 25, 2008
Posts: 12
Actually, I just found an error in a debug message saying:

But what can I do about it?
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Are you running the 'all' or 'default' config? If default, change this line in mysql-persistence-service.xml:

I think that by default it shows up as true, and you need to set it to false.

Also, these steps might help. I know they are for AS 5.0.1, but EAP 4.3 also uses JBoss Messaging so the messaging-related changes are very similar:

JBoss In Action
I agree. Here's the link:
subject: JBM-Tables not created.
It's not a secret anymore!