Struts Dev Team - please verify my hypothesis below.

I believe the Struts JARs and the DBCP JARs from common should be the
same.  After all, Struts does use the DBCP in it's distribution.  You
might want to upgrade to the latest build of Struts (which includes DBCP
and Logging, among others).  I know they're planning on releasing 1.1
Beta 2 this weekend.

HTH,

Matt

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On 
> Behalf Of Dave Johnson
> Sent: Friday, August 09, 2002 8:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Roller-development] Ant file oddity
> 
> 
> Hi Simon,
> 
> Simon Stewart wrote:
> 
> >From a preliminary poke about and looking at the installation 
> >instructions, I'm a little nervous about the dependencies on the 
> >extra-jars. Is there any reason in particular that they need to be 
> >placed into tomcat's common/lib directory?
> >  
> >
> I would like to have all of the Roller jars inside the Roller 
> WEB-INF/lib directory, but after some experimentation my current 
> thinking is:
> 
> 1) even though the JNDI datasource is configured inside the Roller 
> context in server.xml, Tomcat still seems to need the DBCP 
> and JDBC jars 
> in the common classpath.  Maybe this is a Tomcat bug?
> 
> 2) the commons jars needed for DBCP and the commons jars needed for 
> Struts 1.1b are not compatible and are not interchangable.  
> So we need 
> to put the DBCP compatible commons jars in common/lib where they are 
> used for Datasource creation and the Struts compabible 
> commons jars in 
> WEB-INF/lib.
> 
> I'm not totally sure about either of these conclusions.  
> Perhaps getting 
> the most recent commons DBCP, pool, and collections jars 
> would solve #2 
> and perhaps #1 is just operator error on my part.  
> 
> >Would an entry in the manifest classpath of the ear (or even in a
> >roller.war) be a sensible alternative? When it comes to packing up 
> >the EAR, that might be neater.
> >
> 
> I don't think you can do that in an EAR or a WAR.  I don't remember 
> seeing that in the J2EE specs, but as always - I could be wrong.
> 
> - Dave
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Roller-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/roller-development
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to