Arun Gupta is a technology enthusiast, avid runner, author of a best-selling book, globe trotter, a community guy, Java Champion, JavaOne Rockstar, JUG Leader, Minecraft Modder, Devoxx4Kids-er, and a Red Hatter.
WildFly is a lightweight, extremely flexible, highly manageable, Java EE 7 compliant, open source Application Server. Raspberry Pi (a.k.a. Raspi) is a credit-card sized computer that plugs into a computer monitor or TV, and uses a standard USB keyboard and mouse. It was created with the intention of promoting teaching of basic computer science in schools.
This tech tip will show how you can get WildFly running on Raspberry Pi.
The latest model of Raspi is Model B that consists of:
Raspi does not come with a storage device, not even for the operating system. But there is a slot for SD card that can be used for booting and persistent storage.
So, what else do you need to get going ?
The original intention of Raspi was to promote teaching of basic computer science in schools. But people have all sorts of fun things with Raspi, including a super computer.
Lets get started!
Clicking on “Yes” will start the Raspbian installation.
The following message is shown when operating system is completed installed:
Or a more close up view:
This will bring you to the shell. Type “startx” to start the GUI which looks like as
I had to manually change the value of Authentication from “WPA2-Personal (PSK)” to “WPA-Personal (PSK)”. Enter the wireless password and click on “Add”. The following window should be shown:
Unzip WildFly as:
Error occurred during initialization of VM Server VM is only supported on ARMv7+ VFP
This can be easily worked around by editing “wildfly-8.1.0.CR2/bin/standalone.sh” as:
And removing line 214 and 215 which looks like:
213 PREPEND_JAVA_OPTS="$PREPEND_JAVA_OPTS -client" 214 else 215 PREPEND_JAVA_OPTS="$PREPEND_JAVA_OPTS -server" 216 fi 217 fi
WildFly can now be easily started by giving the command “”wildfly-8.1.0.CR2/bin/standalone.sh” and shows the output as:
What crazy thing are you going to use WildFly and Raspberry Pi for now ?