Uploaded image for project: 'JBoss OSGi'
  1. JBoss OSGi
  2. JBOSGI-647

StorageState seem to get left over druing debug/test cycles and hot deployment

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate Issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None
    • Environment:

      EAP 6.1-beta

      Description

      When developing for JBoss EAP 6.1-beta under Eclipse IDE after a number of deploys the number of StorageState seem to get left over for the same bundle names, but with unique instance/deployment id's.

      Also I don't believe the the OSGi bundles made any use of the storage API directly so I am thinking that the setup/provisioning of such data areas could be delayed until first use and also be cleaned up entirely if no write access was made into the area.

      This is an example of what is occurring after a number of published and JBoss AS restarts, some of which will be when the OSGi aware bundle maybe deployed.

      17:42:33,740 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-1) Created storage state: StorageState[id=26,rev=0,startlevel=1,started=true,location=com-domain-jpa-0.0.1-SNAPSHOT.jar]
      17:42:33,743 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-1) Created storage state: StorageState[id=28,rev=0,startlevel=1,started=true,location=com-domain-jpa-0.0.1-SNAPSHOT.jar]
      17:42:33,745 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-1) Created storage state: StorageState[id=34,rev=0,startlevel=1,started=true,location=com-domain-jpa-0.0.1-SNAPSHOT.jar]
      17:42:33,747 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-1) Created storage state: StorageState[id=36,rev=0,startlevel=1,started=true,location=com-domain-jpa-0.0.1-SNAPSHOT.jar]
      17:42:33,748 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-1) Created storage state: StorageState[id=38,rev=0,startlevel=1,started=true,location=com-domain-jpa-0.0.1-SNAPSHOT.jar]
      17:42:33,751 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-1) Created storage state: StorageState[id=40,rev=0,startlevel=1,started=true,location=com-domain-jpa-0.0.1-SNAPSHOT.jar]

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  thomas.diesler Thomas Diesler
                  Reporter:
                  dlmiles Darryl Miles
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: