Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » WebSphere Application Server 7.0.0.7 Local JNDI Name (JTA DataSource Reference Local JDNI Name Error)
icon13.gif  WebSphere Application Server 7.0.0.7 Local JNDI Name [message #529638] Mon, 26 April 2010 11:28 Go to previous message
FlÃ?¡vio Stutz is currently offline FlÃ?¡vio Stutz
Messages: 1
Registered: July 2009
Junior Member
On my persistence.xml I can't reference a jta datasource through local JNDI names. When running on WAS 7.0.0.7 I got the following exception:

Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Unsupported use of GenericConnection. A GenericConnection is provided during application start when creating an EntityManagerFactory for a persistence unit which has configured one of its datasource to be in the component naming context; java:comp/env. During application start, the component naming context will not exist, and the correct datasource cannot be determined. When the persistence unit is used, the proper datasource and connection will be obtained and used.
Error Code: 0

The JPA specifications do not require implementations to include data sources referenced through local JNDI names.

Is this a limitation of EclipseLink?!?

Thank you!
 
Read Message icon13.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:XML-less JPA in JSE with EclipseLink
Next Topic:Unmarshalling through eclipselink moxy and jaxb
Goto Forum:
  


Current Time: Tue May 21 18:31:27 EDT 2013

Powered by FUDForum. Page generated in 0.08357 seconds