This is odd and I'm stumped. I have a simple db connection class in a jar
under ~app/WEB-INF/lib. I have a servlet under ~app/WEB-INF/classes that
imports this connection class. The mm.mysql driver jar also resides in this
WEB-INF/lib.
The servlet accesses the connection class just fine. But, when the
connection class attempts a connection to the database I get the error:
java.sql.SQLException: Server configuration denies access to data source
However, if I cut 'n paste the code from the connection class into the
servlet I have no problem with the connection or data retrieval.
FYI:
RH7.1 new installation
jdk 1.3.1
Tomcat 3.2.1
MySQL 3.2.2
--
Richard Draucker [EMAIL PROTECTED]
Protected-Data.Com www.protected-data.com
Remote Data Support For Web Developers