[
https://jira.jboss.org/jira/browse/JBOSGI-39?page=com.atlassian.jira.plug...
]
Thomas Diesler commented on JBOSGI-39:
--------------------------------------
It seems that the order of undeployment matters.
B, X - is ok
X, B - fails
In embedded mode the order does not matter.
public class OSGI39DeployerTestCase extends IntegrationTest
{
public void testFirstRun() throws Exception
{
installBBeforeX();
}
public void testSecondRun() throws Exception
{
installBBeforeX();
}
private void installBBeforeX() throws Exception
{
ManagedBundleMBean bundleB = deployBundle("jbosgi38-bundleB");
assertEquals("Bundle installed", Bundle.INSTALLED, bundleB.getState());
ManagedBundleMBean bundleX = deployBundle("jbosgi38-bundleX");
assertEquals("Bundle active", Bundle.ACTIVE, bundleX.getState());
assertEquals("Bundle active", Bundle.ACTIVE, bundleB.getState());
// Undeploy X before B
undeploy("jbosgi38-bundleX.jar");
undeploy("jbosgi38-bundleB.jar");
}
Bundle undeploy does not clean up properly
------------------------------------------
Key: JBOSGI-39
URL:
https://jira.jboss.org/jira/browse/JBOSGI-39
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Alpha3
Redeployment of bundles seems to fail
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira