-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate with Tomcat 5.5 JNDI
PostPosted: Sat Jan 28, 2006 6:47 pm 
Newbie

Joined: Sun Jan 22, 2006 3:25 pm
Posts: 6
I've setup JNDI via a context.xml file for Tomcat 5.5, which works fine when JDBC is used directly (i.e. in the absence of Hibernate). The Hibernate 3.1 configuration and mapping files also work fine in a console application (i.e. without Tomcat 5.5).

Does anyone know of a reasonably complete example of the configuration of Hibernate 3.1 (or any version) with (specifically) Tomcat 5.5 JNDI. Tomcat 5.5 presents a hybrid type of environment - JNDI but no Transaction Manager.

The only information I can find anywhere on the web, including this site, is old (Tomcat 5.0, which had a different configuration), or very fragmentary.

I assume this combination, although I think very under-documented, is definitely a working combination.

Thanks very much.

Bill


Top
 Profile  
 
 Post subject: I Have Now Got this Combination Working
PostPosted: Sat Jan 28, 2006 8:38 pm 
Newbie

Joined: Sun Jan 22, 2006 3:25 pm
Posts: 6
What a hassle!

Bill


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 29, 2006 10:09 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Bill,
It would be good if you documented what you learned and entered it into the Wiki for other to reference.

Thanks.

BTW: a link from here would be good.


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

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.