Configuration

Configuration keys

You can find a config file "jonasOpenTool.properties" in your home directory (~/.jbuilder4/jonasOpenTool.properties or c:\windows\.jbuilder4\jonasOpenTool.properties)
In most case, you don't have to modify these parametres.

  • JONAS.PATH : for exemple c:\jonas
  • JONAS.CLASSES : default classes to add to run server (use ; for separate), it isn't very useful.
  • JONAS.DEPLOYMENT_TOOL.CLASS : a tool for deployment (GenIC for example)
  • JONAS.DEPLOYMENT_TOOL.PARAM : default params for tool deployment. DEPRECATED
  • JONAS.DEPLOYMENT_TOOL.AUTO : Active or desactive auto generate stub after compilation. It's the default value. You can specify a value for each project.
  • JONAS.JAR.VERBOSE : show verbose informations for jar after compilation. DEPRECATED
  • JONAS.DTD.EJB : path to the EJB1.1 DTD
  • JONAS.DTD.JONAS : path to the JOnAS deployment DTD
  • JONAS.TARGETING.XML_REPLACE : the header to replace in ejb-jar.xml to be compatible with GenIC
  • JONAS.TARGETING.XML_REPLACE_WITH : the replacement header in ejb-jar.xml to be compatible with GenIC
  • JONAS.TARGETING.AUTO_UPDATE : calculate or not the jonas-ejb.xml in an EJBGroup, use this for desactivate, if there is a big bug.
  • JONAS.TARGETING.DEFAULT_JDNI_DB : name for a JNDI database when unknown
  • JONAS.TARGETING.GENERATE_DATASOURCE_INFO : generate properties files in JBProject directory about datasource if needed (for example : Oracle.properties, PostGres.properties).
  • JONAS.JAVAC.BCJ : the path to the BCJ, leave blank to use default javac
  • JONAS.REGISTRY.JEREMIE : class for Jeremie Registry
  • JONAS.IS_ENHYDRA : force the AppServer to be Enhydra, and the directory isn't tested.
  • JONAS.GENERATEDSOURCE.DIR : the name of the directory to use to generate stub and jonas java files in the classes directory.
  • JONAS.ADMIN.CLASS : the class of the admin program for HotDeploy and EJB list from JBuilder 5.
  • JONAS.PARAM.EJB_DESCRIPTORS : the flag (-D) to specify list of EJB descriptors.
  • JONAS.PARAM.DATASOURCES : the flag (-D) to specify list of datasource files.
  • JONAS.IS24 : JOnAS 2.4 and greater or not. Use true or false.


  • Informations about JOnAS OpenTool : http://www.ingenosya.com/jonas_opentool.php3

    Author : Cyrille Morvan cmorvan(@)ingenosya.com