This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return new DefaultCacheManager(new Configuration().fluent(). | |
| .expiration().lifespan(60000l) | |
| .build()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.infinispan.util.concurrent.locks; | |
| import org.testng.annotations.Test; | |
| /** | |
| * // TODO: Document this | |
| * | |
| * @author Galder Zamarreño | |
| * @since // TODO | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "main" prio=5 tid=101801000 nid=0x100501000 waiting on condition [1004fe000] | |
| java.lang.Thread.State: WAITING (parking) | |
| at sun.misc.Unsafe.park(Native Method) | |
| - parking to wait for <7f3baf100> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync) | |
| at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) | |
| at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811) | |
| at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:842) | |
| at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1178) | |
| at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:807) | |
| at org.infinispan.util.concurrent.locks.StripedLock.acquireLock(StripedLock.java:98) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 12:27:47,482 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.infinispan.default.default: org.jboss.msc.service.StartException in service jboss.infinispan.default.default: Failed to start service | |
| at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1786) | |
| at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) | |
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24] | |
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24] | |
| at java.lang.Thread.run(Thread.java:680) [:1.6.0_24] | |
| Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.CacheException: Unable to invoke method public abstract void org.infinispan.remoting.transport.Transport.start() on object | |
| at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:192) | |
| at org.infinispan.factories. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <subsystem default-cache-container="default" xmlns="urn:jboss:domain:infinispan:1.0"> | |
| <cache-container name="default" default-cache="default" listener-executor="infinispan-listener" eviction-executor="infinispan-eviction" replication-queue-executor="infinispan-repl-queue"> | |
| <transport executor="infinispan-transport" lock-timeout="240000"/> | |
| <local-cache name="default" start="EAGER" batching="false" indexing="NONE"> | |
| <locking isolation="REPEATABLE_READ" acquire-timeout="20000" concurrency-level="500" striping="false"/> | |
| <eviction strategy="${eviction.strategy}" max-entries="${eviction.max.entries}" interval="${eviction.interval}"/> | |
| <store class="org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore" passivation="true"> | |
| <property name="stringsTableNamePrefix">ISPN_STRING_TABLE</property> | |
| <property name="idColumnName">ID_COLUMN</property> | |
| <property name="dataColumnName">DATA_COLUMN</property> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <subsystem default-cache-container="default" xmlns="urn:jboss:domain:infinispan:1.0"> | |
| <cache-container name="default" default-cache="default" listener-executor="infinispan-listener" eviction-executor="infinispan-eviction" replication-queue-executor="infinispan-repl-queue"> | |
| <transport executor="infinispan-transport" lock-timeout="240000"/> | |
| <local-cache name="default" start="EAGER" batching="false" indexing="NONE"> | |
| <locking isolation="REPEATABLE_READ" acquire-timeout="20000" concurrency-level="500" striping="false"/> | |
| <eviction strategy="${eviction.strategy}" max-entries="${eviction.max.entries}" interval="${eviction.interval}"/> | |
| <store class="org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore" passivation="true"> | |
| <property name="stringsTableNamePrefix">ISPN_STRING_TABLE</property> | |
| <property name="idColumnName">ID_COLUMN</property> | |
| <property name="dataColumnName">DATA_COLUMN</property> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <subsystem default-cache-container="default" xmlns="urn:jboss:domain:infinispan:1.0"> | |
| <cache-container name="default" default-cache="default" listener-executor="infinispan-listener" eviction-executor="infinispan-eviction" replication-queue-executor="infinispan-repl-queue"> | |
| <transport executor="infinispan-transport" lock-timeout="240000"/> | |
| <local-cache name="default" start="EAGER" batching="false" indexing="NONE"> | |
| <locking isolation="REPEATABLE_READ" acquire-timeout="20000" concurrency-level="500" striping="false"/> | |
| <eviction strategy="FIFO" max-entries="100" interval="2000"/> | |
| <store class="org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore" passivation="true"> | |
| <property name="stringsTableNamePrefix">ISPN_STRING_TABLE</property> | |
| <property name="idColumnName">ID_COLUMN</property> | |
| <property name="dataColumnName">DATA_COLUMN</property> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # rule skeleton | |
| RULE RiverMarshallerDebug | |
| CLASS org.jboss.marshalling.river.RiverMarshaller | |
| METHOD writeObject(Object) | |
| BIND marshaller = $0; | |
| obj = $1 | |
| DO debug("Write type=" + obj.getClass().getName()) | |
| ENDRULE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # rule skeleton | |
| RULE debug river marshaller | |
| CLASS org.jboss.marshalling.river.RiverMarshaller | |
| METHOD writeObject(Object) | |
| AT ENTRY | |
| IF TRUE | |
| DO debug("Write type=" + $1.getClass().getName()) | |
| ENDRULE | |
| # this rule counts Thread creates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # rule skeleton | |
| RULE debug river marshaller | |
| CLASS org.jboss.marshalling.AbstractObjectOutput | |
| METHOD writeObject(Object) | |
| AT ENTRY | |
| BIND nullobj : java.lang.Object = null | |
| IF TRUE | |
| DO System.out.println("Write type=" + ($1 == nullobj ? "NULL" : $1.getClass().getName())) | |
| ENDRULE |