Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] how could I initialize embedded jetty 8 with properties from CM ?

Hi,

I'm using eclipse-SDK-4.2M5/plugins/org.eclipse.equinox.http.jetty_3.0.0.v20111202-1436.jar

And I would like to use Configuration Manager Service to setup the jetty8.10RC4 initialization.

I've tried this in a bundle config, that is being initialized before jetty's ones, but is not working:

properties = getJettyProperties();
factoryPid = "org.eclipse.equinox.http.jetty.config"
configuration = configurationAdmin.createFactoryConfiguration(
                    factoryPid, null);
configuration.update(properties);

at getJettyProperties I'm adding http.port=8088 to a dictionary.

please, could someone help me ?

regards

Cristiano



Back to the top