Re: Let BundleDirContext extends BaseDirContext

2010-04-16 Thread Ivan
I have gone head with it, currently it works well. Only two more changes are added, override two setDocBase/getBasePath methods to avoid NullPointerException. IMO, those parameters should be of no use in the bundle environment. Anyway, I added the TODO tags in the codes, and will check them later.

Re: Let BundleDirContext extends BaseDirContext

2010-04-15 Thread Jarek Gawor
Not that I know of. This should also make our implementation much smaller and nicer. +1. Jarek On Thu, Apr 15, 2010 at 11:35 PM, Ivan wrote: >    While using Geronimo-Tomcat assembly, I got the error of "ERROR > [Registry] Null component Catalina:type=Cache,host=localhost,path=/plugin" >    The

Let BundleDirContext extends BaseDirContext

2010-04-15 Thread Ivan
While using Geronimo-Tomcat assembly, I got the error of "ERROR [Registry] Null component Catalina:type=Cache,host=localhost,path=/plugin" The reason is that Geronimo use a customized BundleDirContext which implements DirContext directly, however, in the constructor of ProxyDirContext, it wou