Hi, Eli.  Thanks for the reply.

I just tried it using curl and it still fails.

$ curl -X PUT --data-binary
/cygdrive/c/projects/python/artifactory/addLicenseInfo/ivy.xml -u
[myname]:[mypassword] -i
http://repo1:8081/artifactory/ext-releases-local2/org/apache/ant/ant-contrib/1.0b3/ivy.xml
HTTP/1.1 500 Failed to save resource
'ext-releases-local2:org/apache/ant/ant-contrib/1.0b3/ivy.xml'.
Server: Artifactory/2.3.1
Content-Length: 0

I am using Artifactory version 2.3.1 (rev. 12714)

snippet from artifactory.log:
-----
2011-02-22 10:16:46,754 [pool-1-thread-20] [WARN ]
(o.a.c.x.EntityResolvingContentHandler:122) - Received the following error
during xml parsing: 'Content is not allowed in prolog.'.
2011-02-22 10:16:46,754 [pool-1-thread-20] [WARN ]
(o.a.c.x.EntityResolvingContentHandler:122) - Received the following error
during xml parsing: 'Reference is not allowed in prolog.'.
2011-02-22 10:16:46,755 [pool-1-thread-20] [WARN ]
(o.a.j.JcrServiceImpl:870) - Ignoring bad XML stream while importing
'/repositories/ext-releases-local2/org/apache/ant/ant-contrib/1.0b3/ivy.xml/artifactory:xml':
processing event: -1.
2011-02-22 10:16:46,791 [pool-1-thread-20] [ERROR] (o.a.w.s.RepoFilter :171)
- Sending HTTP error code 500: Failed to save resource
'ext-releases-local2:org/apache/ant/ant-contrib/1.0b3/ivy.xml'.
-----

snippet from request.log:
-----
20110222101646|461|REQUEST|192.168.128.248|jerry.maloney|PUT|/ext-releases-local2/org/apache/ant/ant-contrib/1.0b3/ivy.xml|HTTP/1.1|500|62
-----


I don't recall getting the log errors "Content is not allowed in prolog" and
"Reference is not allowed in prolog" the last time I tried it (using
python).

Thanks,
Jerry


Eli Givoni-2 wrote:
> 
> If you still having trouble then please specify:
> 1. Which client are you using?
> 2. What is the exact command you are running?
> 3. What version of Artifactory are you using?
> 4. Snippet of artifactory.log +request.log from when the deployment is
> rejected, You can copy it from the UI Admin->Advanced->System
> Logs->artifactory.log/request.log
> 

-- 
View this message in context: 
http://old.nabble.com/Failure-deploying-artifact-through-API-tp30828813p30986701.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to