You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Vadim Gritsenko <va...@verizon.net> on 2003/07/12 06:00:31 UTC

[PATCH] Xindice servlet deployment

Hi guys,

Xindice servlet does not get deployed properly at least under Tomcat 
4.0.1 with the supplied web.xml

Attached patch fixes the issue. It would be cool if somebody applied it

PS Even after this xmlrpc fails all the time... Can't make 
bin/xindice.bat to work

Regards,
Vadim

Re: [PATCH] Xindice servlet deployment

Posted by Vadim Gritsenko <va...@verizon.net>.
Vladimir R. Bossicard wrote:
>> Attached patch fixes the issue. It would be cool if somebody applied it
> 
> 
> Could you just verify that the patch still works with the latest Tomcat 
> version?

Yes, it works (4.1.24). http://localhost:8080/Xindice as well as 
http://localhost:8080/Xindice/ output is "this is ugly debug tool". 
Before the path, http://localhost:8080/Xindice/ output is directory 
listing generated by Tomcat.

In addition to this, here is additional collective wisdom as per web.xml 
of Cocoon:

   <servlet-mapping>
     <servlet-name>Cocoon</servlet-name>
     <url-pattern>/</url-pattern>
   </servlet-mapping>

   <!--
     Some servlet engines (Tomcat) have defaults which are not overriden
     by '/' mapping, but must be overriden explicitly.
   -->
   <servlet-mapping>
     <servlet-name>Cocoon</servlet-name>
     <url-pattern>*.jsp</url-pattern>

   </servlet-mapping>
   <!--
     Some servlet engines (WebLogic) have defaults which are not overriden
     by '/' mapping, but must be overriden explicitly.
   -->
   <servlet-mapping>
     <servlet-name>Cocoon</servlet-name>
     <url-pattern>*.html</url-pattern>
   </servlet-mapping>


Vadim



Re: [PATCH] Xindice servlet deployment

Posted by "Vladimir R. Bossicard" <vl...@apache.org>.
> Attached patch fixes the issue. It would be cool if somebody applied it

Could you just verify that the patch still works with the latest Tomcat 
version?

Thanks,

-Vladimir

-- 
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice