Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3561

"Failed to start the Felix framework" while starting a new spring roo project

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 3.3.0.RELEASE
    • Fix Version/s: None
    • Component/s: ROO
    • Environment:
      Windows 7

      Description

      -open STS

      -create new spring roo project

      -project created with only one text file named "log.roo" :

      // Spring Roo 1.2.4.RELEASE [rev 75337cf] log opened at 2013-09-16 13:08:50
      // [failed] project --topLevelPackage e --projectName e --java 7 --packaging JAR
      // Spring Roo 1.2.4.RELEASE [rev 75337cf] log closed at 2013-09-16 13:08:50

      -in the error log, there is a "Failed to start the Felix framework" error :

      Stack Trace :
      org.osgi.framework.BundleException: Error creating bundle cache.
      at org.apache.felix.framework.Felix.init(Felix.java:634)
      at org.springframework.roo.shell.eclipse.Main.start(Main.java:251)
      at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:164)
      at org.springframework.ide.eclipse.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:431)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      Caused by: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException
      at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176)
      at org.apache.felix.framework.Felix.init(Felix.java:629)
      ... 4 more
      Root exception:
      java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException
      at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176)
      at org.apache.felix.framework.Felix.init(Felix.java:629)
      at org.springframework.roo.shell.eclipse.Main.start(Main.java:251)
      at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:164)
      at org.springframework.ide.eclipse.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:431)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

        Attachments

          Activity

            People

            • Assignee:
              ldossantos Leo Dos Santos (c) [X]
              Reporter:
              emre Emre Tetik
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: