-----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:
> ======================================================
> 2009-02-10 10:22:34 JDBCRealm[Standalone]: Exception performing
> authentication
> java.sql.SQLException: Io exception: The Network Adapter could not
> establish the connection
>  at 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.<init>(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
<Realm> section of your server.xml, not your <Resource>.

I suspect that your application JDBC connections work just fine, but
your authentications do not work. Check your <Realm>... 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
=JzoU
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to