Monday, August 25, 2014

ROSHKERITOS DAY V.1.0


ROSHKERITOS D@Y

De los creadores de los UVDM’s y Día de la Amistad @Roshka, el día Sábado 23 de agosto, se realizó el gran evento “Roshkeritos day”, esta vez dedicado a los más pequeños: hijos/as y sobrinos/as de los integrantes de la gran familia de la Roshka.

Como 30 niños vinieron a jugar y a conocer los puestos de trabajo de sus papis y pasaron una tarde súper divertida. Hubo globo loco, tobogán gigante, caras pintadas, mimos, globos con formas, piñata, sorpresitas y merienda.

La actividad fue increíble desde todos los puntos de vista. Los roshkeros pudimos compartir con la familia y conocer las familias de los compañeros, los niños se divirtieron muchísimo y sobre todo los padres y encargados. Además que pudimos conocer otras facetas de las personas a las que generalmente les vemos frente a una computadora codificando todo el día.

Agradecemos a la Roshka por brindarnos este espacio y sobre todo a todos los que se prendieron! Al tío Juan Caballero una mención especial por su estelar aparición como mimo!

Por muchos festejos más! Salud!


Friday, August 1, 2014

Monitoring running Wildfly (AKA JBoss Community) applications remotely

There are a lot of scenarios I can think of where you want to monitor Wildfly running applications. These come to mind:


  • Detecting memory leaks
  • Detecting CPU hogs
  • Detecting thread deadlocks
jvisualvm is a java bundled tool (and I quote):

that provides a visual interface for viewing detailed information about Java applications while they are running on a Java Virtual Machine (JVM)
If you want to use it with a local running application, it's quite straightforward. Just launch jvisualvm and your running java application server will be listed on the local processes:



Just double click on the org.jboss.modules.Main icon, and you're all set.

Now, if you want to do the same with a remotely running application server, Wildfly comes with everything you need to do it, out of the box.

You will have to launch jvisualvm with additional classes on classpath like this:

jvisualvm --cp:a $JBOSS_HOME/bin/client/jboss-cli-client.jar
Here, $JBOSS_HOME is an environment variable, pointing to your local Wildfly installation (despite you are running Wildfly remotely, you still need this library locally). You will need access to the administration console. By default, you can access it through the 9990 port like this:

http://192.168.67.67:9990

If you can't access it (by default, Wildfly only binds that port to the 127.0.0.1 interface), you can change your Wildfly configuration to allow LAN access to that port, or use a SSH TUNNEL (this sounds harder, but it's simpler actually).

Now, with jvisualvm running, and making sure you have access to the Administration Console within the monitoring workstation, just follow these three simple steps:

1. Right click on Remote icon and select "Add Remote Host..." option. Then you set your remote server's IP address.



2. You will get a new icon labeled "my_remote_server" (or whatever you set up on "Display name" text box). Right click that new icon and select "Add JMX connection..." option.


3. Setup the JMX connection with the following URL, username, and password.

  • service:jmx:http-remoting-jmx://192.168.67.67:9990
  • admin
  • password
Assuming, admin is a Administration Console enabled user with the right privileges.


That's it. Happy debugging!