Hi All,
We can fix this issue. I found that when calling the addWebapp API method,
they(tomcat) are explicitly setting 'noDefaultWebXml' for the webapp
context. Since we are not relying on this method, we can change this to use
the default webXml. The global webXml of ours will have some minor
modification. We have to remove the 'default servlet' definition from this
to avoid some duplication errors. Because in embedded mode, default servlet
is automatically added to the webapp.

Also I'm moving this web.xml and context.xml to repo/conf/tomcat directory.

Thanks,
Kishanthan.

On Wed, Mar 21, 2012 at 4:44 PM, Kishanthan Thangarajah <[email protected]
> wrote:

> Hi All,
> I checked the $subject on both in trunk and AS-4.1.2. Looks like the issue
> is specific to embedded tomcat. So i think we have to do the same as what
> we did for contextXml loading for webapps.
>
> Thanks,
> Kishanthan.
>
> --
> *Kishanthan Thangarajah*
> Software Engineer,
> Development Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com*
> Twitter - *http://twitter.com/kishanthan*
>
>


-- 
*Kishanthan Thangarajah*
Software Engineer,
Development Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to