Re: [dspace-tech] Re: Tomcat 8 versus Tomcat 7

2017-09-22 Thread Alan Orth
Hey, Mark.

Can I revive this side thread? I was just looking into setting up a JNDI
database pool for my DSpace webapps but after reading your description
above it doesn't sound very straightforward. There's not much guidance on
this technique! But nevertheless I'm interested in having my webapps use a
common pool of database connections.

Thanks,

On Thu, Dec 8, 2016 at 4:06 PM Mark Wood  wrote:

> On my development box I'm currently using Tomcat 8.0 with 5x and 6.  We're
> still on 7.0 in production (5x) but I want to move to 8 when I can find the
> time.
>
> The only issue I can recall is that Tomcat 8's classloader setup is much
> more finicky, and that collides with the way I like to deploy webapp.s.  I
> inject a ready-made database connection pool via JNDI, and if I'm not
> careful to delete the database driver JAR from each DSpace webapp. then 8
> will complain that it can't find the driver (because there's one in
> Tomcat's own classloader, which supplies the pool, and another in the
> webapp's classloader, and they aren't the same 'Class'es even though they
> are loaded from identical files).  I reckon that most sites won't have that
> problem.  When I have some time, I mean to create an option to leave the
> database driver JAR out of the webapps during assembly.
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Alan Orth
alan.o...@gmail.com
https://picturingjordan.com
https://englishbulgaria.net
https://mjanja.ch

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Tomcat 8 versus Tomcat 7

2016-12-08 Thread Mark Wood
On my development box I'm currently using Tomcat 8.0 with 5x and 6.  We're 
still on 7.0 in production (5x) but I want to move to 8 when I can find the 
time.

The only issue I can recall is that Tomcat 8's classloader setup is much 
more finicky, and that collides with the way I like to deploy webapp.s.  I 
inject a ready-made database connection pool via JNDI, and if I'm not 
careful to delete the database driver JAR from each DSpace webapp. then 8 
will complain that it can't find the driver (because there's one in 
Tomcat's own classloader, which supplies the pool, and another in the 
webapp's classloader, and they aren't the same 'Class'es even though they 
are loaded from identical files).  I reckon that most sites won't have that 
problem.  When I have some time, I mean to create an option to leave the 
database driver JAR out of the webapps during assembly.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.