Thank you for the quick answer. First I removed and added my user id back,
then I upgraded to 2.0.8. The result is different but not better:

C:\workspace\geodesy\build.xml:129: impossible to publish artifacts for
org.mitre.itf#geodesy;1.9.6: java.io.IOException: PUT operation to URL
http://maven-proxy/artifactory/libs-releases-local/org/mitre/itf/geodesy/1.9.6/geodesy-1.9.6.jar
failed with status code 404: Not Found

My user is an admin and also is in a group that has permissions to publish
to libs-releases-local. This has, of course, worked in the past. 

Doug


Yoav Landman-3 wrote:
> 
> Hi,
> 
> Can you try doing the following:
> 
> - If deployment is not done anonymously - delete and recreate the user
> used
> for deployment, or create a new user and use his details for deploying
> - Upgrade to 2.0.8
> 
> Incidentally, the ivy buildnumber task doesn't seem to work properly with
> artifactory - probably their bug since it looks like everything is proper
> in the repository.
> 
> Thanks,
> 
> Yoav
> 
> On Thu, Sep 17, 2009 at 12:28 AM, DSR1 <[email protected]> wrote:
> 
>>
>> We're publishing to artifactory via ant and ivy using the ibiblio
>> resolver.
>> Things have been working fine in the past, but now it is failing with the
>> following error message:
>>
>> "failed with status code 500: Node type: nt:unstructured has no
>> descriptor."
>>
>> which seems related to the JCR store. We are running artifactory behind
>> an
>> apache server, but this fails with direct access to the open port as well
>> as
>> when connecting via Apache. Publishing was working prior to this. We have
>> had a couple of failures due to the file system filling up with backups
>> but
>> there's plenty of room at this point.
>>
>> The ant task is:
>>
>>        <target name="publish" depends="pom, javadoc, sourcejar"
>>                description="Publish directly to a repository">
>>                <echo>Publishing revision ${ivy.new.revision}</echo>
>>                <ivy:publish resolver="maven-proxy"
>> revision="${ivy.new.revision}"
>> update="true" overwrite="true">
>>                        <artifacts pattern="rel/[artifact].[ext]" />
>>                        <artifacts pattern="rel/jars/[artifact].[ext]" />
>>                </ivy:publish>
>>        </target>
>>
>> The relevant resolver is:
>>
>>                <ibiblio name="maven-proxy" namespace="m2"
>>                        root="
>> http://maven-proxy/artifactory/libs-releases-local";
>> m2compatible="true" />
>>
>> The console log shows the following interesting exception (partial stack
>> shown):
>>
>> 2009-09-16 17:17:23,215 [ERROR] (o.m.log             )
>>
>> /artifactory/libs-releases-local/org/mitre/itf/giscore/0.4.11/giscore-0.4.11.jar
>> org.apache.jackrabbit.ocm.exception.IncorrectPersistentClassException:
>> Node
>> type: nt:unstructured has no descriptor.
>>        at
>>
>> org.apache.jackrabbit.ocm.mapper.impl.AbstractMapperImpl.getClassDescriptorByNodeType(AbstractMapperImpl.java:188)
>> [jackrabbit-ocm-1.4-jcr-1385.jar:na]
>>        at
>>
>> org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.getObject(ObjectConverterImpl.java:295)
>> [jackrabbit-ocm-1.4-jcr-1385.jar:na]
>>        at
>>
>> org.apache.jackrabbit.ocm.manager.impl.ObjectContentManagerImpl.getObject(ObjectContentManagerImpl.java:264)
>> [jackrabbit-ocm-1.4-jcr-1385.jar:na]
>>        at
>>
>> org.artifactory.security.JcrUserGroupManager.loadUserByUsername(JcrUserGroupManager.java:95)
>> [artifactory-core-2.0.6.jar:na]
>>        at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
>> [na:na]
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> [na:1.6.0_15]
>>        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_15]
>>        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.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
>> [spring-tx-2.5.5.jar:2.5.5]
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>> [spring-aop-2.5.5.jar:2.5.5]
>>        at
>>
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>> [spring-aop-2.5.5.jar:2.5.5]
>>        at $Proxy42.loadUserByUsername(Unknown Source) [na:na]
>>
>> How broken is our server and how might I fix this? Thoughts gratefully
>> accepted.
>>
>> Doug
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Publishing-fails-with-500-error-tp25480947p25480947.html
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register
>> now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9&#45;12, 2009. Register
> now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Publishing-fails-with-500-error-tp25480947p25491960.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to