If all else fails, the Cocoon log files are still your friend - the
problems I have had in the past with getting a database to work
were, in almost every case, highlighted in some way there.
>>> On 2008/05/20 at 04:35, in message <[EMAIL PROTECTED]>, Matthew Monkan
>>> <[EMAIL PROTECTED]> wrote:
Still having problems...I tried that dburl and verified that mysql is set to
3306.
Maybe something else is wrong...
This is the <init-param> I added to my web.xml file:
<init-param>
<param-name>load-class</param-name>
<param-value>
<!-- For parent ComponentManager sample:
org.apache.cocoon.samples.parentcm.Configurator -->
<!-- For IBM WebSphere:
com.ibm.servlet.classloader.Handler -->
<!-- For Database Driver: -->
org.hsqldb.jdbcDriver
<!-- For MySQL Driver: -->
com.mysql.jdbc.Driver
</param-value>
</init-param>
and I put mysql-connector-java-5.1.6-bin.jar into:
C:\Program Files\Apache Software Foundation\Tomcat
6.0\webapps\cocoon\WEB-INF\lib
- Matt
Derek Hohls wrote:
>
> Normally, the dburl is of the form:
>
> jdbc:mysql://localhost:3306/abc
>
> Which is the standard port address for MySQL.
> (Remember to restart Tomcat after making such changes)
>
--
This message is subject to the CSIR's copyright terms and conditions, e-mail
legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their
support.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]