org.osgi.framework.BundleException: The default TIM repository does not exist. You should set the value of the com.tc.l1.modules.repositories system property to declare a valid default TIM repository. Or, make sure that the following path resolves to a directory: E:\Dubbo\ehcache-2.1.0-beta\terracotta\platform\modules

Terracotta Project Issue Tracker | Kalai Kannaiyan | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Steps: Install the http://kong/output/release-kits/ehcache/ehcache-2.1.0-beta-distribution.tar.gz Navigate samples\colorcache -> start the sample server -> started successfully start the sample -> started successfully hit http://localhost:9080/colorcache Actual: HTTP ERROR: 404 Problem accessing /ColorCache/. Reason: NOT_FOUND from the client log: 2010-04-20 15:57:42,890 [15218962@qtp-27379847-1] FATAL com.terracottatech.console - The default TIM repository does not exist. You should set the value of the com.tc.l1.modules.repositories system property to declare a valid default TIM repository. Or, make sure that the following path resolves to a directory: E:\Dubbo\ehcache-2.1.0-beta\terracotta\platform\modules 2010-04-20 15:57:42,906 [15218962@qtp-27379847-1] FATAL com.tc.object.bytecode.hook.impl.DSOContextImpl - Exception thrown org.osgi.framework.BundleException: The default TIM repository does not exist. You should set the value of the com.tc.l1.modules.repositories system property to declare a valid default TIM repository. Or, make sure that the following path resolves to a directory: E:\Dubbo\ehcache-2.1.0-beta\terracotta\platform\modules at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:137) at com.tc.object.bytecode.hook.impl.DSOContextImpl.<init>(DSOContextImpl.java:171) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createContext(DSOContextImpl.java:156) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createStandaloneContext(DSOContextImpl.java:141) at net.sf.ehcache.terracotta.StandaloneL1Boot.call(StandaloneL1Boot.java:221) at net.sf.ehcache.terracotta.StandaloneL1Boot.call(StandaloneL1Boot.java:40) at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:137) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92) at net.sf.ehcache.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:103) at net.sf.ehcache.CacheManager.init(CacheManager.java:310) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:280) at org.terracotta.ColorCache.<clinit>(ColorCache.java:15) at org.apache.jsp.index_jsp.<init>(org.apache.jsp.index_jsp:11) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:193) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:465) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

    Terracotta Project Issue Tracker | 7 years ago | Kalai Kannaiyan
    org.osgi.framework.BundleException: The default TIM repository does not exist. You should set the value of the com.tc.l1.modules.repositories system property to declare a valid default TIM repository. Or, make sure that the following path resolves to a directory: E:\Dubbo\ehcache-2.1.0-beta\terracotta\platform\modules
  2. 0

    Steps: Install the http://kong/output/release-kits/ehcache/ehcache-2.1.0-beta-distribution.tar.gz Navigate samples\colorcache -> start the sample server -> started successfully start the sample -> started successfully hit http://localhost:9080/colorcache Actual: HTTP ERROR: 404 Problem accessing /ColorCache/. Reason: NOT_FOUND from the client log: 2010-04-20 15:57:42,890 [15218962@qtp-27379847-1] FATAL com.terracottatech.console - The default TIM repository does not exist. You should set the value of the com.tc.l1.modules.repositories system property to declare a valid default TIM repository. Or, make sure that the following path resolves to a directory: E:\Dubbo\ehcache-2.1.0-beta\terracotta\platform\modules 2010-04-20 15:57:42,906 [15218962@qtp-27379847-1] FATAL com.tc.object.bytecode.hook.impl.DSOContextImpl - Exception thrown org.osgi.framework.BundleException: The default TIM repository does not exist. You should set the value of the com.tc.l1.modules.repositories system property to declare a valid default TIM repository. Or, make sure that the following path resolves to a directory: E:\Dubbo\ehcache-2.1.0-beta\terracotta\platform\modules at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:137) at com.tc.object.bytecode.hook.impl.DSOContextImpl.<init>(DSOContextImpl.java:171) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createContext(DSOContextImpl.java:156) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createStandaloneContext(DSOContextImpl.java:141) at net.sf.ehcache.terracotta.StandaloneL1Boot.call(StandaloneL1Boot.java:221) at net.sf.ehcache.terracotta.StandaloneL1Boot.call(StandaloneL1Boot.java:40) at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:137) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92) at net.sf.ehcache.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:103) at net.sf.ehcache.CacheManager.init(CacheManager.java:310) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:280) at org.terracotta.ColorCache.<clinit>(ColorCache.java:15) at org.apache.jsp.index_jsp.<init>(org.apache.jsp.index_jsp:11) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:193) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:465) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

    Terracotta Project Issue Tracker | 7 years ago | Kalai Kannaiyan
    org.osgi.framework.BundleException: The default TIM repository does not exist. You should set the value of the com.tc.l1.modules.repositories system property to declare a valid default TIM repository. Or, make sure that the following path resolves to a directory: E:\Dubbo\ehcache-2.1.0-beta\terracotta\platform\modules

    Root Cause Analysis

    1. org.osgi.framework.BundleException

      The default TIM repository does not exist. You should set the value of the com.tc.l1.modules.repositories system property to declare a valid default TIM repository. Or, make sure that the following path resolves to a directory: E:\Dubbo\ehcache-2.1.0-beta\terracotta\platform\modules

      at com.tc.plugins.ModulesLoader.initModules()
    2. com.tc.plugins
      ModulesLoader.initModules
      1. com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:137)
      1 frame
    3. com.tc.object
      DSOContextImpl.createStandaloneContext
      1. com.tc.object.bytecode.hook.impl.DSOContextImpl.<init>(DSOContextImpl.java:171)
      2. com.tc.object.bytecode.hook.impl.DSOContextImpl.createContext(DSOContextImpl.java:156)
      3. com.tc.object.bytecode.hook.impl.DSOContextImpl.createStandaloneContext(DSOContextImpl.java:141)
      3 frames
    4. Ehcache
      StandaloneTerracottaClusteredInstanceFactory.<init>
      1. net.sf.ehcache.terracotta.StandaloneL1Boot.call(StandaloneL1Boot.java:221)
      2. net.sf.ehcache.terracotta.StandaloneL1Boot.call(StandaloneL1Boot.java:40)
      3. net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:137)
      3 frames
    5. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4 frames
    6. Ehcache
      CacheManager.<init>
      1. net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
      2. net.sf.ehcache.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:103)
      3. net.sf.ehcache.CacheManager.init(CacheManager.java:310)
      4. net.sf.ehcache.CacheManager.<init>(CacheManager.java:280)
      4 frames
    7. org.terracotta
      ColorCache.<clinit>
      1. org.terracotta.ColorCache.<clinit>(ColorCache.java:15)
      1 frame
    8. org.apache.jsp
      index_jsp.<init>
      1. org.apache.jsp.index_jsp.<init>(org.apache.jsp.index_jsp:11)
      1 frame
    9. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    10. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:193)
      2. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
      3. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
      4. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
      4 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    12. Jetty Server
      DefaultServlet.doGet
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      7. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334)
      8. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
      9. org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:465)
      9 frames
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    14. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      16 frames
    15. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
      1 frame