[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] {Disarmed} Re: {Disarmed} ECF and felix

On 02/22/2011 12:34 PM, Ivanhoe Abrahams wrote:
> Hi Markus
> 
> I have tried the same with one of my properties set to
> props.put(IDistributionConstants.SERVICE_EXPORTED_CONFIGS,
> "ecf.generic.server");
> 
> I assume that thats all I need to do to get " ECF generic provider" to
> work. I looked at
> http://wiki.eclipse.org/EIG:Runtime_Dependencies/Configuration to see if
> I need to deploy any other dependent jars.
> 
> Once again I have deployed the extra dependencies
> - ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20101029-1626.jar
> - org.eclipse.ecf.provider.r_osgi_3.1.0.v20101029-1626.jar
> - asm-all-3.2.jar
> 
> And my little test bundles
> - ecf.test_1.0.0.201102221211.jar
> - ecf.test.client_1.0.0.201102211232.jar
> 
> When I run on felix I still get the same error
> [Felix Shell TUI] ERROR org.eclipse.ecf.identity -
> org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.identity;code=2001;message=Namespace
> cannot be
> null;severity4;exception=org.eclipse.ecf.core.identity.IDCreateException: Namespace
> cannot be null;children=[]]
> org.eclipse.ecf.core.identity.IDCreateException: Namespace cannot be null
>     at
> org.eclipse.ecf.core.identity.IDFactory.logAndThrow(IDFactory.java:186)
>     at org.eclipse.ecf.core.identity.IDFactory.createID(IDFactory.java:204)
> 
> But when I run on equinox, using the --platform=equinox switch in
> pax-runner everything works.
> 
> Regards
> Ivanhoe

Hi Ivanhoe,

I have changed the order in which the core bundles get loaded by pax
(Extension registry prior to all ECF bundles). This appears to fix it
for me (you might have to clean runner/ for the changes to be picked up).

Markus