activations.add(activator);
activations.add(main);
try {
// Start up the OSGI framework
m_felix = new Felix(new StringMap(m_configProps, false), activations);
m_felix.start();
}
catch (Exception ex) {
System.err.println("Could not create framework: " + ex);
ex.printStackTrace();