Can you point us to where in the archives it does say that this problem is known?
regards, Karl On Tue, May 26, 2009 at 6:45 PM, Andreas Mucha <sing...@gmx.net> wrote: > Hi everybody, > > i have a problem to run felix with a gui-bunlde out of eclipse. > i use felix 1.8.0 . i tested eclipse 3.4.1 and 3.4.2 . > i tested some combinations of running eclipse and/or felix > with jre 1.5.19 and/or 1.6.13 . > > the problem : my simple bundle activator (a runnable) > looks e.g. like this : > //code adapted from felix gui app example > public void start(BundleContext context) throws Exception > { > if (SwingUtilities.isEventDispatchThread()) > { > run(); > } > else > { > try > { > javax.swing.SwingUtilities.invokeAndWait(this); > } > catch (Throwable t) > { > t.printStackTrace(); > } > } > } > > public void run() > { > m_frame = new JFrame(); > m_frame.setSize(...); > m_frame.setVisible(true); > } > > when i start felix with my bundle from console, everything is fine. > the frame is displayed as expected. > when i start felix with my bundle in debug mode inside eclipes, > everything is fine. the frame is displayed as expected. > > but if i start felix with my bundle inside eclipse as normal > app/launch config, it hangs. the swing thread seems to be blokcing. > > felix ps says in that case : > -> ps > START LEVEL 1 > ID State Level Name > [ 0] [Starting ] [ 0] System Bundle (1.8.0) > [ 1] [Active ] [ 1] Apache Felix Shell Service (1.2.0) > [ 2] [Active ] [ 1] Apache Felix Shell TUI (1.2.0) > [ 3] [Active ] [ 1] Apache Felix Bundle Repository (1.4.0) > [ 4] [Starting ] [ 1] my.little.bundle (1.0.0) > -> > > if i now type 'start 0' then everything goes fine. > > in the mail archive i found that this problem is known. > but i couldnt find any suitable solution. > > any ideas about that strange behaviour ?? > > best regards and thanx in advance > andreas mucha > -- > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss > für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > > -- Karl Pauls karlpa...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org