Category: Application servers

JBOSS – Changing connection pool size with JMX

Enable password in JBOSS_HOME/server/JBOSS_SERVER_NAME/conf/props/jmx-console-users.properties You can then punch in bean calls such as the following… [sa-jboss@servername ~]$ /usr/local/jboss/bin/twiddle.sh –server=servername:1599 -u admin -p admin get “jboss.jca:service=ManagedConnectionPool,name=atgcatalogb_ds” MinSize MinSize=10 [sa-jboss@servername ~]$ /usr/local/jboss/bin/twiddle.sh –server=servername:1599 -u admin -p admin set “jboss.jca:service=ManagedConnectionPool,name=atgcatalogb_ds” MinSize 40 MinSize=40…

Weblogic stuck thread printer

This is a useful script for crawling the Weblogic domain logs and printing threads that have been stuck, as well as the duration they were stuck. It doesn’t include the initial ten minute (default) window before a log entry is…

JNLP Example

Java Web Start is the technology that allows a user to run java from their local device. The software that is run is loaded from a server via a directive in a JNLP file on the server. It is downloaded…