geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh" <...@joyfulnoisewebdesign.com>
Subject Re: Tuscany sample app
Date Wed, 09 May 2007 21:18:03 GMT
I didn't say, but in order to get the app to deploy in Geronimo I had to 
comment out the close() in IOHelper.

Jay

Jay D. McHugh wrote:
> Hello all.
>
> Well after wandering through class loaders and deployment managers, I 
> finally managed to get the Tuscany calculator sample webapp to deploy 
> and run under Geronimo.
>
> And, the problem that made it so hard wasn't even in Geronimo (at 
> least not directly).
>
> Tuscany is using a helper class when scanning jar files during startup 
> (IOHelper).
>
> That class closes the jar file at the same time as it closes the input 
> stream based on the jar file (as recommended by Sun - 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4950148).
>
> Tomcat doesn't mind having the jar file get closed - Geronimo does.
>
> Does anyone have any comments on this?
>
> Does anyone know if Tomcat is built to reopen closed jars?
>
> Can Tuscany be changed to stop closing the jar file?
>
> Comments?
>
>
> Jay
>
>
> .
>

Mime
View raw message