.carol.3.0-RC7.source-code.carol.properties Maven / Gradle / Ivy
# Copyright (C) 2002-2008 OW2
#
# CAROL: Common Architecture for RMI OW2 Layer
#
# This library is developed inside the ObjectWeb Consortium,
# http://www.ow2.org
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
#
# --------------------------------------------------------------------------
# $Id: carol.properties 1693 2008-03-20 09:54:13Z loris $
# --------------------------------------------------------------------------
# jonas rmi activation (iiop, irmi, jrmp)
carol.protocols=jrmp
# RMI IRMI URL
carol.irmi.url=rmi://localhost:1098
# For each protocol, set if CMI is enabled (only for server)
carol.irmi.cmi=false
# RMI JRMP URL
carol.jrmp.url=rmi://localhost:1099
carol.jrmp.cmi=false
# RMI IIOP URL
carol.iiop.url=iiop://localhost:2001
carol.iiop.cmi=false
######################################################################
# Advanced Configuration for IRMI
######################################################################
# Exported objects will listen on this port for remote method
# invocations.
#A value of 0 will cause a random port to be selected.
# This is the default value.
# Warning : if the port is set (not 0) with the value 'n', be aware that
# the port 'n + 1' will be used by the JMX server.
# So, for the firewall configuration, you have to open the port numbers 'n'
# and 'n+1'.
carol.irmi.server.port=0
# Use only a single interface when creating the registry
# (specified in carol.irmi.url property)
# Use all interfaces available [default configuration = false]
carol.irmi.interfaces.bind.single=false
######################################################################
# Advanced Configuration for JRMP
######################################################################
# If true, local call with jrmp are optimized. If you get "ClassCastException
# with 2 beans in different jars, you should set it at "false".
carol.jvm.rmi.local.call=false
# Local Naming context used if true(to be used only with a collecated registry)
carol.jvm.rmi.local.registry=false
# The value of this port is used to set the port of the objects listener.
# This allow to use this port for a firewall configuration.
# If registry and server are on same host, the two ports to open are the following and the registry port.
# 0 means random port [default configuration = 0]
carol.jrmp.server.port=0
# Use only a single interface when creating the registry
# (specified in carol.jrmp.url property)
# Use all interfaces available [default configuration = false]
carol.jrmp.interfaces.bind.single=false
######################################################################
# Advanced Configuration for IIOP
######################################################################
# The value of this port is used to set the port of the objects listener.
# This allow to use this port for a firewall configuration.
# If registry and server are on same host, the two ports to open are the following and the registry port.
# 0 means random port [default configuration = 0]
carol.iiop.server.port=0
# This port is used only if SSL mode is enable. [disable by default (no listener)]
# The value of this port is used to set the SSL port of the objects listener.
# Note that this port must not be set to 0 as it is used for CsiV2.
# [default configuration = not used]
carol.iiop.server.sslport=2003