java.lang.ClassCastException: org.apache.jackrabbit.core.data.FileDataStore cannot be cast to org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl

JFrog JIRA | Vincent DABURON | 7 years ago
  1. 0

    Hello, My datastore increase (8Go). The Jackrabbit's datastore garbage failed because data are store in filesystem not in a database (i had configure for file system because I have some big file like 250Mo so MySQL doesn't work) I see the artifactory log file and i have an exception : =================================================== Jun 11, 2009 4:57:40 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8180 Jun 11, 2009 4:57:40 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 26839 ms 2009-06-11 16:58:36,881 [ERROR] (o.a.j.JcrServiceImpl:787) - Jackrabbit's datastore garbage collector execution failed. java.lang.ClassCastException: org.apache.jackrabbit.core.data.FileDataStore cannot be cast to org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl at org.artifactory.jcr.jackrabbit.ArtifactoryGarbageCollector.<init>(ArtifactoryGarbageCollector.java:95) [artifactory-core-2.0.6.jar:na] at org.apache.jackrabbit.core.GarbageCollectorFactory.createDataStoreGarbageCollector(GarbageCollectorFactory.java:68) [artifactory-core-2.0.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.garbageCollect(JcrServiceImpl.java:769) [artifactory-core-2.0.6.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_12] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_12] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_12] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_12] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy18.garbageCollect(Unknown Source) [na:na] at org.artifactory.jcr.schedule.JcrGarbageCollector.onExecute(JcrGarbageCollector.java:37) [artifactory-core-2.0.6.jar:na] at org.artifactory.jcr.schedule.JcrGarbageCollector.onExecute(JcrGarbageCollector.java:30) [artifactory-core-2.0.6.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:42) [artifactory-core-2.0.6.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.jar:1.6.3] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_12] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_12] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_12] ================================================= artifactory.system.properties : _______________________________ #artifactory.ajaxRefreshMillis=10000 #artifactory.lockTimeoutSecs=120 #artifactory.failFastLockTimeoutSecs=5 #artifactory.authenticationCacheIdleTimeSecs=300 #artifactory.jcr.fixConsistency=false #artifactory.search.maxResults=500 #artifactory.maven.suppressPomConsistencyChecks=false #artifactory.jcr.configPath=null #artifactory.spring.configPath=null #artifactory.repo.key.subst.<original_repo_name>=<new_repo_name> #org.apache.jackrabbit.core.cluster.node_id=node1 #derby.storage.pageCacheSize=500 # MODIF VD DU 09/02/2009 storage in a file system artifactory.jcr.configPath=repo/filesystem ________________________________________ Regards Vincent

    JFrog JIRA | 7 years ago | Vincent DABURON
    java.lang.ClassCastException: org.apache.jackrabbit.core.data.FileDataStore cannot be cast to org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl
  2. 0

    Hello, My datastore increase (8Go). The Jackrabbit's datastore garbage failed because data are store in filesystem not in a database (i had configure for file system because I have some big file like 250Mo so MySQL doesn't work) I see the artifactory log file and i have an exception : =================================================== Jun 11, 2009 4:57:40 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8180 Jun 11, 2009 4:57:40 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 26839 ms 2009-06-11 16:58:36,881 [ERROR] (o.a.j.JcrServiceImpl:787) - Jackrabbit's datastore garbage collector execution failed. java.lang.ClassCastException: org.apache.jackrabbit.core.data.FileDataStore cannot be cast to org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl at org.artifactory.jcr.jackrabbit.ArtifactoryGarbageCollector.<init>(ArtifactoryGarbageCollector.java:95) [artifactory-core-2.0.6.jar:na] at org.apache.jackrabbit.core.GarbageCollectorFactory.createDataStoreGarbageCollector(GarbageCollectorFactory.java:68) [artifactory-core-2.0.6.jar:na] at org.artifactory.jcr.JcrServiceImpl.garbageCollect(JcrServiceImpl.java:769) [artifactory-core-2.0.6.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_12] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_12] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_12] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_12] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy18.garbageCollect(Unknown Source) [na:na] at org.artifactory.jcr.schedule.JcrGarbageCollector.onExecute(JcrGarbageCollector.java:37) [artifactory-core-2.0.6.jar:na] at org.artifactory.jcr.schedule.JcrGarbageCollector.onExecute(JcrGarbageCollector.java:30) [artifactory-core-2.0.6.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:42) [artifactory-core-2.0.6.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.jar:1.6.3] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_12] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_12] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_12] ================================================= artifactory.system.properties : _______________________________ #artifactory.ajaxRefreshMillis=10000 #artifactory.lockTimeoutSecs=120 #artifactory.failFastLockTimeoutSecs=5 #artifactory.authenticationCacheIdleTimeSecs=300 #artifactory.jcr.fixConsistency=false #artifactory.search.maxResults=500 #artifactory.maven.suppressPomConsistencyChecks=false #artifactory.jcr.configPath=null #artifactory.spring.configPath=null #artifactory.repo.key.subst.<original_repo_name>=<new_repo_name> #org.apache.jackrabbit.core.cluster.node_id=node1 #derby.storage.pageCacheSize=500 # MODIF VD DU 09/02/2009 storage in a file system artifactory.jcr.configPath=repo/filesystem ________________________________________ Regards Vincent

    JFrog JIRA | 7 years ago | Vincent DABURON
    java.lang.ClassCastException: org.apache.jackrabbit.core.data.FileDataStore cannot be cast to org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl
  3. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Scala 2.11.5 and Squeryl?

    Google Groups | 2 years ago | Clint Gilbert
    java.lang.ClassCastException: scala.None$ cannot be cast to
  6. 0

    adam2vcf

    Google Groups | 8 months ago | someya sayeh
    java.lang.ClassCastException: org.bdgenomics.formats.avro.Fragment cannot be cast to

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.jackrabbit.core.data.FileDataStore cannot be cast to org.artifactory.jcr.jackrabbit.ArtifactoryDbDataStoreImpl

      at org.artifactory.jcr.jackrabbit.ArtifactoryGarbageCollector.<init>()
    2. org.artifactory.jcr
      ArtifactoryGarbageCollector.<init>
      1. org.artifactory.jcr.jackrabbit.ArtifactoryGarbageCollector.<init>(ArtifactoryGarbageCollector.java:95)[artifactory-core-2.0.6.jar:na]
      1 frame
    3. Jackrabbit Core
      GarbageCollectorFactory.createDataStoreGarbageCollector
      1. org.apache.jackrabbit.core.GarbageCollectorFactory.createDataStoreGarbageCollector(GarbageCollectorFactory.java:68)[artifactory-core-2.0.6.jar:na]
      1 frame
    4. org.artifactory.jcr
      JcrServiceImpl.garbageCollect
      1. org.artifactory.jcr.JcrServiceImpl.garbageCollect(JcrServiceImpl.java:769)[artifactory-core-2.0.6.jar:na]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_12]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_12]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_12]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_12]
      4 frames
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)[spring-aop-2.5.5.jar:2.5.5]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.5.jar:2.5.5]
      2 frames
    7. Unknown
      $Proxy18.garbageCollect
      1. $Proxy18.garbageCollect(Unknown Source)[na:na]
      1 frame
    8. org.artifactory.jcr
      JcrGarbageCollector.onExecute
      1. org.artifactory.jcr.schedule.JcrGarbageCollector.onExecute(JcrGarbageCollector.java:37)[artifactory-core-2.0.6.jar:na]
      2. org.artifactory.jcr.schedule.JcrGarbageCollector.onExecute(JcrGarbageCollector.java:30)[artifactory-core-2.0.6.jar:na]
      2 frames
    9. org.artifactory.schedule
      QuartzCommand.execute
      1. org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:42)[artifactory-core-2.0.6.jar:na]
      1 frame
    10. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-1.6.3.jar:1.6.3]
      1 frame
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_12]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_12]
      3. java.lang.Thread.run(Thread.java:619)[na:1.6.0_12]
      3 frames