« Return to Thread: Record not found causes download to fail

Re: Re cord not found causes download to fail

by Yoav Landman :: Rate this Message:

Reply to Author | View in Thread

After you upgrade, let it run for at least 2 hours for full healing to take place (it needs to pass 2 garbage collection cycles). Everything should be fine after.

Thanks,

Yoav

On Wed, Jun 24, 2009 at 9:48 AM, Frederic Simon <freds@...> wrote:
We implemented an auto healing process in 2.0.5 for this issue.
Can you upgrade to 2.0.6?


On Wed, Jun 24, 2009 at 6:02 AM, dlucek <dlucek@...> wrote:

This is not related to the garbage collector issue.  I have a valid artifact
on a http server.  I can download the artifact from my web browser.
Artifactory is setup to use a remote repository for this http server URL.  I
can download other artifacts from this remote repository but the single
artifact cannot  be downloaded and every time I get this exception.
 I tried to delete the artifact via the web interface but then the interface
crashes with an "internal error' which is caused by the same exception.
 Is there a way to completely refresh the database with the new artifact
contents?
I tried deleting the whole remote repository configuration but that did not
delete any database records.
I am running artifactory 2.0.3.

Thanks

--

org.apache.jackrabbit.core.data.DataStoreException: Record not found:
5f5c6312f8c095de42dd34c281f510115f7a4213
       at
org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl.getRecord(ArtifactoryDbDataStoreImpl.java:535)
[artifactory-upd
ate-2.0.3.jar:na]
       at
org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBInDataStore.java:136)
[jackrabbit-core-1.4.9.jar:na]
       at
org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100)
[jackrabbit-core-1.4.9.jar:na]
       at
org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:366)
[jackrabbit-core-1.4.9.jar:na]
       at
org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:469)
[jackrabbit-core-1.4.9.jar:na]
       at
org.artifactory.jcr.md.MetadataServiceImpl.getRawXmlStream(MetadataServiceImpl.java:434)
[artifactory-core-2.0.3.jar:na]
       at
org.artifactory.jcr.md.MetadataServiceImpl.writeRawXmlStream(MetadataServiceImpl.java:185)
[artifactory-core-2.0.3.jar:na
]
       at
org.artifactory.jcr.md.MetadataServiceImpl.getXmlMetadata(MetadataServiceImpl.java:130)
[artifactory-core-2.0.3.jar:na]
       at
org.artifactory.jcr.md.MetadataServiceImpl.getMetadataValue(MetadataServiceImpl.java:328)
[artifactory-core-2.0.3.jar:na]
       at
org.artifactory.jcr.md.MetadataServiceImpl.getXmlMetadataObject(MetadataServiceImpl.java:120)
[artifactory-core-2.0.3.jar
:na]
       at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
[na:na]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_12]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_12]
       at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
[spring-aop-2.5.5.jar:2.5.5]
       at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
[spring-aop-2.5.5.jar:2.5.5]
       at $Proxy20.getXmlMetadataObject(Unknown Source) [na:na]
       at
org.artifactory.jcr.fs.JcrFsItem.getXmlMetdataObject(JcrFsItem.java:215)
[artifactory-core-2.0.3.jar:na]
       at
org.artifactory.jcr.fs.JcrFile.setAdditionalInfoFields(JcrFile.java:133)
[artifactory-core-2.0.3.jar:na]
       at
org.artifactory.jcr.fs.JcrFsItem.setInfoFields(JcrFsItem.java:261)
[artifactory-core-2.0.3.jar:na]
       at org.artifactory.jcr.fs.JcrFsItem.<init>(JcrFsItem.java:149)
[artifactory-core-2.0.3.jar:na]
       at org.artifactory.jcr.fs.JcrFile.<init>(JcrFile.java:110)
[artifactory-core-2.0.3.jar:na]
       at
org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:686)
[artifactory-core-2.0.3.jar:na]
       at
org.artifactory.jcr.JcrServiceImpl.getFsItem(JcrServiceImpl.java:342)
[artifactory-core-2.0.3.jar:na]
       at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
[na:na]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_12]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_12]
       at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
[spring-aop-2.5.5.jar:2.5.5]
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
[spring
-aop-2.5.5.jar:2.5.5]
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
[spring-aop-2.5
.5.jar:2.5.5]
       at
org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81)
[artifactory-core-2.0.3.jar:na]

--
View this message in context: http://www.nabble.com/Record-not-found-causes-download-to-fail-tp24177900p24177900.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users



--
JFrog Ltd
5 Habonim st., P.O.Box 8187
Netanya, Israel 42504.
Tel: +972 9 8941444    
Fax: +972 9 8659977
http://www.jfrog.org/
http://freddy33.blogspot.com/
http://nothingisinfinite.blogspot.com/

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

_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users



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

_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 « Return to Thread: Record not found causes download to fail