I already did most of the coding yesterday, just had to figure out how to make the tests pass. I committed my initial work in rev 892003.

It could probably use some review and polishing, I noted a couple things in GERONIMO-4989. If you want to take a look that would be great, otherwise I will review it again. And, maybe you have a better idea :-)

thanks
david jencks

On Dec 17, 2009, at 5:23 AM, Ivan wrote:

Thanks, if you have not begun the code change, I would like to do it for Tomcat.

2009/12/17 David Jencks <[email protected]>
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 <[email protected]>
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




--
Ivan

Reply via email to