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