archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Not able to downdoad metadata.xml from archiva
Date Fri, 23 Jan 2009 02:09:01 GMT
This what browser sees

 * /com/fortinet/fortidb/maven (Parent)

    * maven-eco-plugin
    * maven-metadata-releases.xml
    * maven-metadata.xml
    * maven-metadata.xml.md5
    * maven-metadata.xml.sha1
    * plugins-parent


maven-metadata.xml looks correct

maven-metadata-releases.xml  is empty and is automatically recreated.
when click on, here is error

XML Parsing Error: no element found
Location: http://host:port/archiva/repository/releases/com/fortinet/fortidb/maven/plugins/maven-metadata-releases.xml
Line Number 1, Column 1:
^

(releases is my archiva release group )

please not that removed the real host:port

-D


On Thu, Jan 22, 2009 at 6:01 PM, Dan Tran <dantran@gmail.com> wrote:
> not sure what you mean,
>
> I use the browser, it can see the directory's content of groupId
> com/fortinet/fortidb/maven/plugins
>
> when i click on the metadata.xml file on it, the browser sees exception
>
> So what directory you are talking about?
>
> -Dan
>
>
>
> On Thu, Jan 22, 2009 at 5:55 PM, James William Dumay
> <james@atlassian.com> wrote:
>> Can I also get a copy of the directory it was downloading to?
>>
>> Sent from my iPhone
>>
>> On 23/01/2009, at 10:40 AM, Dan Tran <dantran@gmail.com> wrote:
>>
>>> I am using 1.1.3,
>>>
>>> Will file an issue. Is there any thing else you want me collect?
>>>
>>> -Dan
>>>
>>>
>>>
>>> On Thu, Jan 22, 2009 at 3:32 PM, James William Dumay
>>> <james@atlassian.com> wrote:
>>>>
>>>> Hey Dan,
>>>> Archiva is trying to merge the metadata file with the existing metadata
>>>> on
>>>> your file system (if there is any).
>>>>
>>>> What version of Archiva is this? From memory, the repository metadata
>>>> writer
>>>> class got a good rewrite in trunk. Can you file an issue?
>>>>
>>>> Thanks
>>>> James
>>>>
>>>> On 23/01/09 09:45, Dan Tran wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I am not able to pull down this file.  Any suggestions?
>>>>>
>>>>> here is error from log
>>>>> =======================
>>>>> 172.30.63.39 -  -  [22/Jan/2009:22:41:49 +0000] "GET
>>>>>
>>>>>
>>>>> /archiva/repository/releases/com/fortinet/fortidb/maven/plugins/maven-metadata.xml
>>>>> HTTP/1.1" 500 4434
>>>>>
>>>>>
>>>>> "http://archiva.fortinet-us.com:7080/archiva/repository/releases/com/fortinet/fortidb/maven/plugins/"
>>>>> "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322;
>>>>> .NET CLR 2.0.50727)"
>>>>> ===============================
>>>>> here is errror on the browser?
>>>>>
>>>>> HTTP ERROR: 500
>>>>> Adding text to an XML document must not be null
>>>>>
>>>>>
>>>>> RequestURI=/archiva/repository/releases/com/fortinet/fortidb/maven/plugins/maven-metadata.xml
>>>>>
>>>>> Caused by:
>>>>> java.lang.IllegalArgumentException: Adding text to an XML document
>>>>> must not be null
>>>>>      at org.dom4j.DocumentFactory.createText(DocumentFactory.java:174)
>>>>>      at org.dom4j.tree.AbstractElement.addText(AbstractElement.java:899)
>>>>>      at
>>>>> org.dom4j.tree.AbstractElement.setText(AbstractElement.java:1120)
>>>>>      at
>>>>>
>>>>> org.apache.maven.archiva.repository.metadata.RepositoryMetadataWriter.write(RepositoryMetadataWriter.java:77)
>>>>>      at
>>>>>
>>>>> org.apache.maven.archiva.repository.metadata.RepositoryMetadataWriter.write(RepositoryMetadataWriter.java:55)
>>>>>      at
>>>>>
>>>>> org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.writeMergedMetadataToFile(ArchivaDavResourceFactory.java:987)
>>>>>      at
>>>>>
>>>>> org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.createResource(ArchivaDavResourceFactory.java:349)
>>>>>      at
>>>>>
>>>>> org.apache.maven.archiva.webdav.RepositoryServlet.service(RepositoryServlet.java:118)
>>>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>>>>      at
>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>>>>>      at
>>>>>
>>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
>>>>>      at
>>>>>
>>>>> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
>>>>>      at
>>>>>
>>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>>>>      at
>>>>>
>>>>> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
>>>>>      at
>>>>>
>>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>>>>      at
>>>>>
>>>>> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
>>>>>      at
>>>>>
>>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>>>>      at
>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
>>>>>      at
>>>>>
>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>>>>      at
>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>>>>      at
>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
>>>>>      at
>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
>>>>>      at
>>>>>
>>>>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>>>>>      at
>>>>>
>>>>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>>>>      at
>>>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>>>>>      at org.mortbay.jetty.Server.handle(Server.java:324)
>>>>>      at
>>>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>>>>>      at
>>>>>
>>>>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
>>>>>      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
>>>>>      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>>>>>      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>>>>>      at
>>>>>
>>>>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>>>>      at
>>>>>
>>>>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
>>>>>
>>>>> Powered by Jetty://
>>>>>
>>>>
>>>>
>>
>

Mime
View raw message