1 Reply Latest reply on Sep 4, 2014 9:07 AM by Randall Hauch

    Mode Shape for Catalogue Management

    Anand K Rayudu Newbie

      Hello All,

       

      we have about 10 TB of proprietary data files, accumulated over last 10 years, and most of the time we find it hard to know where to find a file.

      So I am trying to create a catalogue by processing all this data and publish to server as tree structure (hierarchy of nodes) and each node having properties, which are extracted from these files.

      Once done we will have web client to search based on properties,

      I want build crawler which will run on HPC and publishes node details to mySql DB.

      I am trying to use modeshape with mysql, but it I am not too sure I got the right configuration.. I have following error. Please suggest What I am missing here.

       

      Attached are modeshape and infispan configuration and sample java code., And mySql is not running on same machine as this test code.

       

      INFO: ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.10.Final

      javax.jcr.RepositoryException: Error while starting 'Persisted-Repository' repository: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.start() on object of type CacheLoaderManagerImpl

        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:650)

        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:619)

        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:155)

        at com.esi.TDM.TestDataAnalyzer.createRepository(TestDataAnalyzer.java:68)

        at com.esi.TDM.TestDataAnalyzer.main(TestDataAnalyzer.java:145)

      Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.start() on object of type CacheLoaderManagerImpl

        at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)

        at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:886)

        at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:657)

        at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:646)

        at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:549)

        at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:217)

        at org.infinispan.CacheImpl.start(CacheImpl.java:582)

        at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:686)

        at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)

        at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)

        at org.infinispan.schematic.Schematic.get(Schematic.java:98)

        at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:1070)

        at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:971)

        at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:404)

        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:648)

        ... 4 more

      Caused by: java.lang.NoSuchMethodError: org.infinispan.util.Util.getInstance(Ljava/lang/String;)Ljava/lang/Object;

        at org.infinispan.loaders.jdbc.connectionfactory.ConnectionFactory.getConnectionFactory(ConnectionFactory.java:41)

        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.start(JdbcStringBasedCacheStore.java:112)

        at org.infinispan.loaders.decorators.AbstractDelegatingStore.start(AbstractDelegatingStore.java:155)

        at org.infinispan.loaders.decorators.AsyncStore.start(AsyncStore.java:305)

        at org.infinispan.loaders.CacheLoaderManagerImpl.start(CacheLoaderManagerImpl.java:152)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)

        ... 18 more

       

       

      Can modeshape persist to mySql without infispan ?

      Anand