[jboss-user] [JNDI/Naming/Network] - Re: TopLink on JBoss: Cannot create toplink session

mfobrien do-not-reply at jboss.com
Mon Feb 23 13:08:51 EST 2009

    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".


The following page describes the use of JNDIConnector.STRING_LOOKUP in general for all Catalina based servers.

    Also verify that the *-ds.xml config files are setup using the following section as a guide.

thank you

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212372#4212372

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212372

More information about the jboss-user mailing list