Configuring Logging System (Monolog) - Red Hat APPLICATION SERVER - JONAS Manual

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

24
You can configure JOnAS to use several protocols simultaneously. To do this, just specify a comma-
separated list of protocols in the
example:
# jonas rmi activation (choose from jrmp, iiop, and cmi)
carol.protocols=jrmp,iiop
3.3.2. Security and Transaction Context Propagation
JOnAS implements EJB security and transactions by using the communication layer to propagate
the security and transaction contexts across method calls. By default, the communication proto-
col is configured for context propagation. However, this configuration can be changed by disabling
the context propagation for security and/or transaction; this is done primarily to increase perfor-
mance. The context propagation can be configured in the
jonas.security.propagation
:
false
# Enable the Security context propagation
jonas.security.propagation
# Enable the Transaction context propagation
jonas.transaction.propagation
3.3.3. Multi-protocol Deployment (GenIC)
The JOnAS deployment tool (GenIC) must be told which protocol stubs (for remote invocation) are to
be generated. Choosing several protocols will eliminate the need to redeploy the EJBs when switching
from one protocol to another. The default is that GenIC generates stubs for
configuration, call GenIC as described in Section 6.5 GenIC. Use the
a comma-separated list of protocols (chosen from
GenIC -protocols jrmp,iiop
This list of protocols can also be specified for Ant EJB tasks (refer to Chapter 27 Ant EJB Tasks:
Using EJB-JAR):
jonas destdir="${dist.ejbjars.dir}"
jonasroot="${jonas.root}"
protocols="jrmp,iiop"
keepgenerated="true"
verbose="${verbose}"
mappernames="${mapper.names}"
additionalargs="${genicargs}"
/jonas
3.4. Configuring Logging System (monolog)
The logging system is based on Monolog, the standard API for ObjectWeb projects (refer to
http://www.objectweb.org/monolog/doc/index.html). Configuring trace messages inside Jonas can be
done in two ways:
carol.protocols
and
jonas.transaction.propagation
true
true
jrmp
Chapter 3. JOnAS Configuration
property of the
carol.properties
jonas.properties
rmi/jrmp
-protocols
,
, and
). For example:
iiop
cmi
file. For
file by setting the
properties to
or
true
. To change this
option to specify

Advertisement

Table of Contents
loading

This manual is also suitable for:

Application server

Table of Contents