staf-controller.cfg revision 5759
2788N/A# CDDL HEADER START
2788N/A#
2788N/A# The contents of this file are subject to the terms of the
2788N/A# Common Development and Distribution License, Version 1.0 only
2788N/A# (the "License"). You may not use this file except in compliance
2788N/A# with the License.
2788N/A#
2788N/A# You can obtain a copy of the license at
2788N/A# trunk/opends/resource/legal-notices/OpenDS.LICENSE
2788N/A# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
2788N/A# See the License for the specific language governing permissions
2788N/A# and limitations under the License.
2788N/A#
2788N/A# When distributing Covered Code, include this CDDL HEADER in each
2788N/A# file and include the License file at
2788N/A# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
2788N/A# add the following below this CDDL HEADER, with the fields enclosed
2788N/A# information:
2788N/A# Portions Copyright [yyyy] [name of copyright owner]
2788N/A#
2788N/A# CDDL HEADER END
2788N/A#
2788N/A#
2788N/A# Copyright 2007-2010 Sun Microsystems, Inc.
2788N/A# Portions Copyright 2011 ForgeRock AS
3215N/A
2788N/A# Change default data directory
2788N/ASET DATADIR {STAF/Config/STAFRoot}/data-${local.hostname}
2788N/A
2788N/A# Turn on tracing of internal errors and deprecated options
2788N/Atrace enable tracepoints "error deprecated"
2788N/A
2788N/A# Enable TCP/IP connections
3071N/Ainterface tcp library STAFTCP option port=${staf.port}
3071N/A
3071N/A# Set default local trust
2788N/Atrust machine local://local level 5
2788N/Atrust level 5 machine tcp://localhost
2788N/A
2788N/A# This is required for the Zip Service to be able to expand archives
2788N/Atrust level 5 user anonymous
3071N/A
3071N/A# Default Service Loader Service
3071N/Aserviceloader library STAFDSLS
2788N/A
3071N/A# ZIP SERVICE CONFIGURATION
3071N/ASERVICE Zip LIBRARY STAFZip
2788N/A
2788N/A# STAX SERVICE CONFIGURATION
2788N/ASERVICE Stax LIBRARY JSTAF \
3071N/A EXECUTE ${staf.install.dir}/${stax.name}/STAX.jar \
3071N/A OPTION JVMNAME=staxJVM-${local.hostname} \
3071N/A OPTION J2=-Xms1g -Xmx1g \
2788N/A -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled \
2788N/A -XX:+CMSClassUnloadingEnabled -XX:NewSize=500m -XX:MaxNewSize=500m \
2788N/A -XX:SurvivorRatio=6 -XX:PermSize=256m -XX:MaxPermSize=256m -Xoss4m -Xss4m \
2788N/A OPTION JVM=${local.javahome}/bin/java \
2788N/A PARMS "PYTHONOUTPUT JobUserLogAndMsg" "PYTHONLOGLEVEL Info"
2788N/A
2788N/A# EVENT SERVICE CONFIGURATION
2788N/ASERVICE Event LIBRARY JSTAF \
2788N/A EXECUTE ${staf.install.dir}/${event.name}/STAFEvent.jar \
2788N/A OPTION JVMNAME=eventJVM-${local.hostname} \
2788N/A OPTION JVM=${local.javahome}/bin/java
2788N/A
2788N/A# EVENTMANAGER SERVICE CONFIGURATION
2788N/ASERVICE EventManager LIBRARY JSTAF \
2788N/A EXECUTE ${staf.install.dir}/${eventmanager.name}/STAFEventManager.jar \
2788N/A OPTION JVMNAME=eventmanagerJVM-${local.hostname} \
2788N/A OPTION JVM=${local.javahome}/bin/java
2788N/A
3071N/A# EMAIL SERVICE CONFIGURATION
3071N/ASERVICE Email LIBRARY JSTAF \
2788N/A EXECUTE ${staf.install.dir}/${email.name}/STAFEmail.jar \
2788N/A OPTION JVMNAME=emailJVM-${local.hostname} \
2788N/A OPTION JVM=${local.javahome}/bin/java \
2788N/A PARMS "MAILSERVER ${email.server.host} PORT ${email.server.port}"
2788N/A
2788N/ASET MAXQUEUESIZE 10000
2788N/A
2788N/A# HTTP SERVICE CONFIGURATION
2788N/ASERVICE Http LIBRARY JSTAF \
2788N/A EXECUTE ${staf.install.dir}/${http.name}/STAFHTTP.jar \
2788N/A OPTION JVMNAME=httpJVM-${local.hostname} \
2788N/A OPTION J2=-Xms32m -Xmx128m \
2788N/A -Djavax.net.ssl.trustStorePassword=changeit \
2788N/A -Djavax.net.ssl.trustStore=${temp.dir}/HttpCertificate \
3361N/A OPTION JVM=${local.javahome}/bin/java
3361N/A