Bitnami JBoss

NOTE: Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under "Start -> Bitnami APPNAME Stack -> Application console" (Windows). Learn more.

JBoss is an open source application server for Java applications.

How to debug errors?

The main JBoss log file is created at installdir/jboss/standalone/log/jboss.out.

How to change the Java memory settings for JBoss?

If you find an error similar to this, you will need to increase the Java memory settings for JBoss:

java.lang.OutOfMemoryError: PermGen space

Follow these steps:


  • Edit the installdir/jboss/scripts/setenv.bat file and increase the Java settings. For example:

     SET JAVA_OPTS="%JAVA_OPTS% -XX:MaxPermSize=1024m -Xmx1024m"
  • Uninstall and install the service again. Run the following commands from an elevated command prompt:

     cd installdir
     serviceinstall.bat UNINSTALL  (this command will close your current window)
     serviceinstall.bat INSTALL

How is Apache server connected with JBoss?

Bitnami stacks include the Apache Web server. There are different ways to connect these two servers. One of this is connecting through the AJP protocol.

To make them work together, enable the and modules in installdir/apache2/conf/httpd.conf. Then, add the following lines to the installdir/jboss/conf/jboss.conf file:

<Location /your_application_url>
  ProxyPass ajp://localhost:8009/your_application_url
NOTE: When running the commands shown on this page, replace the installdir placeholder with the full installation directory for your Bitnami stack.

Bitnami Documentation