jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petar Tahchiev" <paranoia...@gmail.com>
Subject Re: cactify servletredirector problem
Date Mon, 14 Jul 2008 12:57:48 GMT
Hi Nicole,

This is really strange, and should never happen.

Can you paste your source web.xml file?

Thanks.

2008/7/14 Nicole Luneburg <Nicole.Luneburg@lisasoft.com>:

> Still haven't found a solution :(
> I have tried both Cactus version 1.7.2 and the latest one, version 1.8.0.
>
> Any ideas anyone?
>
> -----Original Message-----
> From: Nicole Luneburg [mailto:Nicole.Luneburg@lisasoft.com]
> Sent: Monday, 14 July 2008 8:45 AM
> To: Cactus Users List
> Subject: RE: cactify servletredirector problem
>
> Hi,
>
> Yes that is correct.
>
> -----Original Message-----
> From: Petar Tahchiev [mailto:paranoiabla@gmail.com]
> Sent: Saturday, 12 July 2008 12:26 AM
> To: Cactus Users List
> Subject: Re: cactify servletredirector problem
>
> Hi Nicole,
>
> I am really sorry but I didn't get the question. So the problem is actually
> that the cactifywar task puts the
> servlet-redirector definitions in reversed order, like this:
>
>   <servlet-mapping>
>       <servlet-name>ServletRedirector</servlet-name>
>       <url-pattern>/ServletRedirector</url-pattern>
>   </servlet-mapping>
>   <servlet>
>       <servlet-name>ServletRedirector</servlet-name>
>
>
>  <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
>   </servlet>
>
> Is that right? And you want them switched?
>
> 2008/7/11 Nicole Luneburg <Nicole.Luneburg@lisasoft.com>:
>
> > Hi!
> >
> > Been banging my head against a wall on this one.
> > I've got a cactify task like:
> >
> > <cactifywar srcfile="${project.build.dir}/${war.file}"
> > destfile="${project.build.dir}/test.war">
> >      <servletredirector/>
> >      <classes dir="${project.build.dir}/test/"/>
> > </cactifywar>
> >
> > It puts the ServletRedirector stuff in my web.xml like:
> >
> >    <servlet>
> >        <servlet-name>ServletRedirector</servlet-name>
> >
> >
>  <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
> >    </servlet>
> >    <servlet-mapping>
> >        <servlet-name>ServletRedirector</servlet-name>
> >        <url-pattern>/ServletRedirector</url-pattern>
> >    </servlet-mapping>
> >
> > now this would work except it keeps putting it in the wrong order!!!
> > I.e. needs to put the servlet name BEFORE the servlet-mapping.
> >
> > I've tried taking out the <servletredirector/> section from the cactify
> > task but it doesn't work either.
> > Any ideas anyone?
> >
> > Cheers!
> >
> >
> > ________________________________
> > The contents of this email are confidential and may be subject to legal
> or
> > professional privilege and copyright. No representation is made that this
> > email is free of viruses or other defects. If you have received this
> > communication in error, you may not copy or distribute any part of it or
> > otherwise disclose its contents to anyone. Please advise the sender of
> your
> > incorrect receipt of this correspondence.
> >
>
>
>
> --
> Regards, Petar!
> Karlovo, Bulgaria.
> - - - - - - - -
> | Author @ Manning Publications.
> | Technical Consultant @ HP
> | BGJUG-Bulgarian Java User Group Leader.
> | Apache Jakarta PMC member.
> | Jakarta Cactus Lead Developer.
> | Blogger: http://weblogs.java.net/blog/paranoiabla/
> - - - - - - - -
> Public PGP Key at:
> https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
>
> The contents of this email are confidential and may be subject to legal or
> professional privilege and copyright. No representation is made that this
> email is free of viruses or other defects. If you have received this
> communication in error, you may not copy or distribute any part of it or
> otherwise disclose its contents to anyone. Please advise the sender of your
> incorrect receipt of this correspondence.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
> The contents of this email are confidential and may be subject to legal or
> professional privilege and copyright. No representation is made that this
> email is free of viruses or other defects. If you have received this
> communication in error, you may not copy or distribute any part of it or
> otherwise disclose its contents to anyone. Please advise the sender of your
> incorrect receipt of this correspondence.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>


-- 
Regards, Petar!
Karlovo, Bulgaria.
- - - - - - - -
| Author @ Manning Publications.
| Technical Consultant @ HP
| BGJUG-Bulgarian Java User Group Leader.
| Apache Jakarta PMC member.
| Jakarta Cactus Lead Developer.
| Blogger: http://weblogs.java.net/blog/paranoiabla/
- - - - - - - -
Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message