You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Julien CARSIQUE <jc...@nuxeo.com> on 2007/11/27 21:04:21 UTC

repository and database

Hi,

What's the difference between repositories scanning cron and database 
update cron ?
Is there some recommended values ?

Could you give me a cron example please ? I already asked and you 
answered me to see quartz but there is two different cron patterns using 
the web interface; even I know cron, I don't understand the 6th value 
for repositories and not for database. Usually it's about a user but 
here I don't know and didn't find doc in quartz about how you use the 
library.


Last, I currently have a strange issue happening sometimes (why I 
suspect the scanning process) : maven can't find some artifacts whereas 
they are present in the filesystem and findable using the web ui.
In archiva logs, I can lines saying it didn't find the wanted artifact 
(and many many others). Could this be link to a misconfigured cron ?

Thanks,
Julien

Re: repository and database

Posted by Maria Odea Ching <oc...@exist.com>.
Julien CARSIQUE wrote:
> More information : deleting the local repository (only the groupId) 
> fix the problem, artifact is then correctly downloaded. Is it due to 
> corruption during download or what else ?
> This wasn't often happening until upgrade to beta-4 and then 1.0; now 
> this error seems to occur more often.

Could you post some log snippets from this error you encountered?

>
> Julien CARSIQUE a écrit :
>> Hi,
>>
>> What's the difference between repositories scanning cron and database 
>> update cron ?
>> Is there some recommended values ?
>>
>> Could you give me a cron example please ? I already asked and you 
>> answered me to see quartz but there is two different cron patterns 
>> using the web interface; even I know cron, I don't understand the 6th 
>> value for repositories and not for database. Usually it's about a 
>> user but here I don't know and didn't find doc in quartz about how 
>> you use the library.

Hmm.. I think both the repository scanning cron and the database cron 
have the same number of values (up to the 6th) by default. Actually, a 
valid cron expression should have 6 to 7 fields. I'm not certain about 
this but I think I remember there was a jira before that one of the 
default cron expressions set were invalid, maybe the database cron 
expression for your configuration was still a leftover from the old 
archiva having that issue :)

>>
>>
>> Last, I currently have a strange issue happening sometimes (why I 
>> suspect the scanning process) : maven can't find some artifacts 
>> whereas they are present in the filesystem and findable using the web 
>> ui.
>> In archiva logs, I can lines saying it didn't find the wanted 
>> artifact (and many many others). Could this be link to a 
>> misconfigured cron ?
>>
>> Thanks,
>> Julien
>

Thanks,
Deng


Re: repository and database

Posted by Julien CARSIQUE <jc...@nuxeo.com>.
Perfect, thanks :-)

Alex Mayorga Adame a écrit :
> Julien,
>
> Might this help on the Quartz
> http://wiki.opensymphony.com/display/QRTZ1/TutorialLesson6 ?
>
> Best luck,
> Alex
>   



Re: repository and database

Posted by Alex Mayorga Adame <al...@yahoo.com>.
Julien,

Might this help on the Quartz
http://wiki.opensymphony.com/display/QRTZ1/TutorialLesson6 ?

Best luck,
Alex
-- 
View this message in context: http://www.nabble.com/repository-and-database-tf4884104.html#a13979600
Sent from the archiva-users mailing list archive at Nabble.com.


Re: repository and database

Posted by Julien CARSIQUE <jc...@nuxeo.com>.
More information : deleting the local repository (only the groupId) fix 
the problem, artifact is then correctly downloaded. Is it due to 
corruption during download or what else ?
This wasn't often happening until upgrade to beta-4 and then 1.0; now 
this error seems to occur more often.

Julien CARSIQUE a écrit :
> Hi,
>
> What's the difference between repositories scanning cron and database 
> update cron ?
> Is there some recommended values ?
>
> Could you give me a cron example please ? I already asked and you 
> answered me to see quartz but there is two different cron patterns 
> using the web interface; even I know cron, I don't understand the 6th 
> value for repositories and not for database. Usually it's about a user 
> but here I don't know and didn't find doc in quartz about how you use 
> the library.
>
>
> Last, I currently have a strange issue happening sometimes (why I 
> suspect the scanning process) : maven can't find some artifacts 
> whereas they are present in the filesystem and findable using the web ui.
> In archiva logs, I can lines saying it didn't find the wanted artifact 
> (and many many others). Could this be link to a misconfigured cron ?
>
> Thanks,
> Julien