You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Atul Afre <af...@michigan.gov> on 2006/06/19 19:54:39 UTC

Re: Cactus -Ant Integration (Sample Servlet): Build failed tostart the container (tomcat)

Hello Kazuhito:

When I did as you said, I get error:
Class
org.apache.cactus.integration.ant.container.tomcat.Tomcat5xContainer
doesn't support the "servletxml" attribute.

Atul

>>> suguri.kazuhito@lab.ntt.co.jp 6/19/2006 8:08AM >>>
Hi,

In article <s4...@michigan.gov>,
Fri, 09 Jun 2006 15:51:11 -0400,
"Atul Afre" <af...@michigan.gov> wrote: 
afrea> I was using tomcat tomcat-5.5.11, when I changed to
tomcat-5.0.4.. It
afrea> worked.
afrea> Is there issue with deploy on tomcat-5.5.11 using Cactus -Ant
afrea> Integration?

I think so.

Could you add servletxml attribute to the tomcat5x element
like as follows:
    <tomcat5x if="cactus.home.tomcat5x"
              servletxml="${cactus.home.tomcat5x}/conf/server.xml"

Hope this helps,
----
Kazuhito SUGURI

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org 
For additional commands, e-mail: cactus-user-help@jakarta.apache.org 


Re: Cactus -Ant Integration (Sample Servlet): Build failed tostart the container (tomcat)

Posted by Kazuhito SUGURI <su...@lab.ntt.co.jp>.
Hi,

In article <s4...@som1msgt4.michigan.gov>,
Mon, 19 Jun 2006 13:54:39 -0400,
"Atul Afre" <af...@michigan.gov> wrote: 
afrea> When I did as you said, I get error:
afrea> Class
afrea> org.apache.cactus.integration.ant.container.tomcat.Tomcat5xContainer
afrea> doesn't support the "servletxml" attribute.

Ah, I was wrong. sorry.
It should be "serverxml".

Regards,
----
Kazuhito SUGURI