cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@frost.as
Subject XSP+ SQL taglib+MySQL prob.
Date Mon, 18 Dec 2000 11:00:21 GMT
Greetings!

I am using cocoon 1.8 on Linux Redhat 7.0, and I'm trying to access the "test" 
database on my MySQL server through the "taglib.xml" page, but I am only 
getting:

java.sql.SQLException: Server configuration denies access to data source
(complete message below)

The Mysql is still wide open (I have not set the root password), so I guess it 
is not a privilege issue.

Does anyone have an idea? 

TIA.

/Dave
***************

java.sql.SQLException: Server configuration denies access to data source
	at java.lang.Throwable.(Throwable.java:96)
	at java.lang.Exception.(Exception.java:44)
	at java.sql.SQLException.(SQLException.java:45)
	at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java)
	at org.gjt.mm.mysql.Connection.connectionInit(Connection.java)
	at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
	at org.gjt.mm.mysql.Driver.connect(Driver.java)
	at java.sql.DriverManager.getConnection(DriverManager.java:523)
	at java.sql.DriverManager.getConnection(DriverManager.java:183)
	at 
org.apache.cocoon.processor.xsp.library.sql.XSPSQLLibrary.executeQuery
(XSPSQLLibrary.java:162)
	at _opt._tomcat._webapps._ROOT._samples._sql._taglib.populateDocument
(_taglib.java:134)
	at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:96)
	at org.apache.cocoon.processor.xsp.XSPProcessor.process
(XSPProcessor.java:494)
	at org.apache.cocoon.Engine.handle(Engine.java:359)
	at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at org.apache.tomcat.core.ServletWrapper.handleRequest
(ServletWrapper.java:503)
	at org.apache.tomcat.core.ContextManager.service
(ContextManager.java:559)
	at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java:160)
	at org.apache.tomcat.service.TcpConnectionThread.run
(SimpleTcpEndpoint.java:338)
	at java.lang.Thread.run(Thread.java:498)



-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su

Mime
View raw message