[jboss-user] [Persistence] - moving JPA application using Hibernate to JBOSS 5.01

2009-11-21 Thread waltc
Hi, I apologize for this as I am sure it is a frequent question but I have not found an answer. I have a JPA servlet that was running fine under Tomcat 6 with the persistence.xml under WEB-INF/classes/META-INF. This file pointed to the db, specified the dialect, etc etc When I moved the war

[jboss-user] [Persistence] - moving JPA application using Hibernate to JBOSS 5.01

2009-11-21 Thread waltc
Hi, I apologize for this as I am sure it is a frequent question but I have not found an answer. I have a JPA servlet that was running fine under Tomcat 6 with the persistence.xml under WEB-INF/classes/META-INF. This file pointed to the db, specified the dialect, etc etc When I moved the war

[jboss-user] [Persistence] - Re: moving JPA application using Hibernate to JBOSS 5.01

2009-11-21 Thread waltc
After much trial and error and false starts I discovered my problem. It is important that the web-inf/lib contain NO hibernate jar files or javassist.jar. The original error, which was, the MySQLDialect could not be cast to Dialect was due to the mismatched hibernate jars. So be careful here.