dbcp « Tomcat « JPA Q&A





1. Tomcat and DBCP: Address already in use error    forum.hibernate.org

I've been searching everywhere and cant seem to find a solution: Using Windows XP, JTDS, SQL Server 2000, and Tomcat 4.1.27, Hibernate 2.0.3. I have a servlet that i call during when i first start tomcat: The follogin code is used to initiate Hibernate: private static Properties goDatabaseProperties = null; private static SessionFactory goSessionFactory = null; goDatabaseProperties = new Properties(); goDatabaseProperties.setProperty ...

2. tomcat5 hib2 dbcp mysql 3.43 .... problems    forum.hibernate.org

hello everybody, I have 2 problems using this config in multithreading use of a small but commercial web site (not mine): 1) in production, the mysql connections are sometimes loosed by dbcp : ERROR JDBCExceptionReporter:46 - Communication link failure: java.io.EOFException, underlying cause: null but I can't figure where it does come from, and of course, it would be too easy, I ...

3. TOMCAT with HIBERNATE/C3PO/and another in-house DBCP    forum.hibernate.org

Hello!! We are trying to run TOMCAT 4.1 with Hibernate, C3PO, and another in-house DBCP. We keep getting the following error: Catalina.stop: java.net.ConnectException: Connection refused: connect java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) at java.net.Socket.(Socket.java:268) at java.net.Socket.(Socket.java:95) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) Does hibernate allow to run against a TOMCAT server ...

4. Is C3PO needed if Tomcat DBCP is used?    forum.hibernate.org

5. Tomcat/5.0.19 GlobalNamingResources JNDI DBCP problems    forum.hibernate.org

I am trying to configure Hibernate to use a global (specified in tomcat server.xml GlobalNamingResources) JNDI supplied DBCP DataSource. I know that Tomcat is properly configured w/o Hibernate because I was able to run a test JSP that gets connection from JNDI. config.buildSessionFactory() says: INFO: Not binding factory to JNDI, no JNDI name configured I have spend quite a while trying ...

6. Trouble with Tomcat DBCP/MySql    forum.hibernate.org

I have been working towards a connection pool with hibernate and mySql in Tomcat. I have been able to create a Tomcat cpool but was unable to do the same with hibernate. After going through all the forums and tutorials I tried the various workarounds to the session binding problem but no success so far. I am now wondeing if I ...

7. Tomcat 6 + Hibernate 3 + DBCP + Mysql 5    forum.hibernate.org

8. Tomcat 6 + Hibernate 3 + DBCP + Mysql 5    forum.hibernate.org