These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate w/ DB2 v4 Datasource
PostPosted: Fri Dec 16, 2005 4:02 pm 
Newbie

Joined: Fri Dec 16, 2005 3:56 pm
Posts: 1
Hello all,

using was, and have a datasource configured that correctly connects through the admin console. When the code tries to establish a connection through hibernate & the datasource it throws the following error:

javax.naming.NamingException: Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.


This call was made from a bootstrap servlet to initialize the datasource, but 99% of the other calls into the datasource sit behind an ejb tier. we get the same error.

does anybody have any ideas ?

i'd prefer to stay on the v4 datasource b/c the connection works.

the dialect we're using is

<property name="dialect">org.hibernate.dialect.DB2Dialect</property>

thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.