Try using JDBCRealm instead of SimpleRealm. SimpleRealm reads it's
authentication info from an xml file, not from a database.
Thanks,
--jeff
----- Original Message -----
From: "yuzz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 8:21 PM
Subject: resend:correction-org.gjt.mm.mysql.driver
> I tried to configure the mysql driver with the following option in
> server.xml files
> <RequestInterceptor
> className="org.apache.tomcat.request.SimpleRealm"
> driverName="org.gjt.mm.mysql.Driver"
> connectionURL="jdbc:mysql://localhost/test"
> connectionName="myusername"
> connectionPassword="mypassword" />
>
> and then i stop the tomcat and start back and everything is ok including
> class path...when i go to browser and tried to load the page....it's
> give me and error
>
> //error part correction
> server configuration denies access to data source
>
>
> anybody ?? how to solve this problem?
>
> --
> yuzz
> System Engineer
> EmasOnline Dot Com Sdn. Bhd.
> http://www.EmasOnline.com
> [EMAIL PROTECTED]
> Tel No: 606+ 3345666 ext 2174
> Fax No: 606+ 3372233
> #Slackware live...
>