# PETALS: PETALS Services Platform # Copyright (C) 2005 EBM WebSourcing # # 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. # # Initial developer(s): EBM WebSourcing # ----------------------------------------------------------------------- # Petals properties # ----------------------------------------------------------------------- # This property is used to set the behavior of the components in this container # related to the message echange validation (see isExchangeOkayWith) exchange.validation=false # This property is used to set up the behaviour of the container (if other containers # are using the same multicast address the containers will be in distributed mode) tribe.multicast=224.7.65.51 # This property set up the name of the domain group used by the JNDI distributed # server and by Joram joram.domain=Petals1 # This property indicates that the network where PEtALS is deployed is time synchronized #network.time.synchronized=true # This property set up the host address of this container. # If not specified, Petals finds the IP address with 'ifconfig' or 'ipconfig'. #host=localhost # This property set up the policy of the Quality of Service supported by Petals Transporter. # Possible values are : reliable, fast. # If not specified, the reliable policy is selected by default #transport.qos=fast # This property defines the routing strategy # Two kind of strategy can be defines: highest or random # the others parameters represents respectively the local ponderation, the ponderation # of the remote active endpoint and the ponderation of the remote inactive endpoint # The 'random' strategy chooses an endpoint in function of defined ponderations. # The endpoints that have the strongest ponderation can be more easely choose in comparison with the others. # The 'highest' strategy chooses the first endpoint in the list that have the strongest ponderation. routing.strategy = random,1,1,1 # This property defines the time period between each ping to all other known petals. # This property allows user to know all the available active PEtALS. ping.period = 60000 # This property activates the JNDI cache. All the endpoints already # used are stored in a cache to improve the performance. cache.activated = true # This property defines the periodic cache clean, in milliseconds, # needed to take into account newly deployed endpoints. # Default value: 5min. cache.clean.period = 300000 # This property activates the High Availability support #container.ha = true # This property defines the location of the PEtALS repository #repository.path = /repository # Number of workers used to recover shared-libraries, components and # service-assemblie during a PEtALS start. If set to a value higher # than 1, concurrency problems can occurs inside components that are # not thread-safe. In this case, you should decrease the value to 1 # or use a fix component version. #recovering.workers = 1 # ----------------------------------------------------------------------- # JMX properties # -----------------------------------------------------------------------# # This property set up the HTML connector of the JMX server # If not specified, in dynamic mode, PEtALS allocates a free port #html.port=7080 # This property set up the RMI connector of the JMX server # If not specified, in dynamic mode, PEtALS allocates a free port #jmx.port=3000 #jmx.jndi.port=7700 jmx.user= jmx.pwd= # ----------------------------------------------------------------------- # JNDI Server properties # # jndi.server: Define the jndi server to use, possible values are tribe/joram/none # - tribe: a dynamic distributed JNDI server is started into each PEtALS instances # and this PEtALS node is auto-registered into the PEtALS domain; # all the configuration not specified in this file is auto-allocated (dynamic mode) # - joram: a static distributed JNDI server is started into each PEtALS instances # and this PEtALS node is auto-registered into the PEtALS domain; # all static configuration should be defined in ${joram.path}/a3server.xml. # Caution, this configuration contains also the JMS configuration needed by the # robust transporter. # - none: no JNDI server is embeded in the PEtALS instance. An external JNDI server # is needed. # Default value: tribe # # The listen port of the JNDI server is configured using the property "java.naming.factory.port" # (default value 7720) # #jndi.server=tribe #------------------------------------------------------------------------ # ----------------------------------------------------------------------- # JNDI Client properties # # java.naming.client : JNDI client implementation. Possible values are: # - org.objectweb.petals.communication.jndi.JNDIServiceImpl: # This JNDI client is a standard JNDI client. This implementation needs only to # define the initial context factory using the default JNDI property # "java.naming.factory.initial". According to your initial context factory, # you will add here (in this file) your properties. extra parameters, according # to your JNDI server: # - all other Fractal component implementing the interface # org.objectweb.petals.communication.jndi.JNDIService. # # java.naming.factory.initial : Your JNDI initial context factory. The default TCP port used to # establish a connection with the JNDI server is 7720 (set in property the named # "java.naming.factory.port"). Possible values for the initial context factory # are : # - org.objectweb.petals.communication.jndi.tribe.connection.NamingContextFactory : for a TRiBE # JNDI server # - fr.dyade.aaa.jndi2.client.NamingContextFactory: for a JOrAM JNDI server # - all others values according to your JNDI server. # # Default values: #java.naming.client=org.ow2.petals.communication.jndi.JNDIServiceImpl #java.naming.factory.initial=org.objectweb.petals.communication.jndi.tribe.connection.NamingContextFactory #java.naming.factory.host=localhost #java.naming.factory.port=7720 # ----------------------------------------------------------------------- # ----------------------------------------------------------------------- # JORAM properties # ----------------------------------------------------------------------- # This property set up the id of the JORAM server used by JORAM Transporter # If not specified, in dynamic mode, PEtALS allocates a free id #joram.id = 0 # This property set up the name of the JORAM server used by JORAM Transporter # If not specified, in dynamic mode, PEtALS allocates the same name that the joram id #container.name = 0 # This property set up the domain port of the JORAM server # If not specified, in dynamic mode, PEtALS allocates a free port #joram.domainport = 7740 # This property set up the TCP port of the JORAM server # If not specified, in dynamic mode, PEtALS allocates a free port #joram.tcpport = 7760 joram.user = petals joram.pwd = petals # This property defines the JORAM path, containing the JORAM configuration (a3server.xml) #joram.path = /joram # ----------------------------------------------------------------------- # Fast transport protocol properties # ----------------------------------------------------------------------- # The Fractal component name of the Fast transporter to use. The default one uses # Dream and is named DreamTransportProtocol. The NIO Fast Transporter is identified # by NioTransportProtocol. #transporter.fast=DreamTransportProtocol # ----------------------------------------------------------------------- # NIO Transport Protocol properties # ----------------------------------------------------------------------- #transporter.nio.server.port = 7780 # This property set up the number of threads used to deserialized messages #transporter.nio.server.acceptors = 4 # This property set up the connection timeout in milli-seconds #transporter.nio.client.connection-timeout = 5000 # This property set up the send timeout in milli-seconds #transporter.nio.client.send-timeout = 50000 # This property set up the number of messages sent before cleaning the # serialization cache. #transporter.nio.client.serialization-cache-clean-period = 100 # This property set up the maximum number of sockets (per target container) # that can be established simultaneously. #transporter.nio.client.pool.max = 8 # This property set up the minimum amount of time that a connection to a # remote container may sit idle before it is eligible for eviction due to # idle time, in milli-seconds. #transporter.nio.client.pool.min-idle-time = 1800000 # This property set up the time that the eviction thread should sleep before # "runs" of examining idle connections, in milli-seconds. #transporter.nio.client.pool.evict-run-time = 600000 # ----------------------------------------------------------------------- # DREAM Transport Protocol properties # ----------------------------------------------------------------------- #transporter.dream.tcpport = 7780 # This property set up the Dream session cache. It should be sized to "container number - 1" #transporter.dream.session.cache.size = 20 # This property set up the Dream timeout in ms to attempt to establish a TCP connection. #transporter.dream.connection.timeout = 10000 # This property set up the Dream number of retries to attempt to establish a TCP connection. #transporter.dream.connection.retry = 3 # ----------------------------------------------------------------------- # SSL properties # ----------------------------------------------------------------------- server.trustedkeystore= server.trustedkeystore.password= server.identitykeystore= server.identitykeystore.password=