|
From: Jorg H. <jor...@gm...> - 2007-06-07 07:32:53
|
Yes it's 1.2.1-rc3, and yes the webdav wagon seems to work every time so i'm
switching to that one for now.
I'm getting some noise from the redirect messages but i guess this is fixed
in RTFACT-47.
07-Jun-2007 09:29:26
org.apache.commons.httpclient.HttpMethodBaseprocessRedirectResponse
INFO: Redirect requested but followRedirects is disabled
07-Jun-2007 09:29:26
org.apache.commons.httpclient.HttpMethodBaseprocessRedirectResponse
INFO: Redirect requested but followRedirects is disabled
07-Jun-2007 09:29:27
org.apache.commons.httpclient.HttpMethodBaseprocessRedirectResponse
INFO: Redirect requested but followRedirects is disabled
[INFO] Retrieving previous metadata from ec-snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'44b5dfac736e299631e2f34ad13dcb2371dbc13a'; remote =
'c15c295e1d26389e7fb59f46bb0310acd609fb93' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'44b5dfac736e299631e2f34ad13dcb2371dbc13a'; remote =
'c15c295e1d26389e7fb59f46bb0310acd609fb93' - IGNORING
I thought the checksum issue had been fixed though ? I'm getting failed
checksums for each subsequent deploy.
On 6/6/07, Yoav Landman <yla...@gm...> wrote:
>
> Does it happen with 1.2.1-rc3? If yes, does using the webdav wagon produce
> better results?
>
> On 6/6/07, Jorg Heymans < jor...@gm...> wrote:
>
> > Hi,
> >
> > I'm having some troubles getting deployment to work consistently. When i do a deployment it can fail like this:
> >
> >
> > $ mvn deploy
> > ......
> > [INFO] ------------------------------------------------------------------------
> >
> > [ERROR] BUILD ERROR
> > [INFO] ------------------------------------------------------------------------
> >
> > [INFO] Error installing artifact's metadata:
> > Error while deploying metadata:
> > Failed to transfer file:
> >
> > http://server/artifactory/my-snapshot-repo/foo/bar/1-SNAPSHOT/maven-metadata.xml. Return code is: 500
> > [INFO] ------------------------------------------------------------------------
> >
> > [INFO] For more information, run Maven with the -e switch
> >
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Total time: 9 seconds
> > [INFO] Finished at: Wed Jun 06 15:01:07 CEST 2007
> >
> > [INFO] Final Memory: 9M/16M
> > [INFO] ------------------------------------------------------------------------
> >
> >
> > Server side i get this stacktrace:
> >
> > 2007-06-06 15:01:04,162 [ERROR] webapp.servlet.RepoFilter
> > - Upload request failed
> > java.lang.RuntimeException: Failed to save resource '{my-snapshot-repo:foo/bar/1-SNAPSHOT/maven-
> > metadata.xml}'.
> > at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:370)
> > at
> > org.artifactory.engine.UploadEngine.process(UploadEngine.java:158)
> > at org.artifactory.webapp.servlet.RepoFilter.handleUploadRequest
> > (RepoFilter.java:106)
> > at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal
> > (RepoFilter.java:75)
> > at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89)
> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> > (ServletHandler.java:1089)
> > at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter
> > (BasicProcessingFilter.java:178)
> > at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:72)
> >
> > at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89)
> > at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
> > at org.mortbay.jetty.servlet.ServletHandler.handle
> > (ServletHandler.java:365)
> > at org.mortbay.jetty.security.SecurityHandler.handle
> > (SecurityHandler.java:216)
> > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> > at org.mortbay.jetty.handler.ContextHandler.handle
> > (ContextHandler.java:712)
> > at org.mortbay.jetty.webapp.WebAppContext.handle
> > (WebAppContext.java:405)
> > at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
> > at org.mortbay.jetty.handler.HandlerCollection.handle
> > (HandlerCollection.java:114)
> > at org.mortbay.jetty.handler.HandlerWrapper.handle
> > (HandlerWrapper.java:139)
> > at org.mortbay.jetty.Server.handle(Server.java:285)
> > at org.mortbay.jetty.HttpConnection.handleRequest
> > (HttpConnection.java:502)
> > at org.mortbay.jetty.HttpConnection$RequestHandler.content
> > (HttpConnection.java:835)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
> > at org.mortbay.jetty.HttpParser.parseAvailable
> > (HttpParser.java:208)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java
> > :378)
> > at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
> > at org.mortbay.thread.BoundedThreadPool$PoolThread.run
> > (BoundedThreadPool.java:442)
> > Caused by: java.lang.RuntimeException: Failed to execute JcrCallback.
> >
> > at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:186)
> > at org.artifactory.repo.JcrRepo.saveResource
> > (JcrRepo.java:331)
> > ... 25 more
> > Caused by: java.lang.RuntimeException: Failed to acquire node lock on '/my-snapshot-repo' after 3 retries.
> >
> > at org.artifactory.jcr.NodeLock.lock(NodeLock.java:79)
> > at
> > org.artifactory.jcr.NodeLock.lock(NodeLock.java:39)
> > at org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:405)
> > at org.artifactory.jcr.JcrHelper.createPath
> > (JcrHelper.java:196)
> > at org.artifactory.repo.JcrRepo$9.doInJcr
> > (JcrRepo.java:341)
> > at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:333)
> > at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:182)
> >
> > ... 26 more
> >
> > After this i immediately try again and it works :
> >
> > $ mvn deploy
> > .....
> > [INFO] ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO] ------------------------------------------------------------------------
> >
> >
> > [INFO] Total time: 14 seconds
> > [INFO] Finished at: Wed Jun 06 15:01:55 CEST 2007
> > [INFO] Final Memory: 9M/16M
> > [INFO] ------------------------------------------------------------------------
> >
> > Any thoughts ?
> >
> >
> >
> > Regards
> > Jorg
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Artifactory-users mailing list
> > Art...@li...
> > https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Artifactory-users mailing list
> Art...@li...
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
|