functional-tests.cfg revision 7fc74a0e51a169f90022672cd3125704ace4fd44
0N/A# CDDL HEADER START
2362N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License, Version 1.0 only
0N/A# (the "License"). You may not use this file except in compliance
0N/A# with the License.
0N/A#
0N/A# You can obtain a copy of the license at
0N/A# trunk/opends/resource/legal-notices/OpenDS.LICENSE
0N/A# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at
0N/A# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
0N/A# add the following below this CDDL HEADER, with the fields enclosed
0N/A# information:
2362N/A# Portions Copyright [yyyy] [name of copyright owner]
2362N/A#
2362N/A# CDDL HEADER END
0N/A#
0N/A#
0N/A# Copyright 2007-2008 Sun Microsystems, Inc.
0N/A
0N/A# Turn on tracing of internal errors and deprecated options
0N/Atrace enable tracepoints "error deprecated"
0N/A
0N/A# Enable TCP/IP connections
0N/Ainterface tcp library STAFTCP option port=${staf.port}
0N/A
0N/A# Set default local trust
0N/Atrust machine local://local level 5
0N/Atrust level 5 machine tcp://localhost
0N/A# this is required for the Zip Service to be able to expand archives
0N/Atrust level 5 user anonymous
0N/A
0N/A# Default Service Loader Service
0N/Aserviceloader library STAFDSLS
0N/A
0N/A# LOG SERVICE CONFIGURATION
0N/ASERVICE Log LIBRARY STAFLog \
0N/A PARMS "Directory {STAF/Config/STAFRoot}/../logs"
0N/A
0N/A# ZIP SERVICE CONFIGURATION
0N/ASERVICE Zip LIBRARY STAFZip
0N/A
0N/A# EVENT SERVICE CONFIGURATION
0N/A# PARMS "MAXATTEMPTS 5 ACKNOWLEDGETIMEOUT 30000" \
0N/A# OPTION JVMName=EventJVM \
0N/A# OPTION JVM=${java.home}${file.separator}bin${file.separator}java${binary.extension}
0N/ASERVICE Event LIBRARY JSTAF \
0N/A EXECUTE {STAF/Config/STAFRoot}/services/event/STAFEvent.jar
0N/A
0N/A# EVENTMANAGER SERVICE CONFIGURATION
0N/A# OPTION JVMName=EventManagerJVM \
0N/A# OPTION JVM=${java.home}${file.separator}bin${file.separator}java${binary.extension}
0N/A# PARMS "EVENTSERVICENAME=Event" \
0N/ASERVICE EventManager LIBRARY JSTAF \
0N/A EXECUTE {STAF/Config/STAFRoot}/services/eventmanager/STAFEventManager.jar
0N/A
0N/A# STAX SERVICE CONFIGURATION
0N/A# OPTION JVMName=StaxJVM \
0N/ASERVICE Stax LIBRARY JSTAF \
0N/A EXECUTE {STAF/Config/STAFRoot}/services/stax/STAX.jar
0N/A# EXECUTE {STAF/Config/STAFRoot}/services/stax/STAX.jar \
0N/A# OPTION JVMName=STAXJVM \
0N/A# OPTION J2=-Xoss1m -Xss1m -Xmx384m
0N/A
0N/A#EMAIL SERVICE CONFIGURATION
0N/A# OPTION JVMName=EmailJVM \
0N/A# OPTION JVM=${java.home}${file.separator}bin${file.separator}java${binary.extension}
0N/ASERVICE Email LIBRARY JSTAF \
0N/A EXECUTE {STAF/Config/STAFRoot}/services/email/STAFEmail.jar \
0N/A PARMS "MAILSERVER ${email.server.host} PORT ${email.server.port}"
0N/A
0N/ASET MAXQUEUESIZE 10000
0N/A
0N/A#HTTP SERVICE CONFIGURATION
0N/ASERVICE Http LIBRARY JSTAF \
0N/A EXECUTE {STAF/Config/STAFRoot}/services/http/STAFHTTP.jar \
0N/A OPTION JVMNAME=httpJVM \
0N/A OPTION J2=-Xmx128m -Xms32m \
0N/A -Djavax.net.ssl.trustStorePassword=changeit \
0N/A -Djavax.net.ssl.trustStore={STAF/Config/STAFRoot}/services/DSML/tomcatCertificate
0N/A
0N/A#DSML SERVICE CONFIGURATION
0N/A#uncomment following if you want it to be in separate JVMs
0N/ASERVICE DSML LIBRARY JSTAF \
0N/A EXECUTE {STAF/Config/STAFRoot}/services/dsml/dsmlService.jar \
0N/A OPTION JVMNAME=dsmlJVM \
0N/A OPTION J2=-Xmx512m -Xms128m \
0N/A OPTION JVM=/usr/bin/java
0N/A