Hi,
Verify that the connector on the session is set to JNDIConnector.STRING_LOOKUP and not
COMPOSITE_NAME_LOOKUP which would be the default that worked previosly with OC4J.
you may be experiencing a common configuration issue with application servers that are
based on the Catalina (Tomcat) servlet container where the lookupType must be
STRING_LOOKUP.
Hibernate may default to STRING_LOOKUP as the lookupType because it normally runs in
JBoss which is Catalina based - so it will work out of the box on JBoss.
See the following EclipseLink on JBoss tutorial where we describe configuring the
eclipselink.session.customizer so that the lookupType on ideally both JTA and non-JTA
datasource connectors are changed from " COMPOSITE_NAME_LOOKUP" to
"STRING_LOOKUP".
http://wiki.eclipse.org/EclipseLink/Examples/JPA/JBoss_Web_Tutorial#Sessi...
The following page describes the use of JNDIConnector.STRING_LOOKUP in general for all
Catalina based servers.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial#Sess...
Also verify that the *-ds.xml config files are setup using the following section as a
guide.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/JBoss_Web_Tutorial#JNDI_...
thank you
/michael
www.eclipselink.org
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212372#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...