geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: ConfigurationBaseUrl in Tomcat 7 integration
Date Wed, 16 Dec 2009 16:42:53 GMT
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.

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

View raw message