karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1121) Error when installing feature camel-cxf : jetty.xml is empty
Date Thu, 22 Dec 2011 10:32:30 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174748#comment-13174748
] 

Christian Schneider commented on KARAF-1121:
--------------------------------------------

I found that the issue happens when you do not add the staging repo first.

When it is not present then features:install camel-cxf shows the error below and creates the
empty jetty.xml:
Error executing command: URL [mvn:org.apache.karaf/apache-karaf/2.2.5/xml/jettyconfig] could
not be resolved.

So this may be an eror in features:install but I think it does not block 2.2.5

                
> Error when installing feature camel-cxf : jetty.xml is empty
> ------------------------------------------------------------
>
>                 Key: KARAF-1121
>                 URL: https://issues.apache.org/jira/browse/KARAF-1121
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.5
>            Reporter: Christian Schneider
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.6
>
>
> Found a problem when installing camel-cxf.
> Steps to reproduce:
> add staging repo (https://repository.apache.org/content/repositories/orgapachekaraf-382/)
to org.ops4j.pax.url.mvn.cfg
> > features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.3/xml/features
> > features:install camel-cxf
> 2011-12-22 10:54:31.797:INFO:oejs.Server:jetty-7.5.4.v20111024
> 2011-12-22 10:54:31.897:INFO:oejs.AbstractConnector:Started NIOSocketConnectorWrapper@0.0.0.0:8080
STARTING
> 2011-12-22 10:54:32.050:WARN:oejx.XmlParser:FATAL@file:/C:/java/apache-karaf-2.2.5/etc/jetty.xml
line:1 col:1 : org.xml.sax.SAXParseException: Premature end of
> file.
> First of course these log outputs appear on the console which is issue https://issues.apache.org/jira/browse/KARAF-1117.
> The error above is because jetty.xml is empty. I think we should correct this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message