Skip to content

Instantly share code, notes, and snippets.

@mgreau
mgreau / gist:ce91843774657a4670e6
Created February 28, 2015 18:35
Arquillian Cube nullpointer log
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project docker-asciidoctorj: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: There was an error in the forked process
[ERROR] org.apache.maven.surefire.testset.TestSetFailedException: java.lang.RuntimeException: Could not run @AfterSuite
[ERROR] at org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:213)
[ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:133)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
[ERROR] Caused by: java.lang.RuntimeException: Could not run @AfterSuite
[ERROR] at org.jboss.arquillian.junit.Arquillia
@mgreau
mgreau / index.adoc
Last active August 29, 2015 14:07 — forked from thom4parisot/index.adoc
link:source.js[role=include]

is rendered as…

@mgreau
mgreau / install-and-run.adoc
Last active August 29, 2015 14:06
JBoss Forge Asciidoctor addon

JBoss Forge Asciidoctor addon

Note

JBoss Forge needs to be installed.

More info on the JBoss Forge website.

@mgreau
mgreau / dzslides_iframe.html
Last active August 29, 2015 13:56
DZslides Navigation doesn't work beacause of the iframe
<html>
<body>
<div class="panel-body" style="padding:0px;">
<p ng-show="!theHtml5.output" class="ng-hide">DZslides Navigation doesn't work beacause of the iframe.</p>
<iframe sandbox="allow-same-origin allow-scripts allow-popups allow-forms" ng-show="theHtml5.output" fullscreen="isRenderFullscreen" id="html5-rendered" srcdoc="&lt;!DOCTYPE html&gt;&lt;html lang=&quot;en&quot; class=&quot;aspect-4-3&quot;&gt;&lt;head&gt;&lt;meta charset=&quot;UTF-8&quot; /&gt;&lt;meta name=&quot;generator&quot; content=&quot;Asciidoctor 1.5.0.preview.1, dzslides backend&quot; /&gt;&lt;title&gt;Quand WebSocket rencontre AsciiDoctor&lt;/title&gt;&lt;meta name=&quot;author&quot; content=&quot;Maxime Greau&quot; /&gt;&lt;meta name=&quot;copyright&quot; content=&quot;CC BY-SA 2.0&quot; /&gt;&lt;meta name=&quot;presdate&quot; content=&quot;Feb 17, 2014&quot; /&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;http://fonts.googleapis.com/css?family=Oswald&quot; /&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;./dzslides/theme
@mgreau
mgreau / openshift_start_capedwarf_wfly
Last active January 2, 2016 04:59
start action_hook file to download and start CapeDwarf WildFly on OpenShift
set -x
APP_SERVER=CapeDwarf_WildFly_2.0.0.Beta1
DWLD_URL=http://downloads.jboss.org/capedwarf/CapeDwarf_WildFly_2.0.0.Beta1.zip
ZIP=CapeDwarf_WildFly_2.0.0.Beta1.zip
cd $OPENSHIFT_DATA_DIR
if [ -d $OPENSHIFT_DATA_DIR/$APP_SERVER ]
then
cp $OPENSHIFT_REPO_DIR/diy/*.war $OPENSHIFT_DATA_DIR/$APP_SERVER/standalone/deployments
cd $OPENSHIFT_DATA_DIR/$APP_SERVER
nohup bin/standalone.sh -c standalone-capedwarf.xml -b $OPENSHIFT_DIY_IP -bmanagement=$OPENSHIFT_DIY_IP > $OPENSHIFT_DIY_DIR/logs/server.log 2>&1 &