Mostrando entradas con la etiqueta jboss. Mostrar todas las entradas
Mostrando entradas con la etiqueta jboss. Mostrar todas las entradas

jueves, 24 de septiembre de 2009

JBoss Drools 5 videos



Great new features

Iniciativas de comunidad en la argentina

En Argentina ya tenemos Jboss User Group! Es importante que nos unamos para hacer una comunidad vibrante y llena de actividad en beneficio de todos: Compartir experiencias y hasta modificar el rumbo de las aplicaciones para que contemplen las realidad latinoamericanas!

miércoles, 30 de julio de 2008

Dumping threads for debugging pourposes

If you don't have a profiler application in production environments you can check out the thread stack on the fly by using this JBoss JMX console MBean to do a very verbose thread dump.
It's a JVM feature, you can do it using jconsole too.

miércoles, 28 de noviembre de 2007

JBoss stupid configuration errors

Why on earth the JBoss people doesn't warn about connection pooling? The stale connection are very common. What happens when the server has a smaller timeout time for the connection than the application server?
Answer: the connection becomes stale. It doesn't work anymore. Some drivers such as jTDS or DB2 jcc have this behavior.
The best thing you can do is add the following tag to your datasource XML:

<check-valid-connection-sql> SELECT 1</check-valid-connection-sql>

The SQL statement can be anything useful to you. Be sure not to do something crazy such as a join. The only requirement is that the SQL must execute OK, otherwise JBoss creates a fresh connection.