The error you are getting indicates that the pom received by Artifactory is
not even a valid XML. Since the remote pom is ok, since it
is reproducible for you even from a clean install and since it used to work
for you before, this indicates to me that something has changed in the
result you are getting back from the remote repo.
Can you, for the sake of testing, change the remote repo 'repo1' URL to '
http://repo.jfrog.org/artifactory/repo', move it to be first in the remote
repositories list, clean your local m2 repo and try again? Also, to rule out
any permission issues, please use an admin user.
If it doesn't work for you, you can send us directly your config and a basic
project that fails to [email protected], and we will try to help you.

On Fri, Nov 27, 2009 at 12:41 PM, Quallo <[email protected]>wrote:

>
> Now, even after reinstalling it (uninstalled service, deleted directory,
> unzipped again, install service, start, create user, group, permissions),
> it
> doesn't download anything at all...
>
> It seems to be an internal artifactory error, as maven without repository
> manager and maven with nexus on same machine are building the project
> right.
>
> Here is my Maven error:
> Downloading:
> http://localhost:8081/artifactory/repo/org/apache/maven/plugins/mav
> en-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
> Downloading:
> http://localhost:8081/artifactory/repo/org/apache/maven/plugins/mav
> en-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
> Downloading:
> http://localhost:8081/artifactory/repo/org/apache/maven/plugins/mav
> en-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
> Downloading:
> http://localhost:8081/artifactory/repo/org/apache/maven/plugins/mav
> en-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.maven.plugins:maven-site-plugin
>
> Reason: POM 'org.apache.maven.plugins:maven-site-plugin' not found in
> repository
> : Unable to download the artifact from any repository
>
>  org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7
>
> from the specified remote repositories:
>  artifactory (http://localhost:8081/artifactory/repo)
>
>  for project org.apache.maven.plugins:maven-site-plugin
>
>
> Here is my Artifactory log:
> 2009-11-27 11:36:38,741 [btpool0-2] [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 11:36:38,757 [btpool0-2] [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 11:36:38,757 [btpool0-2] [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 11:36:38,757 [btpool0-2] [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 11:36:38,757 [btpool0-2] [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.GeneratedMethodAccessor131.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.GeneratedMethodAccessor130.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.GeneratedMethodAccessor128.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
>
>
> Here is the repo 1 setting as you proposed:
>
>  <remoteRepository>
>            <key>repo1</key>
>            <description>Central Maven 2 repository</description>
>            <type>maven2</type>
>            <blackedOut>false</blackedOut>
>            <handleReleases>true</handleReleases>
>            <handleSnapshots>false</handleSnapshots>
>            <maxUniqueSnapshots>0</maxUniqueSnapshots>
>            <includesPattern>**/*</includesPattern>
>
> <suppressPomConsistencyChecks>true</suppressPomConsistencyChecks>
>            <propertySets/>
>            <url>http://repo1.maven.org/maven2</url>
>            <offline>false</offline>
>            <hardFail>false</hardFail>
>            <storeArtifactsLocally>true</storeArtifactsLocally>
>            <fetchJarsEagerly>false</fetchJarsEagerly>
>            <fetchSourcesEagerly>false</fetchSourcesEagerly>
>            <retrievalCachePeriodSecs>0</retrievalCachePeriodSecs>
>
> <failedRetrievalCachePeriodSecs>30</failedRetrievalCachePeriodSecs>
>
> <missedRetrievalCachePeriodSecs>0</missedRetrievalCachePeriodSecs>
>            <checksumPolicyType>generate-if-absent</checksumPolicyType>
>
> <unusedArtifactsCleanupEnabled>false</unusedArtifactsCleanupEnabled>
>
> <unusedArtifactsCleanupPeriodHours>0</unusedArtifactsCleanupPeriodHours>
>            <shareConfiguration>false</shareConfiguration>
>            <socketTimeoutMillis>30000</socketTimeoutMillis>
>        </remoteRepository>
>
> --
> View this message in context:
> http://old.nabble.com/Serious-Problems-with-2.1.2-tp26529508p26540633.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

Reply via email to