Monday, 28 March 2016

How to provide Server and services configuration in JOnAS ?


$JONAS_BASE/ conf/ jonas.properties is the key file for configuring JOnAS.
It is used for :
  • setting some global properties for the JOnAS instance
  • choosing the list of JOnAS services to be launched at startup
  • customizing each services

Global properties

# Name of the JOnAS server. Default value is "jonas"
jonas.name    jonas
# Name of the JOnAS domain. Default value is "jonas"
domain.name    jonas
# Enable the Security context propagation (for jrmp)
jonas.security.propagation    true
# Enable the Security manager. Default value is true (if not set)
# Setting this to false implies a collocated registry and setting in carol.properties : 
# carol.jvm.rmi.local.registry=true
jonas.security.manager    false
# Enable csiv2
jonas.csiv2.propagation   true
# Enable the Transaction context propagation
jonas.transaction.propagation    true
# Set the name of log configuration file
jonas.log.configfile    trace
# Set to true if the server is a master
jonas.master    false
# Set to true in order to execute the JOnAS Server in development mode.
# WAR archive deployment case in development mode (for single or EAR packaged WARs):
# Each modified WAR archive will be unpacked in the working directory of the JOnAS Server in a different folder to avoid file locks. This is especially useful in a Windows environment.
jonas.development    true
# Jonas services
jonas.services jtm,security,resource,ejb3,jaxws,web,ear,depmonitor,jmx,dbm

No comments:

Post a Comment

Note: only a member of this blog may post a comment.