Yep..

The .jar´s in /WEB-INF/lib are automatically added to the classpath by
tomcat. The same is true for the /WEB-INF/classes/ dir. (you can check the
classpath´s value in /WEB-INF/logs/core.log

Here this line looks like:
DEBUG   (2002-08-09) 17:02.08:026   [core] (Unknown-URI)
Unknown-thread/Cocoon: Classpath =
/usr/local/tomcat/webapps/cocoon/WEB-INF/classes:/usr/[a-lot-of-files/dirs]

I think your internal server error is of another nature.
Check TOMCAT_HOME/logs/*.log and CONTEXT_ROOT/WEB-INF/logs/*.log for
furthere information.

greetings
mike
----- Original Message -----
From: "Jessica Niewint" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 09, 2002 6:05 PM
Subject: Re: Cocoon & mysql


> Sorry but I think I haven't understand you,
>
> You do not have to mention a JARs in <contextroot>/WEB-INF/lib/ in
web.xml.
> Restoring the old web.xml and restart tomcat.
>
> what does it mean, I can add my mm.mysql driver to the web-inf/lib folder
> without changing the web.xml file? If I do this I got a Internal Sever
Error.
> If I add an extra-classpath and list the driver in the load class
> element  I got no internal server error but I got the java-exception in
the
> log file.  I really have no idea what I made wrong with my driver
> installation ...
>
>
> At 17.39 09/08/2002 +0200, you wrote:
> >Hi Jessica
> >
> >You do not have to mention a JARs in <contextroot>/WEB-INF/lib/ in
web.xml.
> >Restoring the old web.xml and restart tomcat.
> >
> >If the error is still there, try to locate it in
> ><contextroot>/WEB-INF/logs/*.logs.
> >
> >greetings
> >mike
> >----- Original Message -----
> >From: "Jessica Niewint" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Friday, August 09, 2002 5:20 PM
> >Subject: Cocoon & mysql
> >
> >
> > > Ok I want to connect to mysql and I heard that there will be problems
with
> > > jdk1.4. and the mm.mysql.driver ... so I actually have:
> > >
> > > jdk 1.2.2
> > > cocoon 2.0.3
> > > tomcat 4.0.4 ...
> > >
> > > everything works fine until I try to implement the mm.mysql.driver
> > > (2.0.14). I downloaded the driver , unjared it.  I tried to install
the
> > > driver by enter the extra-classpath for the driver in the
> > > $COCOON_HOME/WEB-INF/web.xml file (my ABSOLUTE-PATH-TO-ARCHIVE is
> > > "/jdbc/mm.mysql-2.0.14/mm.mysql-2.0.14-bin.jar") and by copy the
> > > mm.mysql-2.0.14-bin.jar file  into the $COCOON_HOME/WEB-INF/lib
directory
> > > and add in both cases to the load-class element in the web.xml file
> > > "org.gjt.mm.msyql.Driver" ...
> > > When I try to open the httpd://localhost:8181/cocoon page I got an
> >internal
> > > server error ... so what did I forget ? Where was I wrong ???
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]>
> > >
> > >
> >
> >
> >---------------------------------------------------------------------
> >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]>
>
>
> ---------------------------------------------------------------------
> 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]>
>
>


---------------------------------------------------------------------
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]>

Reply via email to