Re: Bug with tomcat JDBC connection pool?

2012-03-04 Thread Adib
Tomcat source for class org.apache.naming.factory.ResourceFactory line 112 contains the following block of code which defaults the data source to the DBCP unless the system property javax.sql.DataSourceFactory is set. However when I set javax.sql.DataSource factory to point to the Tomcat jdbc conn

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Bob Hall
From:Brooke Hedrick Sent: Sunday, March 4, 2012 1:57 PM >> >> Have you tried defining views in the primary database based on the @otherdb >> queries? >> >> > Bob, > How will that help with the borrow query and not wanting to run extra queries > to the remote db when not necessary? It should e

Re: Tomcat silently dies

2012-03-04 Thread David Kerber
On 3/4/2012 7:31 PM, Carl Kabbe wrote: Recap: OS Slackware 13.x 64bit Tomcat 6.0.24 Two different servers… one with 16 GB and one with 8GB Heap2GB, PermGen 300MB Tried different versions of the (Oracle) JVM … tried 1.6.0_24 and 1.6.0_31 The current solution: Has been stab

Tomcat silently dies

2012-03-04 Thread Carl Kabbe
Recap: OS Slackware 13.x 64bit Tomcat 6.0.24 Two different servers… one with 16 GB and one with 8GB Heap2GB, PermGen 300MB Tried different versions of the (Oracle) JVM … tried 1.6.0_24 and 1.6.0_31 The current solution: Has been stable using JVM version 1.6.0_7 for the last

Bug with tomcat JDBC connection pool?

2012-03-04 Thread Adib
Hi, I think I have run into a bug with tomcat, but wanted to check with the user list to make sure it is a bug before I file it. Background: I am using the tomact jdbc pool over the dbcp pool and I am embedding tomcat as part of an application that clients install on their data centers. 1) del

Re: [Tomcat Maven plugin] Not pulling in Test dependencies when useTestClasspath is true

2012-03-04 Thread Nathan Schile
I have the plugin configured to pull in test classes and dependencies [1], however it doesn't seem to be pulling in my test dependencies. I am recieving a NoClassDefFoundError on the class from a test dependency, if I switch the dependency to a scope of compile, it works file. Any ideas? [1] ht

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Brooke Hedrick
On Mar 4, 2012 2:50 PM, "Bob Hall" wrote: > > > > > > > From: Brooke Hedrick > To: Tomcat Users List > Sent: Sunday, March 4, 2012 12:21 PM > > > On Mar 4, 2012, at 1:35 PM, Chema wrote: > > > >>> We use Spring w/ Hibernate as I recall. Yes, we have talked abou

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Bob Hall
From: Brooke Hedrick To: Tomcat Users List Sent: Sunday, March 4, 2012 12:21 PM > On Mar 4, 2012, at 1:35 PM, Chema wrote: >  >>> We use Spring w/ Hibernate as I recall.  Yes, we have talked about that - a >>> ping query.  What we don't like about that is n

Maven and dependencies for $CATALINA/lib

2012-03-04 Thread James Apfel
Hi, I'm working on a project that requires me to replace Tomcat's SessionManager. I've created a src/main/webapp/META-INF/context.xml (it defines the custom Manager) and I've edited my Maven pom file to include the requires JARs in the tomcat6-maven-plugin's dependencies section (see below) but I'

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Brooke Hedrick
On Mar 4, 2012, at 1:35 PM, Chema wrote: >> We use Spring w/ Hibernate as I recall. Yes, we have talked about that - a >> ping query. What we don't like about that is now we have a tc ping and app >> ping. We have also discussed just changing the tc borrow/ping to do the >> dual@remotedb que

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Michael
Pid schrieb: On 03/03/2012 12:33, Michael wrote: Hi folks, I've been examining the JMX operations of the new pool and did not find a crucial one. Sometimes our Oracle database has to be restarted, the pool still keeps the pooled connections. The webapp requests a connection, receives a pooled

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Chema
> We use Spring w/ Hibernate as I recall.  Yes, we have talked about that - a > ping query.  What we don't like about that is now we have a tc ping and app > ping.  We have also discussed just changing the tc borrow/ping to do the > dual@remotedb query as this would test both primary and remote.  W

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Brooke Hedrick
On Mar 4, 2012 5:13 AM, "Chema" wrote: > > >> > >> > That approach doesn't work when the application uses symlinks to get to > >> > data on other Oracle servers. > > > Right. With dblinks, it's the RDBMS who opens/closes a session against > the remote server, via dblinks > I guess that when you sa

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Chema
>> >> > That approach doesn't work when the application uses symlinks to get to >> > data on other Oracle servers. Right. With dblinks, it's the RDBMS who opens/closes a session against the remote server, via dblinks I guess that when you say "our Oracle database has to be restarted", you *only*

RE: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Felix Schumacher
Am Samstag, den 03.03.2012, 11:50 -0600 schrieb Brooke Hedrick: > On Mar 3, 2012 11:48 AM, "Brooke Hedrick" > wrote: > > > > > > On Mar 3, 2012 11:35 AM, "Caldarale, Charles R" < > chuck.caldar...@unisys.com> wrote: > > > > > > > From: Brooke Hedrick [mailto:brooke.t.hedr...@gmail.com] > > > > Sub