I'm experiencing a problem in my web application and the problem seems to be
that OpenJPA hasn't completely initialized when the first request comes in
from a client.
In fact OpenJPA is only started when Spring injects the
EntityManagerFactory.
How do I get OpenJPA to startup when my webapp is being loaded by the
servlet container? (Tomcat 6)
We use Tomcat 6 for our testing environment, and Weblogic 9.2 for
production.

Here's the exception:
ERRORJun 24 16:59:17 An error occurred while parsing the query filter
"SELECT tblCdedes from TblCdedes tblCdedes where tblCdedes.cdetypTxt =
:cdetypTxt". Error message: The name "TblCdedes" is not a recognized entity
or identifier. Perhaps you meant TblCtcprs, which is a close match. Known
entity names: [TblAmdctl, TblAdr, TblFndmst, TblBrk, TblFnd, TblPdtbnf,
TblFndanvhst, TblItmdes, TblTrklnk, TblBrkbrn, TblTrkdet, TblCtcprs,
TblLnkfnd, TblCtcelccmc, TblPdtcde, TblFndnmehst, TblRlectcfnd, TblTrkitm,
TblFndbal, TblPdtbnfcde, TblFndctbhst]; nested exception is
<openjpa-1.1.0-r422266:657916 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: An error occurred while
parsing the query filter "SELECT tblCdedes from TblCdedes tblCdedes where
tblCdedes.cdetypTxt = :cdetypTxt". Error message: The name "TblCdedes" is
not a recognized entity or identifier. Perhaps you meant TblCtcprs, which is
a close match. Known entity names: [TblAmdctl, TblAdr, TblFndmst, TblBrk,
TblFnd, TblPdtbnf, TblFndanvhst, TblItmdes, TblTrklnk, TblBrkbrn, TblTrkdet,
TblCtcprs, TblLnkfnd, TblCtcelccmc, TblPdtcde, TblFndnmehst, TblRlectcfnd,
TblTrkitm, TblFndbal, TblPdtbnfcde, TblFndctbhst]
-- 
View this message in context: 
http://www.nabble.com/Starting-OpenJPA-during-container-startup-tp18096595p18096595.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to