openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <awh...@bea.com>
Subject Re: using JDBCBrokerFactory
Date Tue, 22 Aug 2006 20:08:01 GMT
> That's a lousy error message, but I'm not sure what it causing it.  
> Do you have all of the openjpa-*.jar files in your CLASSPATH? It  
> almost sounds like one of the META-INF/services/ files that reports  
> the available metadata factories is not being found. How did you  
> create the jars? Did you use "mvn package", or some other mechanism?
>
> Also, if you try the persistence.xml file that is used with the  
> test cases (openjpa-persistence-jdbc/target/test-classes/META-INF/ 
> persistence.xml), do you see anything different?


Also, you don't need the openjpa.BrokerFactory property.  It defaults  
to the JDBC factory if you have the correct jars in your classpath.   
I agree with Marc: sounds like a classpath issue.
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Mime
View raw message