At 12.02 29/08/2002 +0100, you wrote: You were so right ! It was the jar file. Somehow it was damaged or because I copied it from my server to my windows desktop ... now I have done every step with unix and everything is fine. So now I got : jdk 1.4.0 tomcat 4.0.4 cocoon 2.0.3 and the mysql-connector 3.0.0
in my web.xml file I got : <init-param> <param-name>load-class</param-name> <param-value> <!-- For IBM WebSphere: com.ibm.servlet.classloader.Handler --> <!-- For Database Driver: --> org.hsqldb.jdbcDriver com.mysql.jdbc.Driver <!-- For parent ComponentManager sample: org.apache.cocoon.samples.parentcm.Configurator --> </param-value> </init-param> for the cocoon.conf: <!-- my mysql driver --> <jdbc name="mymysql"> <pool-controller max="10" min="5"/> <dburl>jdbc:mysql://localhost/test</dburl> <user>root</user> <password></password> </jdbc> No error message or exception in the log files. No I have to test everything with a short applications. Thanks again ! You are so great folks !!! :-D >Hi Jessica, > >Looks OK and you should be able to run the hsqldb driver as well. I have >had no problems with mySQL on 2.0.3 and JDK 1.4 so you could try >that. You could also comment out all the other driver references and the >other pools to check there are no conflicts. I'm not sure that any of >this is strictly necessary however. From the log messages it seems that >the classloader is attempting to find the class but cannot. This would >typically be because the package name is incorrect or the class is not >there. The package name for that version of the JAR should be fine. Have >you opened the jar in something like WINRAR or WINZIP? If not do so to >check the file is not corrupt or otherwise wrong. You should be able to >navigate the folder org/gjt/mm/mysql where Driver.class should exist. > >HTH a little more. > >Jez --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>