Hi Eli
The steps mentioned in the JIRA-task are nearly equal to mine.
The only different I can think about would be an additional step 7, but i guess
this doesn’t really matter.
Regards,
Chris
To reproduce:
Started with artifactory version 2.2.3 & maven 3.0
1. Set Max Unique Snapshots on a unique repository to 3.
2. Deploy a multi module build 3 times.
3. Change the snapshots policy to non-unique.
4. Clean up your local repo.
5. Deploy once more.
6. Now in every folder you should have three unique builds and one non-unique.
But the build number on the maven-metadata.xml
(in Artifactory and in the local repo) is set to 1 because of the none unique
deployment.
7. update artifactory from version 2.2.3 to 2.3.1
8. Set back the snapshot policy to unique this time set the Max Unique
Snapshots to 1.
9. Deploy the build again, maven is setting the build number to 2 but build 2
is supposed to be cleaned.
10. Error 500 is thrown.
Von: Eli Givoni [via Artifactory]
[mailto:[email protected]]
Gesendet: Dienstag, 30. November 2010 15:41
An: Moser, Christian
Betreff: Re: artifactory 2.3.1
Hi Chris,
The only way we were able to reproduce your issue is as mentioned in this JIRA
<https://issues.jfrog.org/jira/browse/RTFACT-3798>
Can you please point out if that matches your scenario?, If not can you specify
exactly your actions.
Thanks,
Eli
The Artifactory team
On Tue, Nov 30, 2010 at 1:54 PM, Eli Givoni <[hidden email]> wrote:
Hi Chris,
I am glad you manged to get back on track, we will try to reproduce this issue
locally and will post our findings.
Thanks
Eli
The Artifactory team
On Tue, Nov 30, 2010 at 8:31 AM, cmo <[hidden email]> wrote:
Hi
Yes, there were 5 timestamped snapshots in the repository, rentention
was set to 5. I didn’t try it with 4, but with 2, didn’t work neither. The
artifacts were deployed from CL with maven 3.0.1.
There’s an important resason to use unique snapshots, maven 3.0.x
doesn’t work properly with non-unique snapshots at all.. took me several work
days to figure out..
It seems like uploading works again, after those unnecessary artifacts
were removed from the repository by artifactory.
I guess artifactory has problems when it has to delete a „higher“
number of artifacts before an upload can take place.
Regards,
Chris
Von: Frederic Simon [via Artifactory] [mailto:[hidden email]
<http://user/SendEmail.jtp?type=node&node=5787174&i=0> ]
Gesendet: Dienstag, 30. November 2010 05:33
An: Moser, Christian
Betreff: Re: artifactory 2.3.1
Hi,
Looking at the log it looks like there was more than 1 snapshots in the
repository before the new deployment getting 500 happen.
- Did you try to use a retention of 4 or 5 before setting it to 1?
- Is there a reason not to use non-unique and avoid the retention
policy? Setting to non-unique will keep only one XX-SNAPSHOT version for your
pom and jar file without retention calculation. This will work better.
- Did you use one of our CI Server integration plugin (Hudson,
TeamCity or Bamboo)Â to do the deployment?
Regards,
Fred.
On Mon, Nov 29, 2010 at 11:49 AM, cmo <[hidden email]
<http://user/SendEmail.jtp?type=node&node=5787018&i=0&by-user=t> > wrote:
I got a 500 error quite frequently. My settings for the snapshot
repository are unique and max number of  snapshots is set to 1.
This is really annoying..
Â
2010-11-29 17:13:50,708 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:269) - Reloading configuration...
2010-11-29 17:13:50,708 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:260) - Saving new configuration in storage...
2010-11-29 17:13:50,786 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:264) - New configuration saved.
2010-11-29 17:13:50,817 [TP-Processor5] [INFO ]
(o.a.b.BackupServiceImpl:158) - Backup activated with cron expression '0 0
13,19 * * ?'.
2010-11-29 17:13:50,817 [TP-Processor5] [INFO ]
(o.a.b.BackupServiceImpl:158) - Backup activated with cron expression '0 0 5 *
* ?'.
2010-11-29 17:13:50,817 [TP-Processor5] [INFO ]
(o.a.s.ArtifactoryApplicationContext:343) - Artifactory application context is
ready.
2010-11-29 17:13:50,817 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:284) - Configuration reloaded.
2010-11-29 17:13:58,820 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:269) - Reloading configuration...
2010-11-29 17:13:58,820 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:260) - Saving new configuration in storage...
2010-11-29 17:13:58,882 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:264) - New configuration saved.
2010-11-29 17:13:58,882 [TP-Processor5] [INFO ]
(o.a.b.BackupServiceImpl:158) - Backup activated with cron expression '0 0
13,19 * * ?'.
2010-11-29 17:13:58,882 [TP-Processor5] [INFO ]
(o.a.b.BackupServiceImpl:158) - Backup activated with cron expression '0 0 5 *
* ?'.
2010-11-29 17:13:58,882 [TP-Processor5] [INFO ]
(o.a.s.ArtifactoryApplicationContext:343) - Artifactory application context is
ready.
2010-11-29 17:13:58,882 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:284) - Configuration reloaded.
2010-11-29 17:14:14,810 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:269) - Reloading configuration...
2010-11-29 17:14:14,810 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:260) - Saving new configuration in storage...
2010-11-29 17:14:14,857 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:264) - New configuration saved.
2010-11-29 17:14:14,872 [TP-Processor5] [INFO ]
(o.a.b.BackupServiceImpl:158) - Backup activated with cron expression '0 0
13,19 * * ?'.
2010-11-29 17:14:14,872 [TP-Processor5] [INFO ]
(o.a.b.BackupServiceImpl:158) - Backup activated with cron expression '0 0 5 *
* ?'.
2010-11-29 17:14:14,872 [TP-Processor5] [INFO ]
(o.a.s.ArtifactoryApplicationContext:343) - Artifactory application context is
ready.
2010-11-29 17:14:14,872 [TP-Processor5] [INFO ]
(o.a.c.CentralConfigServiceImpl:284) - Configuration reloaded.
2010-11-29 17:15:17,866 [TP-Processor5] [INFO ]
(o.a.r.i.UniqueSnapshotsCleanerInterceptor:87) - Removed old unique snapshot
'mnet/depmgmt-libs/4.0.0-SNAPSHOT/depmgmt-libs-4.0.0-20101109.131739-1.pom'.
2010-11-29 17:15:17,991 [TP-Processor5] [INFO ]
(o.a.r.i.UniqueSnapshotsCleanerInterceptor:87) - Removed old unique snapshot
'mnet/depmgmt-libs/4.0.0-SNAPSHOT/depmgmt-libs-4.0.0-20101109.132243-2.pom'.
2010-11-29 17:15:17,991 [TP-Processor5] [INFO ]
(o.a.r.i.UniqueSnapshotsCleanerInterceptor:87) - Removed old unique snapshot
'mnet/depmgmt-libs/4.0.0-SNAPSHOT/depmgmt-libs-4.0.0-20101129.161525-2.pom'.
2010-11-29 17:15:18,100 [TP-Processor5] [INFO ]
(o.a.r.i.UniqueSnapshotsCleanerInterceptor:87) - Removed old unique snapshot
'mnet/depmgmt-libs/4.0.0-SNAPSHOT/depmgmt-libs-4.0.0-20101109.132601-3.pom'.
2010-11-29 17:15:18,147 [TP-Processor5] [ERROR] (o.a.w.s.RepoFilterÂ
:171) - Sending HTTP error code 500: Failed to save resource
'pcsoft.snapshots:mnet/depmgmt-libs/4.0.0-SNAPSHOT/depmgmt-libs-4.0.0-20101129.161525-2.pom'.
2010-11-29 17:15:46,602 [TP-Processor5] [INFO ]
(o.a.r.i.UniqueSnapshotsCleanerInterceptor:87) - Removed old unique snapshot
'mnet/depmgmt-libs/4.0.0-SNAPSHOT/depmgmt-libs-4.0.0-20101109.131739-1.pom'.
2010-11-29 17:15:46,617 [TP-Processor5] [INFO ]
(o.a.r.i.UniqueSnapshotsCleanerInterceptor:87) - Removed old unique snapshot
'mnet/depmgmt-libs/4.0.0-SNAPSHOT/depmgmt-libs-4.0.0-20101109.132243-2.pom'.
-colorreagentconfig-if-4.0.0-20101109.150643-1.pom'.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
________________________________
View message @ http://forums.jfrog.org/artifactory-2-3-1-tp5785062p5788302.html
To start a new topic under Artifactory - Users, email
[email protected]
To unsubscribe from Artifactory - Users, click here
<http://forums.jfrog.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2377369&code=Y21vQG1ldHJvaG0uY29tfDIzNzczNjl8LTI3NDc4ODYwMg==>
.
--
View this message in context:
http://forums.jfrog.org/artifactory-2-3-1-tp5785062p5790846.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users