Kevin:
Regarding to the datasource issue in Jboss 5.0 GA, per your sugestion, I tested with
<jta-data-source>java:/jpaTestJtaDS</jta-data-source>
However, it still gives me the same error. You mentioned that it went well when you tested EclipseLink with JBoss GA 5.0.
What is your EclipseLink and Jboss related configuration inside persistence.xml? Did you configure a SessionCustomizer?
Do you mind sharing your persistence.xml file?
Michael:
Your suggestion to configure a SessionCustomer seems to be on the right track so that EclipseLink JNDIConnector will be using
STRING_LOOKUP instead of "COMPOSITE_NAME_LOOKUP". However, when I tried to define a session customizer, I found the base class
org.eclipse.persistence.internal.sessions.factories.SessionCustomizer;
No long exists in EclipseLin 1.0.2. I suspect that a common string lookup session customizer class would be included with the distribution of EclipseLink so that a developer can just configure it inside persistence.xml without having to extending the base class. Is this the case? If not, could you point out the new base class for session customizers?
Many thanks,
Regards,
Daoqi Yang
Application Technology Architect
Ford Java Center of Excellence, E1F001 iTek
dyang11@xxxxxxxx, 313-206-3960