cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yury Mikhienko <Yury.Mikhie...@mobicomk.ru>
Subject Re: mysql driver
Date Fri, 23 May 2003 13:57:22 GMT
Try move the  jdbcdriver.jar into the $CATALINA_HOME/common/lib
or into the $CATALINA_HOME/webapps/cocoon/WEB-INF/lib

> I've moved the jdbcdriver.jar to the webapp\WEB-INF\lib folder but it's
> still not working
> 
> Frank
> 
> -----Original Message-----
> From: Roger I Martin PhD [mailto:hypernexdev@hypernexinc.com] 
> Sent: 23 May 2003 14:15
> To: cocoon-users@xml.apache.org
> Subject: Re: mysql driver
> 
> Hi,
> 
> Usually in the webapp\WEB-INF\lib folder along with all the other jars.
> When setting up a webapp outside of the Cocoon demo webapp(plus samples)
> and
> war, all of the necessary Cocoon jars can also be placed in the
> webapp\WEB-INF\lib folder as well.  Then a simple Ant build script can
> be
> employed for "building" your webapp and maintained.  Sometimes I work
> for a
> while in the deployed folders under tomcat\webapps so that I don't have
> to
> war it up and deploy over and over during development.  Then when it
> gets to
> where I want, copy all my xsp's, xsl's, etc. back to a project folder
> and
> build the war when I'm more in a maintainance mode.  Cocoon is a servlet
> and
> it works to think and work with it as such.
> 
> > > Cocoon.xconf contains the lines
> > >
> > >     <jdbc name="..">
> > >       <pool-controller min="1" max="5"/>
> > >       <auto-commit>true|false</auto-commit>
> > >
> <dburl>jdbc:mysql://localhost:3306/..?autoReconnect=true</dburl>
> > >       <user>..</user>
> > >       <password>..</password>
> > >     </jdbc>
> > >
> > >
> > >
> > > Web.xml contains the line com.mysql.jdbc.Driver within the
> <init-param>
> > > parameter
> > >
> > > Is there anything else I need to record?
> > >
> >
> > No. I think the above is ok.
> > But where is your  jar file with mysql driver placed?
> >


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

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