JOnAS Tips

Overview

This document contains tips on using JOnAS version 4.1.2


Logging

This version of JOnAS uses Log4j. Properties are set in $JONAS_ROOT/conf/trace.properties.

For most applications, provide four entries similar to the following for each class:

  • logger.my.class.handler.0 tty
  • logger.my.class.handler.1 logf
  • logger.my.class.additivity false
  • logger.my.class.level DEBUG

System Properties

This can be defined on JOnAS startup. E.g.

  • $JONAS_ROOT/bin/unix/jonas -Dmy.system.property=myValue start

A more permanent solution is to modify the JONASOPTS setting in the jonas startup file. On unix this is $JONASROOT/bin/unix/jonas.


Links


-- Frank Dean - 18 Mar 2005