I set the hibernate log to debug level, feel that this problem seems have relation with classloader. When the problem arises, the ear-deploy isolation in my jboss is true. When I set it to false, the tables can be created. addtional content is showed in the server log which missing previously. But I must isolate my ear package in jboss. this is very strange. Is there any other config properties should be set?
here is the log piece after I set ear-deploy isolation to false.
[org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@360268, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1b7e37{ url=null ,addedOrder=0}
2011-01-21 09:52:13,855 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@360268, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@ecb06{ url=null ,addedOrder=0}
......