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)
default parametre :
- org.objectweb.jonas_ejb.tools.GenIC for JOnAS 2.2 & 2.3
- org.objectweb.jonas_ejb.tools.GenWholeIC for JOnAS 2.4
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.
default parametre : please give true or false
JONAS.JAR.VERBOSE : show verbose informations for jar after compilation. DEPRECATED
default parametre : please give true or false
JONAS.DTD.EJB : path to the EJB1.1 DTD
default parametre : (for example)
- file:///jonas/xml/ejb-jar_1_1.dtd
JONAS.DTD.JONAS : path to the JOnAS deployment DTD
default parametre : (for example)
- file:///jonas/xml/jonas-ejb-jar.dtd
JONAS.TARGETING.XML_REPLACE : the header to replace in ejb-jar.xml to be compatible with GenIC
default parametre :
- <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
JONAS.TARGETING.XML_REPLACE_WITH : the replacement header in ejb-jar.xml to be compatible with GenIC
default parametre : (please do not use $(JONAS.DTD.EJB), give the correct value)
- <!DOCTYPE ejb-jar SYSTEM "$(JONAS.DTD.EJB)">
JONAS.TARGETING.AUTO_UPDATE : calculate or not the jonas-ejb.xml in an EJBGroup,
use this for desactivate, if there is a big bug.
default parametre : use true or false
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).
default parametre : please use true or false
JONAS.JAVAC.BCJ : the path to the BCJ, leave blank to use default javac
default parametre :
- /usr/local/jbuilder4/bin/bcj : on Unix
- c:\jbuilder4\bin\bcj : on Win32 (not bcjw)
- but you can also use c:\jdk1.3\bin\javac
JONAS.REGISTRY.JEREMIE : class for Jeremie Registry
default parametre :
- org.objectweb.jeremie.libs.services.registry.JRMIRegistry
JONAS.IS_ENHYDRA : force the AppServer to be Enhydra, and the
directory isn't tested.
default parametre : (use 'true' to enable it)
JONAS.GENERATEDSOURCE.DIR : the name of the directory to use to generate
stub and jonas java files in the classes directory.
default parametre : GeneratedSource
JONAS.ADMIN.CLASS : the class of the admin program for HotDeploy and EJB list
from JBuilder 5.
default parametre : org.objectweb.jonas.adm.JonasAdmin
JONAS.PARAM.EJB_DESCRIPTORS : the flag (-D) to specify list of EJB descriptors.
- jonas.beans.descriptors for JOnAS 2.2 - 2.3
- jonas.service.ejb.descriptors for JOnAS 2.4
JONAS.PARAM.DATASOURCES : the flag (-D) to specify list of datasource files.
- jonas.datasources for JOnAS 2.2 - 2.3
- jonas.service.dbm.datasources for JOnAS 2.4
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