karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3909) Starting the osgi feature using the org.ops4j.pax.web.cfg does not work as expected.
Date Mon, 08 Feb 2016 15:13:39 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jean-Baptiste Onofré resolved KARAF-3909.
    Resolution: Won't Fix

Please upgrade to Karaf 4 to benefit of the new feature resolver.

> Starting the osgi feature using the org.ops4j.pax.web.cfg does not work as expected.
> ------------------------------------------------------------------------------------
>                 Key: KARAF-3909
>                 URL: https://issues.apache.org/jira/browse/KARAF-3909
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.3
>            Reporter: Amit Patel
>            Priority: Blocker
> When we install the osgi feature using the org.ops4j.pax.web.cfg. we are getting below
exception but when we try to install the same feature though Karaf command prompt it works
fine. Let me know what we are missing. we will provide you more info if you need. 
> Note:If we  install and uninstall the feature it works fine. it does work on first installation
and we using also groovy and java code.
> It is bloker for us because we deploy the application on multiple nodes and we don't
want to install the feature using the Karaf command prompt. Our production node does not have
internet access. 
> custom feature file.
> ==================
> <feature name='service-war' version='0.0.1-SNAPSHOT' description="service-war">
> 	     <feature>spring-ajsc</feature> 
> 	     <feature>dme2-jars</feature> 
> 	     <feature>att-camel-jars</feature> 
> 	     <feature>camel-cxf-2.15.2</feature> 
> 	     <feature>camel-2.15.2</feature>
> 		 <feature>war</feature> 
> 		<bundle>file:${ajsc.repo.dir}/ajsc-jars/ajscwar/${project.version}/ajscwar-${project.version}.war</bundle>

> </feature> 
> ===========
> 01.359 [pool-4-thread-1] ERROR org.springframework.web.servlet.DispatcherServlet - Context
initialization failed
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML
document from ServletContext resource [/WEB-INF/spring-servlet.xml] is invalid; nested exception
is org.xml.sax.SAXParseException; systemId: http://cso.att.com/FAQs/URLFiltering/ProxyWarning.html;
lineNumber: 1; columnNumber: 63; White spaces are required between publicId and systemId.
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader

This message was sent by Atlassian JIRA

View raw message