cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liam Morley <lmor...@WPI.EDU>
Subject Re: database connection
Date Thu, 02 Aug 2001 07:56:48 GMT
It would be helpful to know if you have downloaded a MySQL database
driver, and if so, if it's included in your path.

-------
Liam Morley

"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."



On Thu, 2 Aug 2001 annemarie.hartvigsen@telenor.com wrote:

> Hi all,
>
> sorry for posting this again, but I have the feeling my mistake is pretty
> trivial...
>
> I'm trying to connect my websites to a mysqldatabase. I'm using cocoon
> 1.8.2. I cannot get my own code to work. I cannot get the example codes to
> work (in cocoon/samples/sql). The error message I get every time is
>
> -------------------------------------------------------------
>
> Error found handling the request.
>
> java.lang.ClassNotFoundException:
> _var._tomcat._webapps._cocoon._vt._first_sql.
> _first_sql
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>         at
> org.apache.cocoon.processor.xsp.language.java.XSPClassLoader.loadCla
> ss(XSPClassLoader.java:87)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>         at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.load(
> XSPJavaProcessor.java:169)
>         at
> org.apache.cocoon.processor.xsp.XSPProcessor.loadPage(XSPProcessor.j
> ava:542)
>         at
> org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.ja
> va:523)
>         at org.apache.cocoon.Engine.handle(Engine.java:384)
>         at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:
> 405)
>         at org.apache.tomcat.core.Handler.service(Handler.java:287)
>         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:37
> 2)
>         at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager
> .java:797)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:74
> 3)
>         at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCo
> nnection(Ajp12ConnectionHandler.java:166)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java
> :416)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:501)
>         at java.lang.Thread.run(Thread.java:484)
>
> ------------------------------------------------------------
>
> Any ideas what could be wrong? I know I haven't included any info. about my
> configuration etc., but I don't know what's relevant. Please let me know!
>
> Thanx! /Anne Marie
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message