Re: cactify servletredirector problem
"Petar Tahchiev" <[email protected]> Mon, 14 Jul 2008 15:57:48 +0300
| Newsgroups | gmane.comp.jakarta.cactus.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Nicole, This is really strange, and should never happen. Can you paste your source web.xml file? Thanks. 2008/7/14 Nicole Luneburg <[email protected]>: > 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:[email protected]] > 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:[email protected]] > 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 <[email protected]>: > > > 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: [email protected] > For additional commands, e-mail: [email protected] > > > 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: [email protected] > For additional commands, e-mail: [email protected] > > -- 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