artifact deployment errors

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

artifact deployment errors

Jorg Heymans-4
Hi,

I'm having problems getting artifacts to deploy.

When i first tried deploy:deploy to the artifactory repo i got this:

[INFO] Retrieving previous build number from repo-snapshot
Uploading: http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom
16K uploaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Authorization failed: Access denied to: http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom

However when i verified the repo browser, the artifact uploaded fine.

Reviewing my config, I thought that the <includesPattern> for my-repo was missing a /** at the the end so i corrected this.I tried deploying again and now got another error message:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file: http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom . Return code is: 500

Checking the repo browser however i saw that the artifact had again uploaded fine.

The output logs don't reveal much:
2007-04-02 13:34:22,653 [ERROR] webapp.servlet.RepoFilter  - org.apache.maven.artifact.deployer.ArtifactDeploymentException : Failed to deploy '/var/tmp/artifactory-uploads/artifact-20070402.112230-1.pom'.

Any thoughts ? (using maven 2.0.6)


Regards,
Jorg
Reply | Threaded
Open this post in threaded view
|

Re: artifact deployment errors

Yoav Landman
Administrator
Hi,

Could you change the log4j settings for org.artifactory to DEBUG and post the log for both errors?
This might have something to do with issues with the jcr transaction handling that have already been resolved for the upcoming 1.2.1 release.

Thanks,

Yoav

On 4/2/07, Jorg Heymans <[hidden email]> wrote:
Hi,

I'm having problems getting artifacts to deploy.

When i first tried deploy:deploy to the artifactory repo i got this:

[INFO] Retrieving previous build number from repo-snapshot
Uploading: <a href="http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom
16K uploaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Authorization failed: Access denied to: <a href="http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom

However when i verified the repo browser, the artifact uploaded fine.

Reviewing my config, I thought that the <includesPattern> for my-repo was missing a /** at the the end so i corrected this.I tried deploying again and now got another error message:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file: <a href="http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom . Return code is: 500

Checking the repo browser however i saw that the artifact had again uploaded fine.

The output logs don't reveal much:
2007-04-02 13:34:22,653 [ERROR] webapp.servlet.RepoFilter  - org.apache.maven.artifact.deployer.ArtifactDeploymentException : Failed to deploy '/var/tmp/artifactory-uploads/artifact-20070402.112230-1.pom'.

Any thoughts ? (using maven 2.0.6)


Regards,
Jorg

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV" target="_blank"> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/artifactory-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply | Threaded
Open this post in threaded view
|

Re: artifact deployment errors

Jorg Heymans-4

On 4/2/07, Yoav Landman <[hidden email]> wrote:
Hi,

Could you change the log4j settings for org.artifactory to DEBUG and post the log for both errors?

This is the output for the first case (where the exclude pattern was wrong)


2007-04-02 16:56:06,891 [DEBUG] artifactory.engine.DownloadEngine  - Request: source=xxx.xxx.xxx.xxx, path=my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml, lastModified=01-01-70 00:59:59+0100, headOnly=false, ifModifiedSince=-1
2007-04-02 16:56:06,892 [DEBUG] artifactory.engine.DownloadEngine  - Update request processing (/maven2-proxy/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml) includes local repo 'test-snapshot-repo'.
2007-04-02 16:56:06,896 [DEBUG] artifactory.repo.RepoBase  - test-snapshot-repo includes pattern (my/groupid/) did not accept path 'my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml'.
2007-04-02 16:56:06,909 [DEBUG] artifactory.cache.DefaultRetrievalCache  - Unable to find my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml in retrieval cache
2007-04-02 16:56:06,909 [DEBUG] artifactory.cache.DefaultRetrievalCache  - Unable to find my/groupid/myartifact/0.1-SNAPSHOT/maven- metadata.xml in retrieval cache
2007-04-02 16:56:06,909 [DEBUG] artifactory.repo.HttpRepo  - codehaus-snapshots: Checking last modified time for http://snapshots.repository.codehaus.org//my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml
2007-04-02 16:56:07,070 [INFO ] httpclient.auth.AuthChallengeProcessor  - basic authentication scheme selected
2007-04-02 16:56:07,335 [DEBUG] artifactory.repo.RemoteRepoBase  - codehaus-snapshots: {codehaus-snapshots, my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml} not found at 'my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml'.
2007-04-02 16:56:07,338 [DEBUG] artifactory.cache.DefaultRetrievalCache  - Adding my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml to retrieval cache
2007-04-02 16:56:07,338 [DEBUG] artifactory.engine.DownloadEngine  - Artifact not found: my/groupid/myartifact/0.1-SNAPSHOT/maven- metadata.xml
2007-04-02 16:56:07,372 [DEBUG] artifactory.engine.DownloadEngine  - Request for path 'my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml' failed.
2007-04-02 16:56:07,576 [DEBUG] webapp.spring.ArtifactoryWebApplicationContext   - Publishing event in context [Root WebApplicationContext]: org.acegisecurity.event.authentication.AuthenticationSuccessEvent[source=org.acegisecurity.providers.UsernamePasswordAuthenticationToken@ff521b9d: Username: org.acegisecurity.userdetails.User@bc4300 : Username: test; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: USER; Password: [PROTECTED]; Authenticated: true; Details: org.acegisecurity.ui.WebAuthenticationDetails@0 : RemoteIpAddress: xxx.xxx.xxx.xxx; SessionId: null; Granted Authorities: USER]
2007-04-02 16:56:07,579 [DEBUG] artifactory.engine.UploadEngine  - Request: source=xxx.xxx.xxx.xxx, path=my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-20070402.145606-1.pom, lastModified=-1, ifModifiedSince=-1
2007-04-02 16:56:07,580 [DEBUG] artifactory.repo.RepoBase  - test-snapshot-repo includes pattern (my/groupid/) did not accept path 'my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-20070402.145606-1.pom'.
2007-04-02 16:56:07,583 [WARN ] artifactory.engine.UploadEngine  - Uplod rejected by 'test-snapshot-repo' include/exclude patterns.
2007-04-02 16:56:07,607 [DEBUG] artifactory.engine.UploadEngine   - Deploying 'myartifact-0.1-20070402.145606-1.pom' as 'my.groupid:myartifact:pom:0.1-SNAPSHOT'.
[ maven embedder INFO] Retrieving previous build number from test-snapshot-repo
[ maven embedder INFO] Retrieving previous metadata from test-snapshot-repo
[ maven embedder INFO] Uploading repository metadata for: 'snapshot my.groupid:myartifact:0.1-SNAPSHOT'
[ maven embedder INFO] Retrieving previous metadata from test-snapshot-repo
[ maven embedder INFO] Uploading repository metadata for: 'artifact my.groupid:myartifact'
2007-04-02 16:56:07,859 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'my' into 'test-snapshot-repo'...
2007-04-02 16:56:07,865 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'groupid' into 'test-snapshot-repo'...
2007-04-02 16:56:07,871 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'myartifact' into 'test-snapshot-repo'...
2007-04-02 16:56:07,879 [INFO ] artifactory.jcr.JcrHelper  - Importing folder ' 0.1-SNAPSHOT' into 'test-snapshot-repo'...
2007-04-02 16:56:07,880 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom' into 'test-snapshot-repo'...
2007-04-02 16:56:09,285 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom
2007-04-02 16:56:09,285 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom.md5 ' into 'test-snapshot-repo'...
2007-04-02 16:56:09,488 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom.md5
2007-04-02 16:56:09,489 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom.sha1' into 'test-snapshot-repo'...
2007-04-02 16:56:09,732 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom.sha1
2007-04-02 16:56:09,732 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml' into 'test-snapshot-repo'...
2007-04-02 16:56:10,321 [DEBUG] artifactory.jcr.JcrHelper   - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml
2007-04-02 16:56:10,322 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.md5' into 'test-snapshot-repo'...
2007-04-02 16:56:10,542 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml.md5
2007-04-02 16:56:10,543 [INFO ] artifactory.jcr.JcrHelper  - Importing file ' maven-metadata.xml.sha1' into 'test-snapshot-repo'...
2007-04-02 16:56:10,714 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml.sha1
2007-04-02 16:56:10,715 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml' into 'test-snapshot-repo'...
2007-04-02 16:56:11,298 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/maven- metadata.xml
2007-04-02 16:56:11,298 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.md5' into 'test-snapshot-repo'...
2007-04-02 16:56:11,467 [DEBUG] artifactory.jcr.JcrHelper   - Imported /test-snapshot-repo/my/groupid/myartifact/maven-metadata.xml.md5
2007-04-02 16:56:11,467 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.sha1' into 'test-snapshot-repo'...
2007-04-02 16:56:11,658 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/maven-metadata.xml.sha1
/test-snapshot-repo
/test-snapshot-repo/jcr:lockIsDeep=false
/test-snapshot-repo/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/jcr:created=2007-04-02T16:52:52.441+02:00
/test-snapshot-repo/artifactory:modifiedBy=superuser
/test-snapshot-repo/jcr:lockOwner=superuser
/test-snapshot-repo/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my
/test-snapshot-repo/my/jcr:lockIsDeep=false
/test-snapshot-repo/my/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/jcr:created=2007-04-02T16:53:35.608+02:00
/test-snapshot-repo/my/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/jcr:lockOwner=superuser
/test-snapshot-repo/my/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid
/test-snapshot-repo/my/groupid/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/jcr:created=2007-04-02T16:53:35.677+02:00
/test-snapshot-repo/my/groupid/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact
/test-snapshot-repo/my/groupid/myartifact/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/jcr:created=2007-04-02T16:53: 35.728+02:00
/test-snapshot-repo/my/groupid/myartifact/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:created=2007-04-02T16:53:35.782+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:uuid=35a7f953-f097-483a-bc6e-be3c2f712270
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:mixinTypes=artifactory:xmlAware

/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:created=2007-04-02T16:56:08.400+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/artifactory:lastUpdated=2007-04-02T16:56:08.407+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:primaryType=artifactory:file
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:name=myartifact-0.1-SNAPSHOT.pom
2007-04-02 16:56:11,869 [ERROR] webapp.servlet.RepoFilter   - org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy '/var/tmp/artifactory-uploads/myartifact-0.1-20070402.145606-1.pom'.



----------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------

After changing the exclude pattern:

2007-04-02 16:53:35,285 [DEBUG] artifactory.engine.UploadEngine  - Request: source=xxx.xxx.xxx.xxx, path=my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-20070402.145330-1.pom , lastModified=-1, ifModifiedSince=-1
2007-04-02 16:53:35,313 [DEBUG] artifactory.engine.UploadEngine  - Deploying 'myartifact-0.1-20070402.145330-1.pom' as 'my.groupid:myartifact:pom:0.1-SNAPSHOT'.
[ maven embedder INFO] Retrieving previous build number from test-snapshot-repo
[ maven embedder INFO] Retrieving previous metadata from test-snapshot-repo
[ maven embedder INFO] Uploading repository metadata for: 'snapshot my.groupid:myartifact:0.1-SNAPSHOT'
[ maven embedder INFO] Retrieving previous metadata from test-snapshot-repo
[ maven embedder INFO] Uploading repository metadata for: 'artifact my.groupid:myartifact'
2007-04-02 16:53:35,658 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'my' into 'test-snapshot-repo'...
2007-04-02 16:53:35,711 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'groupid' into 'test-snapshot-repo'...
2007-04-02 16:53:35,765 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'myartifact' into 'test-snapshot-repo'...
2007-04-02 16:53:35,820 [INFO ] artifactory.jcr.JcrHelper  - Importing folder ' 0.1-SNAPSHOT' into 'test-snapshot-repo'...
2007-04-02 16:53:35,820 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom' into 'test-snapshot-repo'...
2007-04-02 16:53:36,339 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom
2007-04-02 16:53:36,339 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom.md5 ' into 'test-snapshot-repo'...
2007-04-02 16:53:36,431 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom.md5
2007-04-02 16:53:36,431 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom.sha1' into 'test-snapshot-repo'...
2007-04-02 16:53:36,524 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom.sha1
2007-04-02 16:53:36,525 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml' into 'test-snapshot-repo'...
2007-04-02 16:53:36,848 [DEBUG] artifactory.jcr.JcrHelper   - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml
2007-04-02 16:53:36,848 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.md5' into 'test-snapshot-repo'...
2007-04-02 16:53:36,939 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml.md5
2007-04-02 16:53:36,940 [INFO ] artifactory.jcr.JcrHelper  - Importing file ' maven-metadata.xml.sha1' into 'test-snapshot-repo'...
2007-04-02 16:53:37,031 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml.sha1
2007-04-02 16:53:37,032 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml' into 'test-snapshot-repo'...
2007-04-02 16:53:37,309 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/maven- metadata.xml
2007-04-02 16:53:37,309 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.md5' into 'test-snapshot-repo'...
2007-04-02 16:53:37,396 [DEBUG] artifactory.jcr.JcrHelper   - Imported /test-snapshot-repo/my/groupid/myartifact/maven-metadata.xml.md5
2007-04-02 16:53:37,396 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.sha1' into 'test-snapshot-repo'...
2007-04-02 16:53:37,480 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/maven-metadata.xml.sha1
/test-snapshot-repo
/test-snapshot-repo/jcr:lockIsDeep=false
/test-snapshot-repo/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/artifactory:modifiedBy=superuser
/test-snapshot-repo/jcr:created=2007-04-02T16:52:52.441+02:00
/test-snapshot-repo/jcr:lockOwner=superuser
/test-snapshot-repo/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my
/test-snapshot-repo/my/jcr:lockIsDeep=false
/test-snapshot-repo/my/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/jcr:created=2007-04-02T16:53: 35.608+02:00
/test-snapshot-repo/my/jcr:lockOwner=superuser
/test-snapshot-repo/my/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid
/test-snapshot-repo/my/groupid/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/jcr:created=2007-04-02T16:53:35.677+02:00
/test-snapshot-repo/my/groupid/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact
/test-snapshot-repo/my/groupid/myartifact/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/jcr:created=2007-04-02T16:53: 35.728+02:00
/test-snapshot-repo/my/groupid/myartifact/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:created=2007-04-02T16:53:35.782+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:uuid=ce1a1561-428f-4dd5-a6df-01e6ab539b0d
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:mixinTypes=artifactory:xmlAware

/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:created=2007-04-02T16:53:35.846+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/artifactory:lastUpdated=2007-04-02T16:53:35.851+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:primaryType=artifactory:file
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:name=myartifact-0.1-SNAPSHOT.pom
2007-04-02 16:53:37,651 [ERROR] webapp.servlet.RepoFilter   - org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy '/var/tmp/artifactory-uploads/myartifact-0.1-20070402.145330-1.pom'.


Reply | Threaded
Open this post in threaded view
|

Re: artifact deployment errors

Yoav Landman
Administrator
There is certainly an issue rising from the first trace, for which we applied a fix: https://www.jfrog.org/jira/browse/RTFACT-98. Thanks.
For the second trace - can you provide the simplest configuration to replicate the behavior you are getting?

On 4/2/07, Jorg Heymans <[hidden email]> wrote:

On 4/2/07, Yoav Landman <[hidden email]> wrote:
Hi,

Could you change the log4j settings for org.artifactory to DEBUG and post the log for both errors?

This is the output for the first case (where the exclude pattern was wrong)


2007-04-02 16:56:06,891 [DEBUG] artifactory.engine.DownloadEngine  - Request: source=xxx.xxx.xxx.xxx, path=my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml, lastModified=01-01-70 00:59:59+0100, headOnly=false, ifModifiedSince=-1
2007-04-02 16:56:06,892 [DEBUG] artifactory.engine.DownloadEngine  - Update request processing (/maven2-proxy/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml) includes local repo 'test-snapshot-repo'.
2007-04-02 16:56:06,896 [DEBUG] artifactory.repo.RepoBase  - test-snapshot-repo includes pattern (my/groupid/) did not accept path 'my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml'.
2007-04-02 16:56:06,909 [DEBUG] artifactory.cache.DefaultRetrievalCache  - Unable to find my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml in retrieval cache
2007-04-02 16:56:06,909 [DEBUG] artifactory.cache.DefaultRetrievalCache  - Unable to find my/groupid/myartifact/0.1-SNAPSHOT/maven- metadata.xml in retrieval cache
2007-04-02 16:56:06,909 [DEBUG] artifactory.repo.HttpRepo  - codehaus-snapshots: Checking last modified time for <a href="http://snapshots.repository.codehaus.org//my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://snapshots.repository.codehaus.org//my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml
2007-04-02 16:56:07,070 [INFO ] httpclient.auth.AuthChallengeProcessor  - basic authentication scheme selected
2007-04-02 16:56:07,335 [DEBUG] artifactory.repo.RemoteRepoBase  - codehaus-snapshots: {codehaus-snapshots, my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml} not found at 'my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml'.
2007-04-02 16:56:07,338 [DEBUG] artifactory.cache.DefaultRetrievalCache  - Adding my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml to retrieval cache
2007-04-02 16:56:07,338 [DEBUG] artifactory.engine.DownloadEngine  - Artifact not found: my/groupid/myartifact/0.1-SNAPSHOT/maven- metadata.xml
2007-04-02 16:56:07,372 [DEBUG] artifactory.engine.DownloadEngine  - Request for path 'my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml' failed.
2007-04-02 16:56:07,576 [DEBUG] webapp.spring.ArtifactoryWebApplicationContext   - Publishing event in context [Root WebApplicationContext]: org.acegisecurity.event.authentication.AuthenticationSuccessEvent[source=org.acegisecurity.providers.UsernamePasswordAuthenticationToken@ff521b9d: Username: org.acegisecurity.userdetails.User@bc4300 : Username: test; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: USER; Password: [PROTECTED]; Authenticated: true; Details: org.acegisecurity.ui.WebAuthenticationDetails@0 : RemoteIpAddress: xxx.xxx.xxx.xxx; SessionId: null; Granted Authorities: USER]
2007-04-02 16:56:07,579 [DEBUG] artifactory.engine.UploadEngine  - Request: source=xxx.xxx.xxx.xxx, path=my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-20070402.145606-1.pom, lastModified=-1, ifModifiedSince=-1
2007-04-02 16:56:07,580 [DEBUG] artifactory.repo.RepoBase  - test-snapshot-repo includes pattern (my/groupid/) did not accept path 'my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-20070402.145606-1.pom'.
2007-04-02 16:56:07,583 [WARN ] artifactory.engine.UploadEngine  - Uplod rejected by 'test-snapshot-repo' include/exclude patterns.
2007-04-02 16:56:07,607 [DEBUG] artifactory.engine.UploadEngine   - Deploying 'myartifact-0.1-20070402.145606-1.pom' as 'my.groupid:myartifact:pom:0.1-SNAPSHOT'.
[ maven embedder INFO] Retrieving previous build number from test-snapshot-repo
[ maven embedder INFO] Retrieving previous metadata from test-snapshot-repo
[ maven embedder INFO] Uploading repository metadata for: 'snapshot my.groupid:myartifact:0.1-SNAPSHOT'
[ maven embedder INFO] Retrieving previous metadata from test-snapshot-repo
[ maven embedder INFO] Uploading repository metadata for: 'artifact my.groupid:myartifact'
2007-04-02 16:56:07,859 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'my' into 'test-snapshot-repo'...
2007-04-02 16:56:07,865 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'groupid' into 'test-snapshot-repo'...
2007-04-02 16:56:07,871 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'myartifact' into 'test-snapshot-repo'...
2007-04-02 16:56:07,879 [INFO ] artifactory.jcr.JcrHelper  - Importing folder ' 0.1-SNAPSHOT' into 'test-snapshot-repo'...
2007-04-02 16:56:07,880 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom' into 'test-snapshot-repo'...
2007-04-02 16:56:09,285 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom
2007-04-02 16:56:09,285 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom.md5 ' into 'test-snapshot-repo'...
2007-04-02 16:56:09,488 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom.md5
2007-04-02 16:56:09,489 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom.sha1' into 'test-snapshot-repo'...
2007-04-02 16:56:09,732 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom.sha1
2007-04-02 16:56:09,732 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml' into 'test-snapshot-repo'...
2007-04-02 16:56:10,321 [DEBUG] artifactory.jcr.JcrHelper   - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml
2007-04-02 16:56:10,322 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.md5' into 'test-snapshot-repo'...
2007-04-02 16:56:10,542 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml.md5
2007-04-02 16:56:10,543 [INFO ] artifactory.jcr.JcrHelper  - Importing file ' maven-metadata.xml.sha1' into 'test-snapshot-repo'...
2007-04-02 16:56:10,714 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml.sha1
2007-04-02 16:56:10,715 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml' into 'test-snapshot-repo'...
2007-04-02 16:56:11,298 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/maven- metadata.xml
2007-04-02 16:56:11,298 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.md5' into 'test-snapshot-repo'...
2007-04-02 16:56:11,467 [DEBUG] artifactory.jcr.JcrHelper   - Imported /test-snapshot-repo/my/groupid/myartifact/maven-metadata.xml.md5
2007-04-02 16:56:11,467 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.sha1' into 'test-snapshot-repo'...
2007-04-02 16:56:11,658 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/maven-metadata.xml.sha1
/test-snapshot-repo
/test-snapshot-repo/jcr:lockIsDeep=false
/test-snapshot-repo/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/jcr:created=2007-04-02T16:52:52.441+02:00
/test-snapshot-repo/artifactory:modifiedBy=superuser
/test-snapshot-repo/jcr:lockOwner=superuser
/test-snapshot-repo/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my
/test-snapshot-repo/my/jcr:lockIsDeep=false
/test-snapshot-repo/my/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/jcr:created=2007-04-02T16:53:35.608+02:00
/test-snapshot-repo/my/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/jcr:lockOwner=superuser
/test-snapshot-repo/my/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid
/test-snapshot-repo/my/groupid/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/jcr:created=2007-04-02T16:53:35.677+02:00
/test-snapshot-repo/my/groupid/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact
/test-snapshot-repo/my/groupid/myartifact/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/jcr:created=2007-04-02T16:53: 35.728+02:00
/test-snapshot-repo/my/groupid/myartifact/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:created=2007-04-02T16:53:35.782+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:uuid=35a7f953-f097-483a-bc6e-be3c2f712270
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:mixinTypes=artifactory:xmlAware

/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:created=2007-04-02T16:56:08.400+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/artifactory:lastUpdated=2007-04-02T16:56:08.407+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:primaryType=artifactory:file
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:name=myartifact-0.1-SNAPSHOT.pom
2007-04-02 16:56:11,869 [ERROR] webapp.servlet.RepoFilter   - org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy '/var/tmp/artifactory-uploads/myartifact-0.1-20070402.145606-1.pom'.



----------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------

After changing the exclude pattern:

2007-04-02 16:53:35,285 [DEBUG] artifactory.engine.UploadEngine  - Request: source=xxx.xxx.xxx.xxx, path=my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-20070402.145330-1.pom , lastModified=-1, ifModifiedSince=-1
2007-04-02 16:53:35,313 [DEBUG] artifactory.engine.UploadEngine  - Deploying 'myartifact-0.1-20070402.145330-1.pom' as 'my.groupid:myartifact:pom:0.1-SNAPSHOT'.
[ maven embedder INFO] Retrieving previous build number from test-snapshot-repo
[ maven embedder INFO] Retrieving previous metadata from test-snapshot-repo
[ maven embedder INFO] Uploading repository metadata for: 'snapshot my.groupid:myartifact:0.1-SNAPSHOT'
[ maven embedder INFO] Retrieving previous metadata from test-snapshot-repo
[ maven embedder INFO] Uploading repository metadata for: 'artifact my.groupid:myartifact'
2007-04-02 16:53:35,658 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'my' into 'test-snapshot-repo'...
2007-04-02 16:53:35,711 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'groupid' into 'test-snapshot-repo'...
2007-04-02 16:53:35,765 [INFO ] artifactory.jcr.JcrHelper  - Importing folder 'myartifact' into 'test-snapshot-repo'...
2007-04-02 16:53:35,820 [INFO ] artifactory.jcr.JcrHelper  - Importing folder ' 0.1-SNAPSHOT' into 'test-snapshot-repo'...
2007-04-02 16:53:35,820 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom' into 'test-snapshot-repo'...
2007-04-02 16:53:36,339 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom
2007-04-02 16:53:36,339 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom.md5 ' into 'test-snapshot-repo'...
2007-04-02 16:53:36,431 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom.md5
2007-04-02 16:53:36,431 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'myartifact-0.1-SNAPSHOT.pom.sha1' into 'test-snapshot-repo'...
2007-04-02 16:53:36,524 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom.sha1
2007-04-02 16:53:36,525 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml' into 'test-snapshot-repo'...
2007-04-02 16:53:36,848 [DEBUG] artifactory.jcr.JcrHelper   - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml
2007-04-02 16:53:36,848 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.md5' into 'test-snapshot-repo'...
2007-04-02 16:53:36,939 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml.md5
2007-04-02 16:53:36,940 [INFO ] artifactory.jcr.JcrHelper  - Importing file ' maven-metadata.xml.sha1' into 'test-snapshot-repo'...
2007-04-02 16:53:37,031 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/maven-metadata.xml.sha1
2007-04-02 16:53:37,032 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml' into 'test-snapshot-repo'...
2007-04-02 16:53:37,309 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/maven- metadata.xml
2007-04-02 16:53:37,309 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.md5' into 'test-snapshot-repo'...
2007-04-02 16:53:37,396 [DEBUG] artifactory.jcr.JcrHelper   - Imported /test-snapshot-repo/my/groupid/myartifact/maven-metadata.xml.md5
2007-04-02 16:53:37,396 [INFO ] artifactory.jcr.JcrHelper  - Importing file 'maven-metadata.xml.sha1' into 'test-snapshot-repo'...
2007-04-02 16:53:37,480 [DEBUG] artifactory.jcr.JcrHelper  - Imported /test-snapshot-repo/my/groupid/myartifact/maven-metadata.xml.sha1
/test-snapshot-repo
/test-snapshot-repo/jcr:lockIsDeep=false
/test-snapshot-repo/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/artifactory:modifiedBy=superuser
/test-snapshot-repo/jcr:created=2007-04-02T16:52:52.441+02:00
/test-snapshot-repo/jcr:lockOwner=superuser
/test-snapshot-repo/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my
/test-snapshot-repo/my/jcr:lockIsDeep=false
/test-snapshot-repo/my/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/jcr:created=2007-04-02T16:53: 35.608+02:00
/test-snapshot-repo/my/jcr:lockOwner=superuser
/test-snapshot-repo/my/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid
/test-snapshot-repo/my/groupid/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/jcr:created=2007-04-02T16:53:35.677+02:00
/test-snapshot-repo/my/groupid/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact
/test-snapshot-repo/my/groupid/myartifact/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/jcr:created=2007-04-02T16:53: 35.728+02:00
/test-snapshot-repo/my/groupid/myartifact/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:created=2007-04-02T16:53:35.782+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/jcr:primaryType=artifactory:folder
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:uuid=ce1a1561-428f-4dd5-a6df-01e6ab539b0d
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/jcr:lockIsDeep=false
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:mixinTypes=artifactory:xmlAware

/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:repoKey=test-snapshot-repo
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:created=2007-04-02T16:53:35.846+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:modifiedBy=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/artifactory:lastUpdated=2007-04-02T16:53:35.851+02:00
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/jcr:lockOwner=superuser
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact- 0.1-SNAPSHOT.pom/jcr:primaryType=artifactory:file
/test-snapshot-repo/my/groupid/myartifact/0.1-SNAPSHOT/myartifact-0.1-SNAPSHOT.pom/artifactory:name=myartifact-0.1-SNAPSHOT.pom
2007-04-02 16:53:37,651 [ERROR] webapp.servlet.RepoFilter   - org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy '/var/tmp/artifactory-uploads/myartifact-0.1-20070402.145330-1.pom'.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV" target="_blank"> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/artifactory-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/artifactory-users



Reply | Threaded
Open this post in threaded view
|

Re: artifact deployment errors

Jorg Heymans-4
On 4/3/07, Yoav Landman <[hidden email]> wrote:

For the second trace - can you provide the simplest configuration to replicate the behavior you are getting?

artifactory-config.xml :

    <serverName>Artifactory Server</serverName>
    <anonDownloadsAllowed>true</anonDownloadsAllowed>
    <backupDir>/backup/artifactory</backupDir>
    <!-- Backup every weekday at 11pm  -->
    <backupCronExp>0 0 23 * MON-FRI</backupCronExp>
    <localRepositories>
      <localRepository>
        <key>test-release-repo</key>
        <description>Test Release Repository</description>
        <handleReleases>true</handleReleases>
        <handleSnapshots>false</handleSnapshots>
        <includesPattern>my/groupid/**</includesPattern>
      </localRepository>
      <localRepository>
        <key>test-snapshot-repo</key>
        <description>Test Snapshot Repository</description>
        <handleReleases>false</handleReleases>
        <handleSnapshots>true</handleSnapshots>
        <includesPattern>my/groupid/**</includesPattern>
      </localRepository>
    </localRepositories>

 (assuming the configured remote repositories are not relevant)


pom.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://mave
n.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>my.groupid</groupId>
  <artifactId>myartifact</artifactId>
  <packaging>pom</packaging>
  <version>0.1-SNAPSHOT</version>
  <distributionManagement>
    <repository>
      <id>test-release</id>
      <url> http://host/artifactory/test-release-repo</url>
    </repository>
    <snapshotRepository>
      <id>test-snapshot</id>
      <url> http://host/artifactory/test-snapshot-repo</url>
    </snapshotRepository>
  </distributionManagement>
</project>

settings.xml:

    <server>
      <id>test-snapshot</id>
      <username>test</username>
      <password>test</password>
    </server>

    <server>
      <id>test-release</id>
      <username>test</username>
      <password>test</password>
    </server>

and an always active profile:

    <profile>
      <id>artifactory-configuration</id>
      <repositories>
        <repository>   
          <id>central</id>
          <url>http://host/artifactory/repo</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>   
          <id>snapshots</id>
          <url>http://host/artifactory/repo </url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url>http://host/artifactory/repo</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>snapshots</id>
          <url> http://host/artifactory/repo</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </pluginRepository>
      </pluginRepositories>
    </profile>

The user 'test' was created in artifactory as a non-admin user, a group 'my.groupid' was created and user 'test' is member of readers and deployers for that group.

Then just invoke mvn deploy:deploy on that pom.xml and you should get the error


HTH
Jorg
Reply | Threaded
Open this post in threaded view
|

How to deploy >10 MB artifacts?

Marziou, Gael
In reply to this post by Yoav Landman
How can I deploy a large artifact (50 MB) in my local repo in artifactory as it sets a limit to 10 MB?
 
Thanks,
 
Gael
Reply | Threaded
Open this post in threaded view
|

Re: How to deploy >10 MB artifacts?

Frederic Simon-3
First there is no limit on the size deployed via maven command and wagon. To use maven command line look:
http://www.nabble.com/Cannot-upload-files-larger-than-10MB-tf3404030.html

For the UI the next version will have a bigger limit, but anyway, I don't recommend big deployment through the Web page.

On 4/5/07, Marziou, Gael <[hidden email]> wrote:
How can I deploy a large artifact (50 MB) in my local repo in artifactory as it sets a limit to 10 MB?
 
Thanks,
 
Gael

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV" target="_blank"> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/artifactory-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/artifactory-users




--
------------------------
Frederic Simon - Senior Architect
AlphaCSP Israel
Malam Group
Phone: +972 3 5312388  * Fax: +972 3 5312512 Mobile: +972 54 954301
13 Gosh Etzion St.,Givat Shmuel 54030, Israel
http://www.alphacsp.com/ http://www.malam.com/
------------------------
Reply | Threaded
Open this post in threaded view
|

Re: How to deploy >10 MB artifacts?

Marziou, Gael
Thanks for the useful pointer.
 
Gael


From: [hidden email] [mailto:[hidden email]] On Behalf Of Frederic Simon
Sent: Thursday, April 05, 2007 7:57 PM
To: [hidden email]
Subject: Re: [Artifactory-users] How to deploy >10 MB artifacts?

First there is no limit on the size deployed via maven command and wagon. To use maven command line look:
http://www.nabble.com/Cannot-upload-files-larger-than-10MB-tf3404030.html

For the UI the next version will have a bigger limit, but anyway, I don't recommend big deployment through the Web page.

On 4/5/07, Marziou, Gael <[hidden email]> wrote:
How can I deploy a large artifact (50 MB) in my local repo in artifactory as it sets a limit to 10 MB?
 
Thanks,
 
Gael

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV" target=_blank>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/artifactory-users" target=_blank>https://lists.sourceforge.net/lists/listinfo/artifactory-users




--
------------------------
Frederic Simon - Senior Architect
AlphaCSP Israel
Malam Group
Phone: +972 3 5312388  * Fax: +972 3 5312512 Mobile: +972 54 954301
13 Gosh Etzion St.,Givat Shmuel 54030, Israel
http://www.alphacsp.com/ http://www.malam.com/
------------------------
Reply | Threaded
Open this post in threaded view
|

Re: artifact deployment errors

Jorg Heymans-4
In reply to this post by Jorg Heymans-4
Hi,

Can i confirm this as a bug then ? Shall i enter a ticket in jira ?

Jorg

On 4/3/07, Jorg Heymans <[hidden email]> wrote:
On 4/3/07, Yoav Landman <[hidden email]> wrote:

For the second trace - can you provide the simplest configuration to replicate the behavior you are getting?

artifactory-config.xml :

    <serverName>Artifactory Server</serverName>
    <anonDownloadsAllowed>true</anonDownloadsAllowed>
    <backupDir>/backup/artifactory</backupDir>
    <!-- Backup every weekday at 11pm  -->
    <backupCronExp>0 0 23 * MON-FRI</backupCronExp>
    <localRepositories>
      <localRepository>
        <key>test-release-repo</key>
        <description>Test Release Repository</description>
        <handleReleases>true</handleReleases>
        <handleSnapshots>false</handleSnapshots>
        <includesPattern>my/groupid/**</includesPattern>
      </localRepository>
      <localRepository>
        <key>test-snapshot-repo</key>
        <description>Test Snapshot Repository</description>
        <handleReleases>false</handleReleases>
        <handleSnapshots>true</handleSnapshots>
        <includesPattern>my/groupid/**</includesPattern>
      </localRepository>
    </localRepositories>

 (assuming the configured remote repositories are not relevant)


pom.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="<a href="http://maven.apache.org/POM/4.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://maven.apache.org/POM/4.0.0" xmlns:xsi=" <a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="<a href="http://maven.apache.org/POM/4.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://maven.apache.org/POM/4.0.0 <a href="http://mave" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://mave
<a href="http://n.apache.org/maven-v4_0_0.xsd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">n.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>my.groupid</groupId>
  <artifactId>myartifact</artifactId>
  <packaging>pom</packaging>
  <version>0.1-SNAPSHOT</version>
  <distributionManagement>
    <repository>
      <id>test-release</id>
      <url><a href="http://host/artifactory/test-release-repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/test-release-repo</url>
    </repository>
    <snapshotRepository>
      <id>test-snapshot</id>
      <url><a href="http://host/artifactory/test-snapshot-repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/test-snapshot-repo</url>
    </snapshotRepository>
  </distributionManagement>
</project>

settings.xml:

    <server>
      <id>test-snapshot</id>
      <username>test</username>
      <password>test</password>
    </server>

    <server>
      <id>test-release</id>
      <username>test</username>
      <password>test</password>
    </server>

and an always active profile:

    <profile>
      <id>artifactory-configuration</id>
      <repositories>
        <repository>   
          <id>central</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>   
          <id>snapshots</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/repo </url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>snapshots</id>
          <url> <a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </pluginRepository>
      </pluginRepositories>
    </profile>

The user 'test' was created in artifactory as a non-admin user, a group 'my.groupid' was created and user 'test' is member of readers and deployers for that group.

Then just invoke mvn deploy:deploy on that pom.xml and you should get the error


HTH
Jorg

Reply | Threaded
Open this post in threaded view
|

Re: artifact deployment errors

Yoav Landman
Administrator
Hi Jorg,

I followed your configuration but did not manage to replicate it with the latest Artifactory snapshot (it deploys fine).
We will release 1.2.1RC0 any day now, so perhaps you wish to test it with this version before reporting an issue.
This release also includes a fix for the fact that the error log was not very helpful since it did not include the original exception (https://www.jfrog.org/jira/browse/RTFACT-99 ), so it's another good reason to test on 1.2.1.

Yoav

On 4/10/07, Jorg Heymans <[hidden email]> wrote:
Hi,

Can i confirm this as a bug then ? Shall i enter a ticket in jira ?

Jorg


On 4/3/07, Jorg Heymans <[hidden email]> wrote:
On 4/3/07, Yoav Landman <[hidden email]> wrote:

For the second trace - can you provide the simplest configuration to replicate the behavior you are getting?

artifactory-config.xml :

    <serverName>Artifactory Server</serverName>
    <anonDownloadsAllowed>true</anonDownloadsAllowed>
    <backupDir>/backup/artifactory</backupDir>
    <!-- Backup every weekday at 11pm  -->
    <backupCronExp>0 0 23 * MON-FRI</backupCronExp>
    <localRepositories>
      <localRepository>
        <key>test-release-repo</key>
        <description>Test Release Repository</description>
        <handleReleases>true</handleReleases>
        <handleSnapshots>false</handleSnapshots>
        <includesPattern>my/groupid/**</includesPattern>
      </localRepository>
      <localRepository>
        <key>test-snapshot-repo</key>
        <description>Test Snapshot Repository</description>
        <handleReleases>false</handleReleases>
        <handleSnapshots>true</handleSnapshots>
        <includesPattern>my/groupid/**</includesPattern>
      </localRepository>
    </localRepositories>

 (assuming the configured remote repositories are not relevant)


pom.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="<a href="http://maven.apache.org/POM/4.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://maven.apache.org/POM/4.0.0" xmlns:xsi=" <a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="<a href="http://maven.apache.org/POM/4.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://maven.apache.org/POM/4.0.0 <a href="http://mave" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://mave
<a href="http://n.apache.org/maven-v4_0_0.xsd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">n.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>my.groupid</groupId>
  <artifactId>myartifact</artifactId>
  <packaging>pom</packaging>
  <version>0.1-SNAPSHOT</version>
  <distributionManagement>
    <repository>
      <id>test-release</id>
      <url><a href="http://host/artifactory/test-release-repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/test-release-repo</url>
    </repository>
    <snapshotRepository>
      <id>test-snapshot</id>
      <url><a href="http://host/artifactory/test-snapshot-repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/test-snapshot-repo</url>
    </snapshotRepository>
  </distributionManagement>
</project>

settings.xml:

    <server>
      <id>test-snapshot</id>
      <username>test</username>
      <password>test</password>
    </server>

    <server>
      <id>test-release</id>
      <username>test</username>
      <password>test</password>
    </server>

and an always active profile:

    <profile>
      <id>artifactory-configuration</id>
      <repositories>
        <repository>   
          <id>central</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>   
          <id>snapshots</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/repo </url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>snapshots</id>
          <url> <a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </pluginRepository>
      </pluginRepositories>
    </profile>

The user 'test' was created in artifactory as a non-admin user, a group 'my.groupid' was created and user 'test' is member of readers and deployers for that group.

Then just invoke mvn deploy:deploy on that pom.xml and you should get the error


HTH
Jorg


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV" target="_blank"> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/artifactory-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/artifactory-users


Reply | Threaded
Open this post in threaded view
|

Re: artifact deployment errors

Jorg Heymans-4

OK cool, i'll test with RC0 when it comes out then.

Cheers,
Jorg

On 4/10/07, Yoav Landman <[hidden email]> wrote:
Hi Jorg,

I followed your configuration but did not manage to replicate it with the latest Artifactory snapshot (it deploys fine).
We will release 1.2.1RC0 any day now, so perhaps you wish to test it with this version before reporting an issue.
This release also includes a fix for the fact that the error log was not very helpful since it did not include the original exception (<a href="https://www.jfrog.org/jira/browse/RTFACT-99" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> https://www.jfrog.org/jira/browse/RTFACT-99 ), so it's another good reason to test on 1.2.1.

Yoav

On 4/10/07, Jorg Heymans <[hidden email]> wrote:
Hi,

Can i confirm this as a bug then ? Shall i enter a ticket in jira ?

Jorg


On 4/3/07, Jorg Heymans <[hidden email]> wrote:
On 4/3/07, Yoav Landman <[hidden email]> wrote:

For the second trace - can you provide the simplest configuration to replicate the behavior you are getting?

artifactory-config.xml :

    <serverName>Artifactory Server</serverName>
    <anonDownloadsAllowed>true</anonDownloadsAllowed>
    <backupDir>/backup/artifactory</backupDir>
    <!-- Backup every weekday at 11pm  -->
    <backupCronExp>0 0 23 * MON-FRI</backupCronExp>
    <localRepositories>
      <localRepository>
        <key>test-release-repo</key>
        <description>Test Release Repository</description>
        <handleReleases>true</handleReleases>
        <handleSnapshots>false</handleSnapshots>
        <includesPattern>my/groupid/**</includesPattern>
      </localRepository>
      <localRepository>
        <key>test-snapshot-repo</key>
        <description>Test Snapshot Repository</description>
        <handleReleases>false</handleReleases>
        <handleSnapshots>true</handleSnapshots>
        <includesPattern>my/groupid/**</includesPattern>
      </localRepository>
    </localRepositories>

 (assuming the configured remote repositories are not relevant)


pom.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="<a href="http://maven.apache.org/POM/4.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://maven.apache.org/POM/4.0.0" xmlns:xsi=" <a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="<a href="http://maven.apache.org/POM/4.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://maven.apache.org/POM/4.0.0 <a href="http://mave" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://mave
<a href="http://n.apache.org/maven-v4_0_0.xsd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">n.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>my.groupid</groupId>
  <artifactId>myartifact</artifactId>
  <packaging>pom</packaging>
  <version>0.1-SNAPSHOT</version>
  <distributionManagement>
    <repository>
      <id>test-release</id>
      <url><a href="http://host/artifactory/test-release-repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/test-release-repo</url>
    </repository>
    <snapshotRepository>
      <id>test-snapshot</id>
      <url><a href="http://host/artifactory/test-snapshot-repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/test-snapshot-repo</url>
    </snapshotRepository>
  </distributionManagement>
</project>

settings.xml:

    <server>
      <id>test-snapshot</id>
      <username>test</username>
      <password>test</password>
    </server>

    <server>
      <id>test-release</id>
      <username>test</username>
      <password>test</password>
    </server>

and an always active profile:

    <profile>
      <id>artifactory-configuration</id>
      <repositories>
        <repository>   
          <id>central</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>   
          <id>snapshots</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://host/artifactory/repo </url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url><a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo </url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>snapshots</id>
          <url> <a href="http://host/artifactory/repo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host/artifactory/repo</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </pluginRepository>
      </pluginRepositories>
    </profile>

The user 'test' was created in artifactory as a non-admin user, a group 'my.groupid' was created and user 'test' is member of readers and deployers for that group.

Then just invoke mvn deploy:deploy on that pom.xml and you should get the error


HTH
Jorg


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
<a href="https://lists.sourceforge.net/lists/listinfo/artifactory-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.sourceforge.net/lists/listinfo/artifactory-users



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV" target="_blank"> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/artifactory-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/artifactory-users