cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <gi...@mx.nextra.ro>
Subject SQLException
Date Wed, 16 Aug 2000 06:52:54 GMT


---------- Forwarded message ----------
Date: Wed, 16 Aug 2000 09:46:12 +0300 (EEST)
From: gimre@mx.nextra.ro
To: cocoon-user@xml.apache.org
Subject: SQLException

Hi all!

My .XML page looks like this:

<?xml version="1.0"?> 
<?cocoon-process type="sql"?>

<page>
 <comment> Alma a fa alatt </comment>
 <connectiondefs>
  <connection name="test_connection">
   <driver>org.gjt.mm.mysql.Driver</driver>
   <!-- URN of your database
        Syntax: jdbc:TYPE:machine:port/DB_NAME
    -->
   <dburl>jdbc:mysql://localhost/xml</dburl>
   <username>nobody</username>
  </connection>
 </connectiondefs>
 
 <query connection="test_connection">
  select szam,nev,datum from alma
 </query>
 
</page>


Database, table, user exists, jdbc driver exists (mysql_comp.jar,
mysql_uncomp.jar), and I get this error in error_log:

java.sql.SQLException: Server configuration denies access to data source
	at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:144)
	at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
	at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
	at java.sql.DriverManager.getConnection(DriverManager.java:83)
	at java.sql.DriverManager.getConnection(DriverManager.java:141)
	...

What does that mean???

GImre



Mime
View raw message