JNDI « Tomcat « JPA Q&A





1. Best practice? JNDI, Hibernate and Tomcat    stackoverflow.com

I've got a web application, hosted with tomcat, which uses hibernate to talk to a database. I'm looking at how I can easy the pain of configuration as I migrate from dev, ...

2. JNDI Configuration in Tomcat 5.5 for use in Hibernate    forum.hibernate.org

Hi All, I am not sure whether the same problem has been discussed before or not. I am facing one problem in configuring JNDI entry in a sinple Web Apps which is using Tomcat 5.5 Specification i am using: Hibernate 3.0 Tomcat 5.5 Problem Description: I have following entries in Tomcat's server.xml:

3. JNDI Configuration in Tomcat 5.5 for use in Hibernate    forum.hibernate.org

Hi All, I am not sure whether the same problem has been discussed before or not. I am facing one problem in configuring JNDI entry in a sinple Web Apps which is using Tomcat 5.5 Specification i am using: Hibernate 3.0 Tomcat 5.5 Problem Description: I have following entries in Tomcat's server.xml:

4. Yet another Tomcat/JNDI question    forum.hibernate.org

Beginner Joined: Fri Jan 02, 2004 7:07 pm Posts: 35 I have been trying for two days to understand how JNDI configuration works for the tomcat example provided in the reference documentation. And I have to admit that I have only got more and more confused by the hour. I am starting to think that it may be something else that ...

5. Hibernate 1.2.5 - Tomcat - JNDI    forum.hibernate.org

6. Hibernate / Tomcat / JNDI - the saga continues.    forum.hibernate.org

Hibernate version:2+ Here are the 3 key parts to the error we get when trying to use Hibernate with Tomcats JNDI feature: Cannot create JDBC driver of class '' for connect URL 'null' Caused by: java.sql.SQLException: No suitable driver net.sf.hibernate.exception.GenericJDBCException: Cannot open connection Tomcats read only JNDI conetxt works just fine. The following code satisfied me in this regard: <% String ...

7. Tomcat 5.5.4, hibernate 3.0, JNDI lookup failed    forum.hibernate.org

PersistenceFilter webapp.PersistenceFilter PersistenceFilter *.do HIBERNATE_FILTER_SESSION_FACTORY_JNDI java:comp/env/hibernate/SessionFactory HIBERNATE_FILTER_REQUEST_ATTRIBUTE_ID HibernateSession ...

9. Srping + tomcat + hibernate + jndi    forum.hibernate.org

Newbie Joined: Thu Dec 29, 2005 10:36 am Posts: 5 i'm developping in windows with netbeans 5.0 I have problem with the bundled Tomcat 5.5.9 in netbeans and Hibernate-2 wich is used with Spring-1.0 . I have set up a jndi source I use too MySQL server 4.1.11 and the connector is mysql-connector-java-3.1.11 and i have put the driver jar in ...





10. Hibernate with Tomcat 5.5 JNDI    forum.hibernate.org

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

11. Using Tomcat and JNDI with Hibernate    forum.hibernate.org

Has anyone successfully used Hibernate with Tomcat and JNDI? In particular, I am trying to use the Jakarta Commons DBCP with Tomcat and to have Tomcat pass the datasource and session registered via JNDI to Hibernate for usage. There are some articles that explain this but a comprehensive article and an example would greatly help. Thanks. - Asad

12. with or without JNDI in tomcat    forum.hibernate.org

hi all, what the difference of use JNDI or without JNDI in tomcat when use hibernate ? when use JDBC, tomcat support JNDI with connection pool available . but if use hibernate, pooling is also available for non-JNDI. is that any significant difference (like support clustering ) when use with or without JNDI with hibernate ? thanks, kiwi

13. configure sessoinfactory using jndi with tomcat5.0.28    forum.hibernate.org

hi everybody i'm using tomcat 5.0.28 and hibernate. as i have studied and the article " Using JNDI-bound SessionFactory with Tomcat 4.1+" states that tomcat provides readonly jndi implementation and to use JNDI-bound SessionFactory with Tomcat, we should write custom resource factory class for SessionFactory and setup it Tomcat's configuration i have done the same i have followed the article provided ...