1 Reply Latest reply on Jul 14, 2014 2:54 AM by Horia Chiorean

    ClassNotFoundException: org.infinispan.schematic.internal.SchematicEntryLiteral

    tao zhu Newbie

      HI:

        I  deploy the modeshape in osgi container..I want to add a node to my workspace through osgi service .but I got a exception of 'java.lang.ClassNotFoundException: org.infinispan.schematic.internal.SchematicEntryLiteral not found from bundle [system.auth]' .I don't kown why my bundle should use the class of SchematicEntryLiteral   and I can't find where it be used in my bundle. My modeshape configration is below:

      the repository:

      {

          "name" : "gzydtRepository",

           "jndiName" : "jcr/gzydtRepository",

           "monitoring" : {

              "enabled" : true

           },

          "workspaces" : {

              "predefined" : ["gzydt_system","gzydt_user"],

              "allowCreation" : true

          },

           "security" : {

              "providers" : [

                  {

                  "name":"MyAuthenticationProvider",

                      "classname" : "cn.gzydt.infoshare.modeshape.rest.security.MyAuthenticationProvider",

                  }

              ]

          },

          "storage" : {

              "cacheConfiguration" : "infinispan-configuration.xml",

              "cacheName" : "gzydtRepository",

              "binaryStorage" : {

                  "type" : "file",

                  "directory": "gzydt/binaries",

                  "minimumBinarySizeInBytes" : 999

              }

          },

          "query":{

              "enabled":false,

              "indexing" : {

        "rebuildOnStartup": {

        "when": "if_missing"

        },

        "backend" : {

        "type" : "jgroups-master",

        "channelName" : "modeshape-indexing"

        }

        },

              "indexStorage": {

                  "type":"filesystem-master",

                  "sourceLocation":"gzydt/clustered/master_indexes/",

                  "location":"gzydt/content/index",

                  "refreshInSeconds" : 1,

                  "lockingStrategy":"simple",

                  "fileSystemAccessType":"auto"

              }

          },

         "clustering" : {

              "clusterName" : "gzydt",

              "channelConfiguration" : "jgroup/jgroups-tcp.xml"

          }       

      }

      <?xml version="1.0" encoding="UTF-8"?>

      <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

        xsi:schemaLocation="urn:infinispan:config:5.2 http://www.infinispan.org/schemas/infinispan-config-5.2.xsd"

        xmlns="urn:infinispan:config:5.2">

        <global>

        <globalJmxStatistics enabled="true"

        allowDuplicateDomains="true" />

        <transport clusterName="gzydt" distributedSyncTimeout="50000"

        transportClass="org.infinispan.remoting.transport.jgroups.JGroupsTransport">

        <properties>

        <property name="configurationFile" value="jgroup/jgroups-tcp.xml"></property>

        </properties>

        </transport>

        <serialization marshallerClass="org.infinispan.marshall.VersionAwareMarshaller" />

        </global>

        <default>

        <jmxStatistics enabled="true" />

        <invocationBatching enabled="true" />

        <clustering mode="distribution">

        <sync replTimeout="200000" />

        <hash numOwners="2" />

        </clustering>

        </default>

        <namedCache name="gzydtRepository">

        <unsafe unreliableReturnValues="true" />

        <clustering mode="distribution">

        <sync replTimeout="200000" />

        <hash numOwners="2" />

        <l1 enabled="true" lifespan="600000" />

        </clustering>

        <loaders passivation="false" shared="false" preload="true">

        <loader class="org.infinispan.loaders.file.FileCacheStore"

        fetchPersistentState="true" ignoreModifications="false"

        purgeOnStartup="false">

        <properties>

        <property name="location" value="gzydt/content" />

        </properties>

        </loader>

        </loaders>

        <transaction

        transactionManagerLookupClass="org.infinispan.transaction.lookup.DummyTransactionManagerLookup"

        transactionMode="TRANSACTIONAL" lockingMode="OPTIMISTIC" />

        </namedCache>

      </infinispan>

      <config xmlns="urn:org:jgroups"

              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

              xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.2.xsd">

          <TCP bind_port="7800" port_range="10"

               recv_buf_size="20000000"

               send_buf_size="640000"

               loopback="false"

               max_bundle_size="64000"

               max_bundle_timeout="30"

               enable_bundling="true"

               enable_unicast_bundling="true"

               enable_diagnostics="true"

               thread_naming_pattern="cl"

       

       

               timer_type="new"

               timer.min_threads="4"

               timer.max_threads="10"

               timer.keep_alive_time="3000"

               timer.queue_max_size="1000"

               timer.wheel_size="200"

               timer.tick_time="50"

       

       

               thread_pool.enabled="true"

               thread_pool.min_threads="2"

               thread_pool.max_threads="8"

               thread_pool.keep_alive_time="5000"

               thread_pool.queue_enabled="true"

               thread_pool.queue_max_size="100000"

               thread_pool.rejection_policy="discard"

       

       

               oob_thread_pool.enabled="true"

               oob_thread_pool.min_threads="1"

               oob_thread_pool.max_threads="8"

               oob_thread_pool.keep_alive_time="5000"

               oob_thread_pool.queue_enabled="false"

               oob_thread_pool.queue_max_size="100"

               oob_thread_pool.rejection_policy="discard"/>

       

       

         <MPING bind_addr="${jgroups.bind_addr:127.0.0.1}" break_on_coord_rsp="true"

                mcast_addr="${jgroups.mping.mcast_addr:228.2.4.6}"

                mcast_port="${jgroups.mping.mcast_port:43366}"

                ip_ttl="${jgroups.udp.ip_ttl:32}"

                num_initial_members="2" timeout="2000"/>

       

       

          <MERGE2 max_interval="30000"

                  min_interval="10000"/>

       

       

          <FD_SOCK/>

          <FD_ALL interval="2000" timeout="5000" />

          <VERIFY_SUSPECT timeout="500"  />

          <BARRIER />

          <pbcast.NAKACK use_mcast_xmit="false"

                         retransmit_timeout="100,300,600,1200"

                         discard_delivered_msgs="true" />

          <UNICAST2 timeout="300,600,1200"

                    conn_expiry_timeout="0"/>

       

       

          <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"

                         max_bytes="10m"/>

          <pbcast.GMS print_local_addr="true" join_timeout="5000"

                      max_bundling_time="30"

                      view_bundling="true"/>

          <UFC max_credits="2M"

               min_threshold="0.4"/>

          <MFC max_credits="2M"

               min_threshold="0.4"/>

          <FRAG2 frag_size="60000"  />

          <pbcast.STATE_TRANSFER  />

      </config>