Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-05 Thread Charles Richard
On Tue, Mar 4, 2014 at 8:57 PM, Neven Cvetkovic neven.cvetko...@gmail.comwrote: On Tue, Mar 4, 2014 at 2:56 PM, Charles Richard charle...@thelearningbar.com wrote: On Tue, Mar 4, 2014 at 3:17 PM, Christopher Schultz ch...@christopherschultz.net wrote: Can we still use Hibernate in

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/5/14, 12:07 PM, Charles Richard wrote: On Tue, Mar 4, 2014 at 8:57 PM, Neven Cvetkovic neven.cvetko...@gmail.comwrote: On Tue, Mar 4, 2014 at 2:56 PM, Charles Richard charle...@thelearningbar.com wrote: On Tue, Mar 4, 2014

Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Charles Richard
Hi, I am testing the jdbc pool to replace the c3p0 pool we were using for our Tomcat connection pool. We are also using Spring 2.0 and Hibernate (and Tomcat 6). When I put this in my hibernate-context.xml, our application is using the jdbc pool and appears to work: bean id=dataSource

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/4/14, 1:03 PM, Charles Richard wrote: Hi, I am testing the jdbc pool to replace the c3p0 pool we were using for our Tomcat connection pool. We are also using Spring 2.0 and Hibernate (and Tomcat 6). When I put this in my

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Charles Richard
The tomcat version is 6.0.30. Can we still use Hibernate in our Spring application if we configure the Data Source through a context.xml? We are not using a context.xml right now, can I use the context.xml in $TOMCAT_HOME/conf? Our server.xml, the config is as follows:

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/4/14, 2:10 PM, Charles Richard wrote: The tomcat version is 6.0.30. You should look at the changelog and security reports. I think you're going to want to upgrade. Can we still use Hibernate in our Spring application if we

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Charles Richard
On Tue, Mar 4, 2014 at 3:17 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/4/14, 2:10 PM, Charles Richard wrote: The tomcat version is 6.0.30. You should look at the changelog and security reports. I think

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/4/14, 2:56 PM, Charles Richard wrote: On Tue, Mar 4, 2014 at 3:17 PM, Christopher Schultz ch...@christopherschultz.net wrote: Charles, On 3/4/14, 2:10 PM, Charles Richard wrote: The tomcat version is 6.0.30. You should

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Mark Eggers
Since it's only two lines, I'll top-post as well as answer inline. http://wiki.apache.org/tomcat/TomcatHibernate On 3/4/2014 12:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/4/14, 2:56 PM, Charles Richard wrote: On Tue, Mar 4, 2014 at 3:17

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Neven Cvetkovic
On Tue, Mar 4, 2014 at 2:56 PM, Charles Richard charle...@thelearningbar.com wrote: On Tue, Mar 4, 2014 at 3:17 PM, Christopher Schultz ch...@christopherschultz.net wrote: Can we still use Hibernate in our Spring application if we configure the Data Source through a context.xml?