0 Replies Latest reply: Mar 1, 2013 1:59 PM by 909220 RSS

    distributed cache - ClassLoader - closed

    909220
      currently created a cache in a soa server. It was working fine but today it started to show an error related to the classloader of the dynamic cache been closed?

      the cache config setup is:
      <distributed-scheme>
      <scheme-name>StrykerDvm-distributed</scheme-name>
      <service-name>DVMDistributedCache</service-name>
                <local-storage>true</local-storage>          
                <thread-count>2</thread-count>
                <task-hung-threshold>20000</task-hung-threshold>
      <backing-map-scheme>
      <read-write-backing-map-scheme>
      <internal-cache-scheme>
      <local-scheme>
                               <high-units>50</high-units>
                               <low-units>10</low-units>
                               <expiry-delay>10m</expiry-delay>
      </local-scheme>
      </internal-cache-scheme>
      <cachestore-scheme>
      <class-scheme>
      <class-name>com.stryker.dvm.coherence.DvmFixedCacheLoader</class-name>
      <init-params>
      <init-param>
      <param-type>String</param-type>
      <param-value>{cache-name}</param-value>
      </init-param>
      </init-params>
      </class-scheme>
      </cachestore-scheme>
      </read-write-backing-map-scheme>
      </backing-map-scheme>
      <autostart>true</autostart>
      </distributed-scheme>               

      this was the error

      [2013-03-01T03:35:45.964-05:00] [soa_server1] [ERROR] [] [com.stryker.dvm.coherence.DvmFixedCache] [tid: orabpel.invoke.pool-4.thread-15] [userId: weblogic] [ecid: d
      8a6332feb9f5236:d6454d5:13d1db7960e:-8000-000000000013ef88,0:1:100314615] [APP: soa-infra] [composite_name: DVM_Functions] [component_name: DVM_Lookup_bp] [component
      instanceid: 3564333] DvmFixedCache.getValue Error [[
      (Wrapped: Failed request execution for DVMDistributedCache service on Member(Id=1, Timestamp=2013-02-27 17:14:42.318, Address=10.41.110.242:8088, MachineId=19954, Lo
      cation=site:howost.strykercorp.com,machine:svslxb2bdev02,process:31626, Role=WeblogicServer) (Wrapped: Failed to load key="DVM:JAPANP2PDivisionDataXref Q1:191416 Q2:
      93202 Q3:35361498200 Q4:807231 Q5:null") ClassLoader "default.composite.DVM_Functions.soa_b628f9a0-4ae9-4dfc-b69b-e0ad8b0f92d0:1.1" (from Application component in us
      er-defined-origin): This loader has been closed and should not be in use.) java.lang.IllegalStateException: ClassLoader "default.composite.DVM_Functions.soa_b628f9a0
      -4ae9-4dfc-b69b-e0ad8b0f92d0:1.1" (from Application component in user-defined-origin): This loader has been closed and should not be in use.
      at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:36)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onGetRequest(PartitionedCache.CDB:45)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$GetRequest.run(PartitionedCache.CDB:1)
      at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:1)
      at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
      at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.IllegalStateException: ClassLoader "default.composite.DVM_Functions.soa_b628f9a0-4ae9-4dfc-b69b-e0ad8b0f92d0:1.1" (from Application component in
      user-defined-origin): This loader has been closed and should not be in use.
      at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:154)
      at oracle.classloader.PolicyClassLoader.checkState(PolicyClassLoader.java:2106)
      at oracle.classloader.PolicyClassLoader.getResources(PolicyClassLoader.java:1821)
      at javax.persistence.Persistence.findAllProviders(Persistence.java:164)
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:103)
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
      at com.stryker.dvm.facade.DvmTablesFacade.<init>(DvmTablesFacade.java:31)
      at com.stryker.dvm.coherence.DvmFixedCacheLoader.load(DvmFixedCacheLoader.java:35)
      at com.tangosol.net.cache.ReadWriteBackingMap$CacheLoaderCacheStore.load(ReadWriteBackingMap.java:5685)