geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: ConfigurationBaseUrl in Tomcat 7 integration
Date Thu, 17 Dec 2009 06:10:52 GMT
See  http://svn.apache.org/viewvc?rev=885632&view=rev

I think I've figured out how to do this in tomcat.  We need a  
BundleDriContext that is installed into the GeronimoStandardContext to  
look up resources.

thanks
david jencks

On Dec 16, 2009, at 6:42 PM, Ivan wrote:

> Hmm, does it need to modify Tomcat/Jetty codes ? I searched in the  
> integration codes for Jetty8, but no hit is found.
> Maybe you could show me where they are.
> Thanks!
>
> 2009/12/17 David Jencks <david_jencks@yahoo.com>
> In an osgi environment it is certainly not appropriate to tell the  
> web server the file system location of a war.  The location is used  
> to find web resources.  To get jetty to work, I used  
> bundle.getEntry.  I'll look into fixing it for tomcat.
>
> thanks
> david jencks
>
>
> On Dec 16, 2009, at 2:00 AM, Ivan wrote:
>
> Hi,
>    After changing some Tomcat codes, I got a NullPointerException  
> about the ConfigurationBaseUrl. It seems that in OSGI environment,  
> we have no way know where the bundle is. But IIRC, both Tomcat and  
> Jetty need to set docbase, so that they could load resource from the  
> specified locations. So, how is it handlered currently ? I  
> remembered that Jetty could be run for a while in the past, but I  
> did not find any codes related to it.
> -- 
> Ivan
>
>
>
>
> -- 
> Ivan


Mime
View raw message