disabled security and added an index.

Auto created tables for wildfly.

This configuration works on WildFly but fails on glassfish