Sent.  Thanks.

From: Yossi Shaul <[email protected]<mailto:[email protected]>>
Reply-To: 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Date: Thu, 22 Dec 2011 15:55:25 -0700
To: 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Artifactory-users] Deploy failures in 2.4.2

JDK looks ok, please send artifactory.log to 
[email protected]<mailto:[email protected]>. Maybe the log will give us a hint.

Yossi

On Thu, Dec 22, 2011 at 20:38, Yi, Richard 
<[email protected]<mailto:[email protected]>> wrote:
Hi Yossi,

Thanks for your response.  Artifactory has full permissions on all the 
/opt/artifactory/data/*.

To answer your other questions:
1) I've tried deploying an artifact via the gui manually and also through our 
usual bamboo builds (which obviously fails).
I haven't been able to upload consistently.

2) I'm using the following jdk:
java version "1.6.0_10-rc"
Java(TM) SE Runtime Environment (build 1.6.0_10-rc-b27)
Java HotSpot(TM) Client VM (build 11.0-b14, mixed mode, sharing)

3) We do not use NFS.  Yes, /opt/artifactory/data/tmp and 
/opt/artifactory/data/cache/ are on the same device.


The requirements state that JDK 1.6 and above can run artifactory, but 
wondering if that would cause the problems I'm facing.  Thanks for your help.

Rick



From: Yossi Shaul <[email protected]<mailto:[email protected]>>
Reply-To: 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Date: Thu, 22 Dec 2011 02:41:45 -0700
To: 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Artifactory-users] Deploy failures in 2.4.2

Hi Rick,

First please make sure the process running Artifactory has full permissions on 
all the /opt/artifactory/data/ and sub directories.

If this is not the issue, please answer the following questions:

Do you get this error on any upload or just occasionally?
Which JDK are you using?
Do you use NFS? The directories '/opt/artifactory/data/tmp/' and 
'/opt/artifactory/data/cache/' are on the same device?

Yossi

On Thu, Dec 22, 2011 at 03:55, ryi <[email protected]<mailto:[email protected]>> wrote:
I've upgraded artifactory to 2.4.2 and initially everything seemed to be
working.  But I am getting repository errors such as the following:

2011-12-21 16:31:26,469 [pool-1-thread-17] [INFO ]
(o.a.e.UploadServiceImpl:178) - Deploy to
'libs-releases-local:com/llnw/mms/mms/2/mms-2.pom' Cont
ent-Length: 4360
2011-12-21 16:31:26,681 [pool-1-thread-17] [WARN ]
(o.a.j.j.ArtifactoryDataStore:619) - Can not insert new record: File move
for id de5a0dadafa69515
75089840d7cb5d2e068709b9 from
/opt/artifactory/data/tmp/prefilestore/dbRecord6803305607590156451.tmp to
/opt/artifactory/data/cache/de/de5a0dadafa69
51575089840d7cb5d2e068709b9 failed!
2011-12-21 16:31:26,714 [pool-1-thread-17] [ERROR] (o.a.w.s.RepoFilter
:123) - Sending HTTP error code 500: Failed to save resource 'libs-releases-
local:com/llnw/mms/mms/2/mms-2.pom'.
2011-12-21 16:44:50,325 [pool-1-thread-26] [INFO ]
(o.a.e.UploadServiceImpl:178) - Deploy to
'libs-releases-local:com/llnw/mms/mms/2/mms-2.pom' Cont
ent-Length: 4360
2011-12-21 16:44:50,340 [pool-1-thread-26] [WARN ]
(o.a.j.j.ArtifactoryDataStore:619) - Can not insert new record: Cannot
insert new record Artifact
oryDbDataRecord{id=de5a0dadafa6951575089840d7cb5d2e068709b9, length=4360,
lastModified=Wed Dec 21 16:31:26 PST 2011, lastAccessTime=1988244680794756
, state=IN_ERROR, readyToMarkForDeletion=false, readyToBeRemoved=false,
nbReader=0} since the old one is in invalid state
2011-12-21 16:44:50,371 [pool-1-thread-26] [WARN ]
(o.a.w.w.p.d.s.DeployArtifactPanel:481) - Failed to deploy artifact.
java.lang.RuntimeException: Failed to save resource
'libs-releases-local:com/llnw/mms/mms/2/mms-2.pom'.
       at
org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:653)
[artifactory-core-2.4.2.jar:na]
       at
org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:391)
[artifactory-core-2.4.2.jar:na]
       at
org.artifactory.engine.UploadServiceImpl.doProcess(UploadServiceImpl.java:241)
[artifactory-core-2.4.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[na:1.6.0_26]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[na:1.6.0_26]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_26]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26]
       at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
[spring-aop-3.0.6.RELEA
SE.jar:3.0.6.RELEASE]
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
[spring-aop-3.0.6.RELEASE.jar:3
.0.6.RELEASE]
       at
org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67)
[artifactory-core-2.4.2.jar:na]
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[spring-aop-3.0.6.RELEASE.jar:3
.0.6.RELEASE]
       at
org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:122)
[artifactory-jcr-storage-2.4.2.jar:na]
       at
org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:48)
[artifactory-jcr-storage-2.4.2.jar:na]
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[spring-aop-3.0.6.RELEASE.jar:3
.0.6.RELEASE]
       at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
[spring-aop-3.0.6.RELEASE.jar:3.0.6.RELEASE]
       at $Proxy39.doProcess(Unknown Source) [na:na]
       at
org.artifactory.engine.UploadServiceImpl.process(UploadServiceImpl.java:165)
[artifactory-core-2.4.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[na:1.6.0_26]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[na:1.6.0_26]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_26]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26]



Dead in the water for builds.  Any help in cleaning up the invalid state of
the repository would be greatly appreciated.  Thanks.

Rick

--
View this message in context: 
http://forums.jfrog.org/Deploy-failures-in-2-4-2-tp7117283p7117283.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. 
appdeveloper.intel.com/join<http://appdeveloper.intel.com/join>
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Artifactory-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. 
appdeveloper.intel.com/join<http://appdeveloper.intel.com/join>
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Artifactory-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to