Thanks for the update.

Maybe the problem is related to this:

https://issues.apache.org/jira/browse/KARAF-3727

As the URL should be related, and it's actually not on Windows, the http wrapper uses the absolute path (not the relative as it should).

I gonna fix that for next release.

As a workaround, you may try to use -l option when creating the repository.

Regards
JB

On 05/22/2015 09:26 AM, hsinchen wrote:
I have tested it again.
1. Download Karar 3.0.3 adn Unzip it
2. Set JDK 1.7 and start it
3. feature:repo-add
mvn:org.apache.karaf.cave/apache-karaf-cave/3.0.0/xml/features
4. feature:install cave-server
5. cave:repository-create my-repository
6. cave:repository-populate my-repository file:/d:/maven/.m2/repository
7. http://localhost:8181/cave/my-repository-repository.xml
8. obr:info org.apache.servicemix.bundles.commons-dbcp

The url is uri:
file:/D:/apache-karaf-3.0.3Cavea/cave/my-repository/org.apache.servicemix.bundles.commons-dbcp-1.4_3.jar

9. by browse
http://localhost:8181/cave/my-repository-repository.xml

The url is uri:
file:/D:/apache-karaf-3.0.3Cavea/cave/my-repository/org.apache.servicemix.bundles.commons-dbcp-1.4_3.jar

No HTTP Wrapper.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Cave-HTTP-Wrapper-Service-tp4039700p4040539.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to