Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 52432 invoked from network); 10 Feb 2009 20:38:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 20:38:09 -0000 Received: (qmail 64600 invoked by uid 500); 10 Feb 2009 20:37:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64577 invoked by uid 500); 10 Feb 2009 20:37:55 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 64565 invoked by uid 99); 10 Feb 2009 20:37:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 12:37:55 -0800 X-ASF-Spam-Status: No, hits=-2.5 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_SOFTFAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of barry.l.propes@citi.com designates 199.67.179.104 as permitted sender) Received: from [199.67.179.104] (HELO mail.citigroup.com) (199.67.179.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 20:37:45 +0000 Received: from imbarc-nj02.nj.ssmb.com (imbarc-nj02.nj.ssmb.com [150.110.177.216]) by imbaspam-ny04.ssmb.com (8.13.8/8.13.8/SSMB_EXT/ev: 22534 $) with ESMTP id n1AKbMqc029161 for ; Tue, 10 Feb 2009 20:37:22 GMT Received: from mailhub-nj04-1.nj.ssmb.com (mailhub-nj04-2.nj.ssmb.com [150.110.236.237]) by imbarc-nj02.nj.ssmb.com (8.13.8/8.13.8/SSMB_QQQ_IN/1.1) with ESMTP id n1AKbCac026904 for ; Tue, 10 Feb 2009 20:37:12 GMT Received: from exnjsm05.nam.nsroot.net (EXNJSM05.nam.nsroot.net [169.193.40.39]) by mailhub-nj04-1.nj.ssmb.com (8.13.8/8.13.8/CG_HUB) with ESMTP id n1AKbCw0020093 for ; Tue, 10 Feb 2009 20:37:12 GMT Received: from exnjmb23.nam.nsroot.net ([169.193.40.18]) by exnjsm05.nam.nsroot.net with Microsoft SMTPSVC(5.0.2195.6713); Tue, 10 Feb 2009 15:37:12 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat 4.1 security container Date: Tue, 10 Feb 2009 15:37:20 -0500 Message-ID: <3A55348B50FD2A40AAA40ABA16C6B6D611ECB128@EXNJMB23.nam.nsroot.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat 4.1 security container Thread-Index: AcmLvvxiX5bwmrxQSWqR4XYq3I62bQAAEmAQ References: <3A55348B50FD2A40AAA40ABA16C6B6D60B70CA9B@EXNJMB23.nam.nsroot.net> <4991E493.2050403@christopherschultz.net> From: "Propes, Barry L " To: "Tomcat Users List" X-OriginalArrivalTime: 10 Feb 2009 20:37:12.0488 (UTC) FILETIME=[5A300280:01C98BBF] X-Scanned-By: MIMEDefang 2.52 on 199.67.177.46 X-Virus-Checked: Checked by ClamAV on apache.org Thanks, Chris -- I'll double check that! Been a while since I edited the server.xml doc at all - haven't added much to the app lately. Thanks!=20 -----Original Message----- From: Christopher Schultz [mailto:chris@christopherschultz.net]=20 Sent: Tuesday, February 10, 2009 2:33 PM To: Tomcat Users List Subject: Re: Tomcat 4.1 security container -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Barry, On 2/10/2009 12:49 PM, Propes, Barry L wrote: > I did check the catalina output log and it shows this: > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > 2009-02-10 10:22:34 JDBCRealm[Standalone]: Exception performing=20 > authentication > java.sql.SQLException: Io exception: The Network Adapter could not=20 > establish the connection at=20 > oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) > at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179) > at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334) > at > oracle.jdbc.driver.OracleConnection.(OracleConnection.java:418) > at > oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java: > 521) > at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:325) > at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:598) Note that this is a JDBCRealm, not a DataSourceRealm. That means that your JDBC configuration for the realm is probably specified in the section of your server.xml, not your . I suspect that your application JDBC connections work just fine, but your authentications do not work. Check your ... I'll bet there's a second set of JDBC connection details there. Note that you can use a DataSourceRealm and share your JDBC connections between the app and the authenticator. Some folks object to doing that, but I find it convenient for configuration /and/ for resource management. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmR5JMACgkQ9CaO5/Lv0PB7NQCgrqDJ6x7fvmeUq1te53oJzdn0 E70An1TQpYiEvcjYKjR/x8KhJszeQ2uG =3DJzoU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org