java.lang.RuntimeException: Unable to create profile > directory. at > org.apache.felix.framework.cache.BundleCache.initialize(BundleCache.java:353) > >

Oracle Community | OG7 | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    issues on starting the glassfish server

    Oracle Community | 6 years ago | OG7
    java.lang.RuntimeException: Unable to create profile > directory. at > org.apache.felix.framework.cache.BundleCache.initialize(BundleCache.java:353) > >
  2. 0

    Glassfish login server error issue,

    Stack Overflow | 4 years ago | Arwel Wyn Williams
    java.lang.RuntimeException: Unable to create cache directory.
  3. 0

    Unable to start server due following issues: Launch process failed with exit code 1

    Stack Overflow | 2 years ago | CODI
    java.lang.RuntimeException: Unable to create cache directory.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    when installing Roo with a shared account (soft, root..), and running it with another account, the startup of bin/roo.sh failed ... application is NOT usable at all !! {code} $ roo.sh ERROR: Unable to create cache directory: /opt/soft/spring-roo-1.2.5.RELEASE/cache ERROR: Error creating bundle cache. (java.lang.RuntimeException: Unable to create cache directory.) java.lang.RuntimeException: Unable to create cache directory. at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:107) at org.apache.felix.framework.Felix.init(Felix.java:599) at org.springframework.roo.bootstrap.Main.main(Main.java:284) Could not create framework: org.osgi.framework.BundleException: Error creating bundle cache. org.osgi.framework.BundleException: Error creating bundle cache. at org.apache.felix.framework.Felix.init(Felix.java:604) at org.springframework.roo.bootstrap.Main.main(Main.java:284) Caused by: java.lang.RuntimeException: Unable to create cache directory. at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:107) at org.apache.felix.framework.Felix.init(Felix.java:599) ... 1 more {code} A ugly but fully fonctionnal work-around found in some forums is to copy&paste roo into your own directory with your account (ROO_HOME becomes a writeable dir for you), but it is not practical for doing share installation. I have tried unsuccesfully to edit the file "conf/config.properties" to add " felix.cache.rootdir=${user.home}/.felix" and I have tried also unsuccesfully to change the bin/roo.sh startup script : ( the behavior is very strange : no log, no error, but nothing happens, all thread are waiting and nothing comes) {code} ROO_OSGI_FRAMEWORK_STORAGE="$HOME/.roo/cache" # ... was before : ROO_OSGI_FRAMEWORK_STORAGE="$ROO_HOME/cache" # echo "ROO_OSGI_FRAMEWORK_STORAGE: $ROO_OSGI_FRAMEWORK_STORAGE" ROO_AUTO_DEPLOY_DIRECTORY="$HOME/.roo/bundle" # ... was before : ROO_AUTO_DEPLOY_DIRECTORY="$ROO_HOME/bundle" # echo "ROO_AUTO_DEPLOY_DIRECTORY: $ROO_AUTO_DEPLOY_DIRECTORY" {code} Any idea for the best way to fix ?

    Spring JIRA | 2 years ago | Arnaud Nauwynck
    java.lang.RuntimeException: Unable to create cache directory.
  6. 0

    when installing Roo with a shared account (soft, root..), and running it with another account, the startup of bin/roo.sh failed ... application is NOT usable at all !! {code} $ roo.sh ERROR: Unable to create cache directory: /opt/soft/spring-roo-1.2.5.RELEASE/cache ERROR: Error creating bundle cache. (java.lang.RuntimeException: Unable to create cache directory.) java.lang.RuntimeException: Unable to create cache directory. at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:107) at org.apache.felix.framework.Felix.init(Felix.java:599) at org.springframework.roo.bootstrap.Main.main(Main.java:284) Could not create framework: org.osgi.framework.BundleException: Error creating bundle cache. org.osgi.framework.BundleException: Error creating bundle cache. at org.apache.felix.framework.Felix.init(Felix.java:604) at org.springframework.roo.bootstrap.Main.main(Main.java:284) Caused by: java.lang.RuntimeException: Unable to create cache directory. at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:107) at org.apache.felix.framework.Felix.init(Felix.java:599) ... 1 more {code} A ugly but fully fonctionnal work-around found in some forums is to copy&paste roo into your own directory with your account (ROO_HOME becomes a writeable dir for you), but it is not practical for doing share installation. I have tried unsuccesfully to edit the file "conf/config.properties" to add " felix.cache.rootdir=${user.home}/.felix" and I have tried also unsuccesfully to change the bin/roo.sh startup script : ( the behavior is very strange : no log, no error, but nothing happens, all thread are waiting and nothing comes) {code} ROO_OSGI_FRAMEWORK_STORAGE="$HOME/.roo/cache" # ... was before : ROO_OSGI_FRAMEWORK_STORAGE="$ROO_HOME/cache" # echo "ROO_OSGI_FRAMEWORK_STORAGE: $ROO_OSGI_FRAMEWORK_STORAGE" ROO_AUTO_DEPLOY_DIRECTORY="$HOME/.roo/bundle" # ... was before : ROO_AUTO_DEPLOY_DIRECTORY="$ROO_HOME/bundle" # echo "ROO_AUTO_DEPLOY_DIRECTORY: $ROO_AUTO_DEPLOY_DIRECTORY" {code} Any idea for the best way to fix ?

    Spring JIRA | 2 years ago | Arnaud Nauwynck
    java.lang.RuntimeException: Unable to create cache directory.

    Root Cause Analysis

    1. java.lang.RuntimeException

      Unable to create profile > directory. at > org.apache.felix.framework.cache.BundleCache.initialize(BundleCache.java:353) > >

      at org.apache.felix.framework.cache.BundleCache.<init>()
    2. Apache Felix Framework
      BundleCache.<init>
      1. org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:95)
      1 frame