[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] simpleconfigurator usage with ServletBridge

Hi all,

I'm trying to find a way to use equinox as a service container both as

1) Launched as a standalone osgi container ( with eclispe launcher )
2) embedded in a web application where it's launched by the servlet bridge

In case 1) to export my system ( equinox + bunldes ) i've used a product definition and i've exported to the filesystem successfully.
I've seen that the exported equinox used the org.eclipse.equinox.simpleconfigurator bundle in the config.ini to start all the other bundles i've defined in profuct configuration


My problem arise when i try to use the same folder layout with the servlet bridge, because in that case my bundles are installed but not started automatically, probably this is because the org.eclipse.equinox.simpleconfigurator is not for use within the servlet bridge.

I solve the problem in case 2 using a config.ini where i list all the bundles without using the simple configurator, but this force me to have different layout and different environments for the two configurations.

Despite all the above my final goal is to have an enviroment where i could export my product and then decide to use standalone or embedded simply copyng the eclipse folder in my webapp ( and obviuosly add the servlet bridle stuff ).

Is this possible?? Thanks

Andrea