maven site-deploy against webdav constantly failing

  8 posts   Feedicon  
Replies: 7 - Last Post: June 22, 2010 10:26
by: Martin Fousek
showing 1 - 8 of 8
 
Posted: April 05, 2010 14:14 by Fabrizio Giudici
A few months ago (probably circa January) I was always able to publish the javadoc of my projects to their webdav space, by running mvn site-deploy. After that month, I have never been able to do that again, because during the process there's the 100% of chances that an error stops the thing.

For instance, I've just run it and got this error:

##Apr 5, 2010 3:18:57 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server kenai.com failed to respond
Apr 5, 2010 3:18:57 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Transfer error: org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated.
https://kenai.com/website/openbluesky/site/0.7.0 - Session: Disconnecting
https://kenai.com/website/openbluesky/site/0.7.0 - Session: Disconnected



The error is not always the same, in any case it's related to a network error (failed to respond, invalid http header, etc...).

 
Posted: April 20, 2010 12:55 by Martin Fousek
Could I ask you do you have still troubles with webdav uploading of your javadoc documentation?

I tried it for Maven project with 540 files in javadoc (about 2.5MB) and I didn't cross any network issues. Please could you try it again and eventually if you will be able to reproduce it again post here an information about size of your javadoc (approx. count of files, total size and size of the largest files).

Thanks a lot. It would help me to reproduce troubles for another project and also figure out if it's related only your project or all project on the site. Thanks again.

 
Posted: May 25, 2010 00:40 by Jean-Francois Poilpret
Hi, I had exactly the same problem this morning:

For the GUTS project, "mvn site-deploy" consistently fails after more or less 1 minute, with different kinds of errors, the most frequent being:

"Embedded error: PUT request for: ./apidocs/allclasses-frame.html to allclasses-frame.html failed
Unbuffered entity enclosing request can not be repeated."

After the 5th or 6th try, it finally worked for the first Guts module to deploy (but I still have 3 more to go and don't know what to expect).

I already had observed this erratic behavior several times in the past. It looks like if it doesn't work at time t, just check it again at time t + x (where x varies from 1 minute to 1 hour or more), to see if you get more lucky....
 
Posted: May 26, 2010 14:48 by Martin Fousek
Not sure if it is data related issue or environment related issue.

I tried publishing of my test project again and it worked well (but it still can be too small project for that or similar). I wanted to try it with your project but I wasn't able to build it - perhaps my fault, I'm not using maven commonly.

But I saw few topics in another forums with similar issue which were related to version of maven or version and type of plugin used for publishing. Which maven and webdav plugin are you using please?
 
Posted: June 13, 2010 11:47 by Fabrizio Giudici
Yesterday I tried with one of the smaller projects I have. Publishing seemed to work quickly and fine for a lot of artifacts, but at a certain point it got stuck and then timed out. Of course, my network connection was fine.

maven 2.2.1, wagon-webdav-jackrabbit 1.0-beta-5.
 
Posted: June 19, 2010 03:41 by lea_wang
Filed http://kenai.com/jira/browse/KENAI-2066 for tracking. Will look into this. Thanks.

-Lea
 
Posted: June 22, 2010 07:19 by Fabrizio Giudici
I tried to access KENAI-2066 and possibly watch it, but it says:

PERMISSION VIOLATION
ERROR

It seems that you have tried to perform an operation which you are not permitted to perform.

If you think this message is wrong, please consult your administrators about getting the necessary permissions.


Of course I logged in.
 
Posted: June 22, 2010 10:26 by Martin Fousek
Hi Fabrizio,
I opened the issue for public access, so you should be able to watch it now.

Martin
showing 1 - 8 of 8
Replies: 7 - Last Post: June 22, 2010 10:26
by: Martin Fousek
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close