Skip to content

Instantly share code, notes, and snippets.

View rhusar's full-sized avatar

Radoslav Husar rhusar

View GitHub Profile
@rhusar
rhusar / gist:2277478
Created April 1, 2012 18:16
clustering bug
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6">
<display-name>clusterbench-ee6-ear</display-name>
<module>
<ejb>clusterbench-ee6-ejb-1.0.0-SNAPSHOT.jar</ejb>
</module>
<module>
<web>
<web-uri>clusterbench-ee6-web-1.0.0-SNAPSHOT.war</web-uri>
<context-root>/clusterbench-ee6-web</context-root>
2012-04-05 13:30:12,513 ERROR [DistCacheStoreTxDisjointSetTest] (testng-DistCacheStoreTxDisjointSetTest) Error in test setup:
org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:222)
at org.infinispan.manager.DefaultCacheManager.wireCache(DefaultCacheManager.java:683)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:648)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:518)
at org.infinispan.test.MultipleCacheManagersTest.getCaches(MultipleCacheManagersTest.java:265)
at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:272)
at org.infinispan.test
2012/04/19 10:55:53:029 EDT [INFO ][TestController] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Starting Apache httpd.
2012/04/19 10:55:53:037 EDT [DEBUG][TestController] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Adding httpd0 as a child
2012/04/19 10:55:53:058 EDT [DEBUG][TestController] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Reading config.
2012/04/19 10:55:53:058 EDT [DEBUG][TestController] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Stopping running Apache httpd:killall httpd.worker
2012/04/19 10:55:55:123 EDT [DEBUG][TestController] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Starting Apache httpd:/usr/sbin/httpd.worker -d /tmp/hudson/httpd
2012/04/19 10:56:31:404 EDT [INFO ][TestController] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Starting driver.
2012/04/19 10:56:31:405 EDT [DEBUG][TestController] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Setting thread count: 200, was: 0
2012/04/19 10:56:31:492 EDT [DEBUG][TestController
@rhusar
rhusar / gist:2503276
Created April 26, 2012 21:10
JBPAPP-8740
https://hudson.qa.jboss.com/hudson/job/eap-6x-stress-http-repl-sync-session/55/console-perf20/consoleText
[JBossINF] 16:47:17,871 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (OOB-4526,null) ISPN000136: Execution error:
org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [15 seconds] on key [ChaNwEWMAK5VHQQZscv9c78x] for requestor
[GlobalTransaction:&lt;perf21/web>:2726711:remote]! Lock held by [GlobalTransaction:&lt;perf21/web>:2726076:remote]
[JBossINF] at org.infinispan.util.concurrent.locks.LockManagerImpl.lock(LockManagerImpl.java:216)
[JBossINF] at org.infinispan.util.concurrent.locks.LockManagerImpl.acquireLock(LockManagerImpl.java:189)
[JBossINF] at org.infinispan.util.concurrent.locks.LockManagerImpl.acquireLock(LockManagerImpl.java:179)
[JBossINF] at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lockKeyAndCheckOwnership(AbstractTxLockingInterceptor.java:209)
[JBossINF] at org.infinispan.interceptors.locking.AbstractTxLockingInt
@rhusar
rhusar / gist:2567394
Created May 1, 2012 11:12
Who holds the wicked lock?!
[JBossINF] 00:11:30,039 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (OOB-7603,null) ISPN000136: Execution error: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [15 seconds] on key [RQNM9vvxQsPpRVFVZvUcqLb3] for requestor [GlobalTransaction:&lt;perf21/web>:5475024:remote]! Lock held by [GlobalTransaction:&lt;perf21/web>:5473396:remote]
[JBossINF] 00:11:30,048 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (OOB-7268,null) ISPN000136: Execution error: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [15 seconds] on key [xsYE2BM7Q2fvpD+Vrrkl4LfS] for requestor [GlobalTransaction:&lt;perf21/web>:5475030:remote]! Lock held by [GlobalTransaction:&lt;perf21/web>:5473868:remote]
[JBossINF] 00:11:30,067 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (OOB-7680,null) ISPN000136: Execution error: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [15 seconds] on key [gwlXwpMxtafdg
@rhusar
rhusar / CloseCustomContainersOnAfterSuiteExtension.java
Created May 7, 2012 15:59 — forked from aslakknutsen/CloseCustomContainersOnAfterSuiteExtension.java
Arquillian Custom mode containers are not stopped on AfterSuite by default, their lifecyle is left completely up to the user/extensions. Example of a little extension that will stop the custom containers on AfterSuite.
/*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
13:10:58,396 ERROR [org.infinispan.cacheviews.CacheViewsManagerImpl] (CacheViewInstaller-3,perf18/ejb) ISPN000172: Failed to prepare view CacheView{viewId=16, members=[perf19/ejb, perf18/ejb, perf20/ejb]} for cache org.jboss.test.clusterbench.ejb.stateful.RemoteStatefulSBImpl, rolling back to view CacheView{viewId=15, members=[perf21/ejb, perf18/ejb, perf19/ejb]}: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228) [rt.jar:1.6.0_30]
at java.util.concurrent.FutureTask.get(FutureTask.java:91) [rt.jar:1.6.0_30]
at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterPrepareView(CacheViewsManagerImpl.java:318) [infinispan-core-5.1.4.FINAL.jar:5.1.4.FINAL]
at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterInstallView(CacheViewsManagerImpl.java:249) [infinispan-core-5.1.4.FINAL.jar:5.1.4.FINAL]
at org.infinispan.cacheviews.CacheViewsManagerImpl$ViewInstallationTask.call(CacheViewsManagerImpl.java:875) [infinispan-core-5.1.4.FINAL.jar:5.1.4.FINA
NetBeans: Executing '/opt/apache-maven-2.0.11/bin/mvn clean install'
NetBeans: JAVA_HOME =/usr/java/latest
Scanning for projects...
snapshot org.jboss.smartfrog:jboss-smartfrog-parent:0.2.0-SNAPSHOT: checking for updates from jboss-qa-releases
------------------------------------------------------------------------
Building sf-clustering-ejb3 0.2.0-SNAPSHOT
task-segment: [clean, install]
------------------------------------------------------------------------
[clean:clean {execution: default-clean}]
Deleting directory /home/rhusar/svn/load-testing/sf-components/project-clustering-ejb3/trunk/target
@rhusar
rhusar / gist:2897454
Created June 8, 2012 18:31
trouble ;-(
[rhusar@rhusar tmp]$ cat consoleText | grep "Runner - 1026"
2012/06/08 14:28:38:150 EDT [DEBUG][RMI TCP Connection(9)-10.16.90.52][Runner - 1026] Using #0 URL: http://perf20:8080/clusterbench/session
2012/06/08 14:28:42:782 EDT [INFO ][Runner - 1026][HttpSessionInvalidatorFactory] First request. Will expire after: 392515 ms.
2012/06/08 14:28:43:531 EDT [DEBUG][Runner - 1026]Session assigned: es8rAfilq7y4OTNYitWbhRUL
2012/06/08 14:28:43:624 EDT [DEBUG][Runner - 1026]JvmRoute assigned: perf19
2012/06/08 14:29:19:757 EDT [INFO ][Runner - 1026][FailoverRequestProcessorFactory] Trying to emulate failover, changing route information.
2012/06/08 14:29:19:758 EDT [INFO ][Runner - 1026][FailoverRequestProcessorFactory] Previously visited nodes: [perf19].
2012/06/08 14:29:19:758 EDT [INFO ][Runner - 1026][FailoverRequestProcessorFactory] Changing cookie JSESSIONID es8rAfilq7y4OTNYitWbhRUL.perf19 to es8rAfilq7y4OTNYitWbhRUL.perf18
2012/06/08 14:29:19:758 EDT [INFO ][Runner - 1026][FailoverRequestProcessorFactory] Thre
[rhusar@rhusar sfrpm]$ sfDaemon
Listening for transport dt_socket at address: 8787
SmartFrog 3.17.014 (2009-07-27 16:11:39 BST)
(C) Copyright 1998-2009 Hewlett-Packard Development Company, LP
2012/06/15 10:30:11:420 CEST [WARN ][main] SFCORE_LOG - SmartFrog security is NOT active
SmartFrog ready... [rootProcess:3800] Fri Jun 15 10:30:12 CEST 2012