Re: Database connection causes slow startup

2011-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, On 11/17/11 1:41 PM, Ben Gladstone wrote: > Thanks for your help. I solved the problem. It turns out the > problem was in that fastConnectionFailover option. I disabled that, > and it now starts up in 46 seconds. But now they won't fail-over fas

Re: Database connection causes slow startup

2011-11-17 Thread Ben Gladstone
Thanks for your help. I solved the problem. It turns out the problem was in that fastConnectionFailover option. I disabled that, and it now starts up in 46 seconds. On Wed, Nov 16, 2011 at 2:23 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > H

Re: Database connection causes slow startup

2011-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, On 11/16/11 2:44 PM, Ben Gladstone wrote: > type="oracle.jdbc.pool.OracleDataSource" > connectionCachingEnabled="true" description="FCF Datasource" > driverClassName="oracle.jdbc.OracleDriver" > factory="oracle.jdbc.pool.OracleDataSourceFacto

Re: Database connection causes slow startup

2011-11-16 Thread Daniel Mikusa
> type="oracle.jdbc.pool.OracleDataSource" > connectionCachingEnabled="true" > description="FCF Datasource" > driverClassName="oracle.jdbc.OracleDriver" > factory="oracle.jdbc.pool.OracleDataSourceFactory" > fastConnectionFailoverEnabl

Re: Database connection causes slow startup

2011-11-16 Thread Ben Gladstone
If I'm not mistaken, the data sources are defined in server.xml. Let's try this again. Here's server.xml:

Re: Database connection causes slow startup

2011-11-16 Thread Daniel Mikusa
On Wed, 2011-11-16 at 11:07 -0800, Ben Gladstone wrote: > I've attached my server.xml, context.xml, and catalina.out. I don't believe that you can attach files to the list. You'll need to copy and paste the information in your email. > Now, it takes around 7 minutes to start. This seems long

Database connection causes slow startup

2011-11-16 Thread Ben Gladstone
Hey all, I'm running Tomcat 6.0.33, Java 1.6.0_29, and Ubuntu 11.10 64-bit (kernel 3.0.0-12). I'm using Tomcat to connect to 2 databases, defined in my conf/server.xml file. Before I added these data sources, Tomcat started up quickly. Now, it takes around 7 minutes to start. It still connects to