This seems to resolve:

Orig from Virgo PLAN:
<artifact type="configuration" name="com.example.load_balancer"
version="0"/>
<artifact type="bundle" name="com.example.load_balancer" version="1.0.0"/>
Karaf Feature:

<bundle>file:C:\PATHTOFILE\com.example.load_balancer-1.0.0-SNAPSHOT.jar</bundle>
<configfile
finalname="etc/com.example.service1.properties">file:c:\PATHTOFILE\com.example.load_balancer.properties</configfile>


This seems to load into karaf, and I get that the
com.example.load_balancer.Features.xml is ACTIVE.  I see that it is
resolved, but when I do osgi:start id, and I look at the log (log:display),
I see this:

2012-03-29 22:42:40,453 | ERROR | p.load_balancer) |
ConfigurableLoadBalancer         | osgi.lb.ConfigurableLoadBalancer   64 |
154 - com.example.
load-balancer - 1.0.0.SNAPSHOT | ===== Config was removed/stopped (or not
present at start-up); will stop the bundle com.example.load-balancer =====

Any ideas as to how to go about debugging this?  This properties file is the
same as used in Virgo, and I converted another PLAN with this same type of
properties file, and that seems to be fine.

--
View this message in context: 
http://karaf.922171.n3.nabble.com/Convert-Virgo-PLAN-to-Karaf-Feature-files-tp3867950p3869787.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to