Hi,
Why do I face the following exception:
[EMAIL PROTECTED] /cygdrive/c/projs/osgi/spring-osgi-install
$ java -jar c:/apps/eclipse/plugins/org.eclipse.osgi_3.4.0.v20080205.jar
-console
osgi ss
Framework is launched.
id State Bundle
0 ACTIVE
Hi Jacek,
I think this is some threading issue. First of all remember that in the
start/stop methods of BundleActivator you shouldn't spawn a long running
task (just use a new Thread to do this). In the javadoc to
org.osgi.framework.BundleActivator#start() method is written:
Called when this
Hi
Lukasz's solution assumes that the bundle you are installing will
eventually enter the RESOLVED state. This is not going to happen
automatically. You would have to run a PackageAdmin.resolveBundles to make
the bundle resolve. The actual exception seems to be occurring because the
second