Thanks Stuart.. Clearing the cache did the trick! :) -----Original Message----- From: Stuart McCulloch [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 12:02 PM To: [email protected] Subject: Re: Removing shell and TUI from Felix
2008/12/4 Olakara, Abdel <[EMAIL PROTECTED]> > Hi all, > > > > I am trying to remove, all shell and UI features of my Felix instance. I > need only 10 to 15 custom services and bundles to be loaded and run. > Like dm server or glassfish v3 where you don't get any shell interface, > but all the service gets loaded and running. To have this I tried > removing bundles from conf/config.properties. I currently have only my > custom bundles now as shown below: > > > > . > > . > > . > > felix.auto.start.1= \ > > file:D:/equinox/custom/HelloService.jar \ > > file:D:/equinox/custom/HelloBundle.jar > > felix.log.level=1 > > . > > . > > . > > > > But I still get the text UI. How do I customize this (remove it)? > > I also tried my on launcher where I set only my bundles : > > > > Map configMap = new HashMap(); > > configMap.put(AutoActivator.AUTO_START_PROP + ".1", > > "file:D:/equinox/custom/ThreadBundle.jar "); > > List list = new ArrayList(); > > list.add(new AutoActivator(configMap)); > > configMap.put(FelixConstants.SYSTEMBUNDLE_ACTIVATORS_PROP, > list); > > > > Here also, the Felix starts up fine.. But I get the TUI again. > > Can anybody please guide me and point out my mistakes? > have you cleared out your framework cache? when the framework restarts it will re-use the same cache and restart any bundles that were in the 'active' state when the framework last shutdown see: http://felix.apache.org/site/apache-felix-bundle-cache.html Thanks in advance, > > Abdel Olakara > -- Cheers, Stuart --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

