geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: ConfigurationBaseUrl in Tomcat 7 integration
Date Thu, 17 Dec 2009 02:42:57 GMT
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