Skip to content

Instantly share code, notes, and snippets.

View synfinatic's full-sized avatar

Aaron Turner synfinatic

View GitHub Profile
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002ac85eebb9de, pid=10737, tid=1181026624
#
# JRE version: 6.0_27-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x3dc9de] constantPoolOopDesc::klass_at_impl(constantPoolHandle, int, Thread*)+0x4e
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000036b4207b35, pid=30854, tid=47571029433040
#
# JRE version: 6.0_27-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libpthread.so.0+0x7b35] pthread_join+0x125
#
@synfinatic
synfinatic / gist:4962190
Created February 15, 2013 18:08
Hector exception
me.prettyprint.hector.api.exceptions.HectorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
me.prettyprint.hector.api.exceptions.HectorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
me.prettyprint.hector.api.exceptions.HectorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
me.prettyprint.hector.api.exceptions.HectorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
me.prettyprint.hector.api.exceptions.HectorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
me.prettyprint.hector.api.exceptions.HectorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
me.prettyprint.hector.api.exceptions.HectorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
me.prettyprint.hector.api.exceptions.HectorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
me/prettyprint/cassandra/service/ExceptionsTranslatorImpl.java:67:in `translate'
me/prettyprint/cassandra/connection/HConnectionManager.java:264:in `ope
@synfinatic
synfinatic / gist:5136439
Created March 11, 2013 18:29
Torquebox startup failure
~/torquebox-2.3.0/jboss/bin/standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/tools/torquebox-2.3.0/jboss/
JAVA: /usr/java/latest/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -Xms128m -Xmx8g -XX:MaxPermSize=512m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml -XX:ReservedCodeCacheSize=128m -Duser.timezone=GMT -Xss2048k -Djruby.compile.invokedynamic=false -Dorg.quartz.scheduler.skipUpdateCheck=true
@synfinatic
synfinatic / gist:5136724
Last active December 14, 2015 19:29
standalone.xml diff
diff standalone.xml.orig standalone.xml
1c1
< <?xml version='1.0' encoding='UTF-8'?>
---
> <?xml version='1.0' encoding='UTF-8'?>
44a45
>
47a49
> <property name='org.torquebox.web.http.maxThreads' value='200'/>
23:05:17,907 INFO [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:/queues/targets
23:05:17,907 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-7) trying to deploy queue jms.queue./queues/inmontargets
23:05:17,908 INFO [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:/queues/inmontargets
23:05:17,909 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-7) trying to deploy queue jms.queue./queues/torquebox/spider/tasks/torquebox_backgroundable
23:05:17,910 INFO [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:/queues/torquebox/spider/tasks/torquebox_backgroundable
23:05:17,960 INFO [org.quartz.core.SchedulerSignalerImpl] (MSC service thread 1-7) Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
23:05:17,970 INFO [org.quartz.core.QuartzScheduler] (MSC service t
@synfinatic
synfinatic / gist:5267144
Created March 28, 2013 21:52
HornetQ/job failure
21:46:39,581 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR: javax.transaction.xa.XAException: Error trying to co
nnect to any providers for xa recovery
at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.getDelegate(HornetQXAResourceWrapper.java:275) [hornetq-jms-2.2.13.Final.jar:]
at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.recover(HornetQXAResourceWrapper.java:77) [hornetq-jms-2.2.13.Final.jar:]
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecovery(XARecoveryModule.java:503) [jbossjts-4.16.2.Final.jar:]
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecoveryForRecoveryHelpers(XARecoveryModule.java:471) [jbossjts-4.16.2.Final.jar:]
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:385) [jbossjts-4.16.2.Final.jar:]
at com.arjuna.ats.
16:25:00,001 ERROR [org.torquebox.core.runtime] (JobScheduler$spider-knob.yml_Worker-1) Error during evaluation: begin; require %q(torquebox-messaging); true; rescue LoadError; $stderr.puts 'ERROR: torquebox-messaging gem not loaded - skipping destination injection'; false; end: java.lang.ArrayIndexOutOfBoundsException
16:25:00,001 INFO [org.quartz.core.JobRunShell] (JobScheduler$spider-knob.yml_Worker-1) Job spider-knob.yml.publishtargets threw a JobExecutionException: : org.quartz.JobExecutionException: java.lang.ArrayIndexOutOfBoundsException [See nested exception: java.lang.ArrayIndexOutOfBoundsException]
at org.torquebox.jobs.RubyJobProxy.execute(RubyJobProxy.java:67) [torquebox-jobs.jar:2.3.0]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz.jar:]
Caused by: java.lang.ArrayIndexOutOfBoundsException
@synfinatic
synfinatic / tcpliveplay-fix.patch
Created April 28, 2013 16:29
Patch for tcpreplay issue #4
--- src/tcpliveplay.c 2013-04-18 16:05:51.000000000 +0200
+++ /tmp/c/tcpreplay-3.4/src/tcpliveplay.c 2013-04-18 16:03:08.000000000 +0200
@@ -1051,26 +1051,14 @@
}
/*Calculate & fix checksum for newly edited-packet*/
13:11:54,903 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015004: Caught exception writing deployment marker file /home/tools/torquebox/jboss/standalone/deployments/spider-devel-knob.yml.pending: java.io.FileNotFoundException: /home/tools/torquebox/jboss/standalone/deployments/spider-devel-knob.yml.pending (Too many open files)
at java.io.FileOutputStream.open(Native Method) [rt.jar:1.6.0_33]
at java.io.FileOutputStream.<init>(FileOutputStream.java:194) [rt.jar:1.6.0_33]
at java.io.FileOutputStream.<init>(FileOutputStream.java:145) [rt.jar:1.6.0_33]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:892) [jboss-as-deployment-scanner-7.1.x.incremental.129.jar:7.1.x.incremental.129]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2600(FileSystemDeploymentService.java:84) [jboss-as-deployment-scanner-7.1.x.incremental.129.jar:7.1.x.increme