I don't think hibernate is seeing the persistence.xml file because I get the following:
08:56:00,017 INFO [QuartzTst2] class path=C:\dev\jdk\5.0/lib/tools.jar;C:\dev\jboss-4.0.5.ejb3/bin/run.jar
| 08:56:00,017 INFO [QuartzTst2] Class loader:
org.jboss.mx.loading.UnifiedClassLoader3@(protected)}
| 08:56:00,033 INFO [Ejb3Configuration] Could not find any META-INF/persistence.xml file in the classpath
| 08:56:00,033 WARN [UserSuppliedConnectionProvider] No connection properties specified - the user must supply JDBC connections
It says it cannot find persistence.xml in the classpath. Also notice that I logged the class path and the classloader. What I don't understand is how it can find my class, but not the persistence.xml as they are in the same directory. This is really getting frustrating. All I want to do is schedule a job to run on a regular basis.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071225#4071225
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071225
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user