Thursday, March 21, 2019

 -- Starting Minishift VM ..... FAIL E0321 11:29:07.578030  
21298 start.go:494] Error starting the VM: Error creating the VM. Error with pre-create check: "Error detecting VBox version: exit status 126". Retrying.  
Error starting the VM: Error creating the VM. Error with pre-create check: "Error detecting VBox version: exit status 126"  

I got the above error while firing up Minishift to run through Rafaele Benevides Istio Tutorial for Red Hat Developers, which you can find here:

The error is related to an incomplete uninstall of Virtual Box.  The solution is simple: download Virtual Box and run the Uninstall Tool.

Tuesday, April 17, 2018

How to let Arquillian know that JBoss is running on localhost

Just add the following to the configuration section:


My complete file was:

   <container qualifier="jboss" default="true">
        <!-- By default, Arquillian will use the JBOSS_HOME environment variable to find the JBoss EAP installation.
             If you prefer not to define the JBOSS_HOME environment variable, alternatively you can uncomment the
             following `jbossHome` property and replace EAP_HOME with the path to your JBoss EAP installation. -->
            <property name="managementAddress">${}</property>
            <property name="jbossHome">/Users/jeremydavis/Workspace/summit/jboss-eap-7.1</property>

Thursday, February 25, 2016

Failed to link org/wildfly/swarm/container/runtime/RuntimeServer

I got the following error running the WildFly Swarm jaxrs-cdi example:

 Exception in thread "main" java.lang.reflect.InvocationTargetException  
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
      at sun.reflect.NativeMethodAccessorImpl.invoke(  
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(  
      at java.lang.reflect.Method.invoke(  
      at org.wildfly.swarm.bootstrap.Main.invoke(  
      at org.wildfly.swarm.bootstrap.Main.main(  
 Caused by: java.lang.NoClassDefFoundError: Failed to link org/wildfly/swarm/container/runtime/RuntimeServer (Module "org.wildfly.swarm.container:runtime" from BootModuleLoader@29ca901e for finders [BootstrapClasspathModuleFinder, BootstrapModuleFinder(org.wildfly.swarm.bootstrap:main), ClasspathModuleFinder, ApplicationModuleFinder(swarm.application:main)]): org/wildfly/swarm/container/Server  
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(  
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(  
      at java.lang.reflect.Constructor.newInstance(  
      at org.jboss.modules.ModuleClassLoader.defineClass(  
      at org.jboss.modules.ModuleClassLoader.loadClassLocal(  
      at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(  
      at org.jboss.modules.Module.loadModuleClass(  
      at org.jboss.modules.ModuleClassLoader.findClass(  
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(  
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(  
      at org.jboss.modules.ConcurrentClassLoader.loadClass(  
      at org.wildfly.swarm.container.Container.createServer(  
      at org.wildfly.swarm.container.Container.<init>(  
      at org.wildfly.swarm.container.Container.<init>(  
      at org.wildfly.swarm.Swarm.simpleMain(  
      at org.wildfly.swarm.Swarm.main(  
      ... 7 more  

The fix was pretty simple: rebuild WildFly Swarm itself.  After a quick mvn clean install everything was up and running.

Wednesday, November 25, 2015

Apache on OSX Yosemite

I was recently doing some web stuff on my laptop for the first time in a while. I could pull up the "It Works!" page, but nothing else.
This Apple forum post solved it.
Blogged here to help search results :)

Sunday, October 25, 2015



My fifth JavaOne started today.  I attended a Java University class.  It was interesting to be on the other side of that sort of presentation.

Red Hat is well represented this year.  There is a microsite on Red Hat Developer.

Stop by the Red Hat booth in the vendor hall if you are attending.  We have presentations all day long, and there is a rumor about trucker hats...

The agenda at our booth this week:

Monday, October 26th

10:15 - 11:00 
Standardized Extension-Building in Java EE with CDI and JCA

- Jason Porter

11:45 - 12:30
Taming Microservices Testing with Arquillian Cube
- Aslak Knutsen, Alex Soto & Bartosz Majsak

1:45 - 2:30
Docker for Java EE Developers
- Rafael Benevides & Markus Eisele

3:30 -  4:15
Shenandoah: An Ultralow-Pause-Time Garbage Collector for OpenJDK
- Christine H. Flood

Friday, June 19, 2015