Maven + Cargo + Tomcat +vista = pain
I'm currently working on a project thats using Tomcat as the servlet container.
So I thought I'll use cargo plugin from Codehaus to deploy to Tomcat.
FYI, I was doing this on my desktop, which runs Vista, Sun JDK 1.6, and Maven 2.0.9
For some reason, I kept getting the following error while doing mvn cargo:deploy
java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode.
...
...
org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:565)
..
After scratching my head for quite a while, I decided to give it a shot on my laptop, which runs Ubuntu. Sure enough, it ran without any error.
I might poke around the code a bit, to see whats happening there, and maybe submit some patch to cargo. What surprised me, is that surely someone out there has used Maven + Cargo + Tomcat + Vista, and experienced the same error. Or ignorance has become a norm? I dunno.
Ciao.
P.S.: apparently that error has to do with connection transfer in chunk mode? I have no idea.
Who cares... its 12:06 AM now, and I know that my code works in Linux.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home