[jboss-user] [EJB 3.0] - Re: Quartz Classpath issues. How to configure.

jfrankman do-not-reply at jboss.com
Mon Aug 6 11:02:44 EDT 2007


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 at bb0257{ url=file:/C:/dev/jboss-4.0.5.ejb3/server/default/tmp/deploy/tmp20982quartz-ra.rar ,addedOrder=42}
  | 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



More information about the jboss-user mailing list