Using JNDI datasource in Hibernate


To use Jndi data source outside application context:
This is specific to Weblogic.
Make sure you have wlfullclient.jar in your application class path and you have the Hibernate Mapping configured to use the datasource, provide the url as t3://host:port

On not using the wlfullclient.jar, following errors will appear:
weblogic/security/acl/UserInfo
weblogic.security.acl.UserInfo
weblogic.security.subject.AbstractSubject

Please see:
http://forums.oracle.com/forums/thread.jspa?threadID=705919

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s