Hi,

> I have problem with connection to mysql. Sample for hsqldb works ok.
> I installed mysql_connector_java_3.0.8-stable.jar from mysql.com in WEB-INF.
> I checked that I have excalibur-datasource-1.1.1.jar

this problem has been discussed several times, maybe you'll find
a solution in the archive:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=failed+obtain+connection&q=b
or on the wiki:
http://wiki.cocoondev.org/Wiki.jsp?page=MySQL


and btw. the name of the datasource is "test"
> <jdbc logger="core.datasources.test" name="test">

but you use the one nameb "personnel" (which is the one for the hsqldb
in your config)    ;-)

> <map:match pattern="sqltest">
> <map:generate src="sql/test.xsql"/>
> <map:transform type="sql">
> <map:parameter name="use-connection" value="personnel"/>  <--
> </map:transform>

hth a little bit

-- 
* best regards
* Jens Maukisch              
* http://www.maukisch.net


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to