Issue Type: Bug Bug
Affects Versions: 0.4.0
Assignee: Unassigned
Components: Amdatu Core
Created: 01/May/12 4:55 PM
Description:

When I start Amdatu I can use the dm shell to retrieve info about a certain bundle, using 'dm 37' for example. Now when I update that bundle (deploy an updated version), when I enter 'dm 37' again, I get this error:

Unable to execute command: java.lang.IllegalStateException: Invalid BundleContext.
java.lang.IllegalStateException: Invalid BundleContext.
at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:514)
at org.apache.felix.framework.BundleContextImpl.getBundle(BundleContextImpl.java:112)
at org.amdatu.tenant.adapter.TenantAwareBundle.<init>(TenantAwareBundle.java:47)
at org.amdatu.tenant.adapter.TenantAwareBundleContext.getBundle(TenantAwareBundleContext.java:280)
at org.apache.felix.dm.shell.DMCommand$DependencyManagerSorter.compare(DMCommand.java:234)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at org.apache.felix.dm.shell.DMCommand.execute(DMCommand.java:89)
at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:249)
at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
at java.lang.Thread.run(Thread.java:662)

I did try to upgrade to the dm 3.0.1-SNAPSHOT, but that did make things only worse; Amdatu then only starts the very first time. Every next time I run into a deadlock (acquire bundle lock) upon startup.
You can reproduce it compiling the release-demo artifact from the Auth subproject.

Project: Amdatu
Labels: pfu040
Priority: Major Major
Reporter: Ivo Ladage - van Doorn
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to