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-

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 fast!

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,

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: ?xml version='1.0' encoding='utf-8'? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this

Re: Database connection causes slow startup

2011-11-16 Thread Daniel Mikusa
Resource name=jdbc/PortalDb auth=Container type=oracle.jdbc.pool.OracleDataSource connectionCachingEnabled=true description=FCF Datasource driverClassName=oracle.jdbc.OracleDriver factory=oracle.jdbc.pool.OracleDataSourceFactory

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: Resource name=jdbc/PortalDb auth=Container type=oracle.jdbc.pool.OracleDataSource connectionCachingEnabled=true description=FCF Datasource driverClassName=oracle.jdbc.OracleDriver