It looks like you have a specific problem with your connection to repo1.
Please do the following -
Create the 'jfrog' public remote repository with the remote URL '
http://repo.jfrog.org/artifactory/repo' and put it before repo1 in the list
(better have them both as the last ones in the remote repos list). This
should provide an immediate workaround.
To verify your connection to repo1 - from the machine running Artifactory,
run the following commands and post back the result files that you got:
curl -o "head.txt" -f -I -A Artifactory/2.1.2
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
curl -o "get.txt" -f -G -A Artifactory/2.1.2
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
On Fri, Nov 27, 2009 at 2:22 PM, Quallo <[email protected]>wrote:
>
> Back again with the same error when using http://repo1.maven.org/maven2/.
>
> The first artefact (from central, the ones in lib-snapshots do work) maven
> tries to download from artifactory fails immediately. Whole build process
> is
> about few seconds.
>
> In Artifactory Repository Browser under Repo1 there is one path without
> files:
> Name: org/apache/maven/plugins/maven-site-plugin/2.0-beta-7
> Deployed by: anonymous
> Remote URL: http://repo1.maven.org/maven2/org
> Repository path: repo1-cache:org
>
>
> Same Error Message:
> 2009-11-27 13:16:22,679 [btpool0-4] [INFO ] (o.a.r.HttpRepo :164) - repo1:
> Retrieving
> '
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom'.
> ..
> 2009-11-27 13:16:22,679 [btpool0-4] [INFO ] (o.a.r.HttpRepo :164) - repo1:
> Retrieving
> '
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom.sha1'.
> ..
> 2009-11-27 13:16:22,679 [btpool0-4] [INFO ] (o.a.r.HttpRepo :164) - repo1:
> Retrieving
> '
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom.md5'.
> ..
> 2009-11-27 13:16:22,679 [btpool0-4] [WARN ] (o.a.j.f.JcrFsItem :355) -
> Could
> not brute force delete node: javax.jcr.PathNotFoundException:
>
> /repositories/repo1-cache/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
> 2009-11-27 13:16:22,679 [btpool0-4] [ERROR] (o.m.log :87) -
>
> /artifactory/repo/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
> java.lang.RuntimeException: Failed to save resource
>
> 'repo1:org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom'.
> at
>
> org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:476)
> [artifactory-core-2.1.2.jar:na]
> at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:247)
> [artifactory-core-2.1.2.jar:na]
> at
>
> org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:356)
> [artifactory-core-2.1.2.jar:na]
> at
>
> org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1338)
> [artifactory-core-2.1.2.jar:na]
> at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) [na:na]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> [na:1.6.0_17]
> at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_17]
> at
>
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
> at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)
> [artifactory-core-2.1.2.jar:na]
> at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
> [artifactory-core-2.1.2.jar:na]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
> at $Proxy19.downloadAndSave(Unknown Source) [na:na]
> at
>
> org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:312)
> [artifactory-core-2.1.2.jar:na]
> at
>
> org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1374)
> [artifactory-core-2.1.2.jar:na]
> at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) [na:na]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> [na:1.6.0_17]
> at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_17]
> at
>
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [spring-tx-2.5.6.jar:2.5.6]
> at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)
> [artifactory-core-2.1.2.jar:na]
> at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
> [artifactory-core-2.1.2.jar:na]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
> at $Proxy19.getResourceStreamHandle(Unknown Source) [na:na]
> at
>
> org.artifactory.engine.DownloadServiceImpl.respond(DownloadServiceImpl.java:182)
> [artifactory-core-2.1.2.jar:na]
> at
>
> org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:124)
> [artifactory-core-2.1.2.jar:na]
> at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) [na:na]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> [na:1.6.0_17]
> at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_17]
> at
>
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
> at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66)
> [artifactory-core-2.1.2.jar:na]
> at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
> at
>
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
> at $Proxy31.process(Unknown Source) [na:na]
> at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:112)
> [artifactory-web-application-2.1.2.jar:na]
> at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)
> [artifactory-web-application-2.1.2.jar:na]
> at
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> [jetty-6.1.21.jar:6.1.21]
> at
>
> org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191)
> [artifactory-web-application-2.1.2.jar:na]
> at
>
> org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:174)
> [artifactory-web-application-2.1.2.jar:na]
> at
>
> org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:115)
> [artifactory-web-application-2.1.2.jar:na]
> at
> org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91)
> [artifactory-web-application-2.1.2.jar:na]
> at
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> [jetty-6.1.21.jar:6.1.21]
> at
>
> org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)
> [artifactory-web-application-2.1.2.jar:na]
> at
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> [jetty-6.1.21.jar:6.1.21]
> at
>
> org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54)
> [artifactory-web-application-2.1.2.jar:na]
> at
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> [jetty-6.1.21.jar:6.1.21]
> at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> [jetty-6.1.21.jar:6.1.21]
> at
>
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> [jetty-6.1.21.jar:6.1.21]
> at
>
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.Server.handle(Server.java:326)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
> [jetty-6.1.21.jar:6.1.21]
> at
>
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> [jetty-6.1.21.jar:6.1.21]
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
> [jetty-6.1.21.jar:6.1.21]
> at
>
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> [jetty-6.1.21.jar:6.1.21]
> at
>
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
> [jetty-util-6.1.21.jar:6.1.21]
> Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException:
> Could not create file node resource at
>
> '/repositories/repo1-cache/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom'.
> at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:153)
> [artifactory-core-2.1.2.jar:na]
> at
>
> org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:442)
> [artifactory-core-2.1.2.jar:na]
> ... 68 common frames omitted
> Caused by: javax.jcr.RepositoryException: Could not store POM file.: Failed
> to read POM for
>
> 'org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom'.
> at org.artifactory.jcr.fs.JcrFile.processXmlStream(JcrFile.java:553)
> [artifactory-core-2.1.2.jar:na]
> at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:508)
> [artifactory-core-2.1.2.jar:na]
> at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:151)
> [artifactory-core-2.1.2.jar:na]
> ... 69 common frames omitted
> Caused by: org.artifactory.api.repo.exception.maven.BadPomException: Failed
> to read POM for
>
> 'org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom'.
> at
>
> org.artifactory.maven.MavenModelUtils.validatePomTargetPath(MavenModelUtils.java:104)
> [artifactory-common-2.1.2.jar:na]
> at org.artifactory.jcr.fs.JcrFile.processXmlStream(JcrFile.java:551)
> [artifactory-core-2.1.2.jar:na]
> ... 71 common frames omitted
>
>
>
>
> Quallo wrote:
> >
> > Everything works now...
> >
> > I'll try to delete the contents of repo1, switch back to maven central
> and
> > try again.
> >
> > Thank you!
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Serious-Problems-with-2.1.2-tp26529508p26541736.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users