You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2010/01/07 15:12:31 UTC
[jira] Closed: (FELIX-1968) Spring deployer cannot find file in etc
directory when karaf is deployed as a WAR
[ https://issues.apache.org/jira/browse/FELIX-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard closed FELIX-1968.
------------------------------------
Resolution: Fixed
Workaround is to define the absolute path of the config file to install
ex : osgi:install -s spring:file:///D:/Soft/opensource/apache-tomcat-6.0.14/webapps/karaf/WEB-INF/karaf/etc/activemq-broker.xml
> Spring deployer cannot find file in etc directory when karaf is deployed as a WAR
> ---------------------------------------------------------------------------------
>
> Key: FELIX-1968
> URL: https://issues.apache.org/jira/browse/FELIX-1968
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Charles Moulliard
>
> 12:02:43,382 | ERROR | Thread-12 | SpringURLHandler | ring.SpringURLHandler$Connection 87 | Error opening spring xml url
> java.io.FileNotFoundException: etc\activemq-broker.xml (The system cannot find the path specified)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
> at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
> at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)
> at org.apache.felix.karaf.deployer.spring.SpringTransformer.parse(SpringTransformer.java:241)
> at org.apache.felix.karaf.deployer.spring.SpringTransformer.transform(SpringTransformer.java:63)
> at org.apache.felix.karaf.deployer.spring.SpringURLHandler$Connection.getInputStream(SpringURLHandler.java:83)
> at java.net.URL.openStream(URL.java:1010)
> at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:461)
> at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:373)
> at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:238)
> at org.apache.felix.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:658)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.