wrapper.conf 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one
  3. # or more contributor license agreements. See the NOTICE file
  4. # distributed with this work for additional information
  5. # regarding copyright ownership. The ASF licenses this file
  6. # to you under the Apache License, Version 2.0 (the
  7. # "License"); you may not use this file except in compliance
  8. # with the License. You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing,
  13. # software distributed under the License is distributed on an
  14. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. # KIND, either express or implied. See the License for the
  16. # specific language governing permissions and limitations
  17. # under the License.
  18. #
  19. # Path to java executable
  20. wrapper.java.command=C:\Program Files\ibm\cognos\analytics/ibm-jre/jre/bin/java.exe
  21. wrapper.java.mainclass=org.apache.directory.server.wrapper.ApacheDsTanukiWrapper
  22. wrapper.max_failed_invocations=1
  23. wrapper.java.classpath.1=../lib/*.jar
  24. # Java Library Path (location of Wrapper.DLL or libwrapper.so)
  25. wrapper.java.library.path.1=../lib
  26. # Java Additional Parameters
  27. wrapper.java.additional.1=-Dlog4j.configuration="file:///%INSTANCE_DIRECTORY%/conf/log4j.properties"
  28. wrapper.java.additional.2=-Dapacheds.var.dir="%INSTANCE_DIRECTORY%"
  29. wrapper.java.additional.3=-Dapacheds.log.dir="%INSTANCE_DIRECTORY%/log"
  30. wrapper.java.additional.4=-Dapacheds.run.dir="%INSTANCE_DIRECTORY%/run"
  31. wrapper.java.additional.5=-Dapacheds.instance="%INSTANCE%"
  32. # Initial Java Heap Size (in MB)
  33. #wrapper.java.initmemory=1024
  34. # Maximum Java Heap Size (in MB)
  35. #wrapper.java.maxmemory=2048
  36. # Application parameters. Add parameters as needed starting from 1
  37. wrapper.app.parameter.1="%INSTANCE_DIRECTORY%"
  38. wrapper.app.parameter.2=%APACHEDS_COMMAND%
  39. #********************************************************************
  40. # Wrapper Logging Properties
  41. #********************************************************************
  42. # Format of output for the console. (See docs for formats)
  43. wrapper.console.format=PM
  44. # Log Level for console output. (See docs for log levels)
  45. wrapper.console.loglevel=INFO
  46. # Log file to use for wrapper output logging.
  47. wrapper.logfile=%INSTANCE_DIRECTORY%/log/wrapper.log
  48. # Format of output for the log file. (See docs for formats)
  49. wrapper.logfile.format=LPTM
  50. # Log Level for log file output. (See docs for log levels)
  51. wrapper.logfile.loglevel=INFO
  52. # Maximum size that the log file will be allowed to grow to before
  53. # the log is rolled. Size is specified in bytes. The default value
  54. # of 0, disables log rolling. May abbreviate with the 'k' (kb) or
  55. # 'm' (mb) suffix. For example: 10m = 10 megabytes.
  56. wrapper.logfile.maxsize=1m
  57. # Maximum number of rolled log files which will be allowed before old
  58. # files are deleted. The default value of 0 implies no limit.
  59. wrapper.logfile.maxfiles=5
  60. # Log Level for sys/event log output. (See docs for log levels)
  61. wrapper.syslog.loglevel=NONE
  62. # Number of seconds to allow between the time that the Wrapper
  63. # launches the JVM process and the time that the JVM side of the
  64. # Wrapper responds that the application has started.
  65. wrapper.startup.timeout=120
  66. # Number of seconds to allow between the Wrapper pinging the JVM and
  67. # the response from the JVM.
  68. wrapper.ping.timeout=240
  69. #********************************************************************
  70. # Wrapper Windows NT/2000/XP Service Properties
  71. #********************************************************************
  72. # WARNING - Do not modify any of these properties when an application
  73. # using this configuration file has been installed as a service.
  74. # Please uninstall the service before modifying this section. The
  75. # service can then be reinstalled.
  76. # Title to use when running as a console
  77. wrapper.console.title=apacheds-%INSTANCE%
  78. # Name of the service
  79. wrapper.ntservice.name=apacheds-%INSTANCE%
  80. # Display name of the service
  81. wrapper.ntservice.displayname=ApacheDS - %INSTANCE%
  82. # Description of the service
  83. wrapper.ntservice.description=ApacheDS %INSTANCE% server instance
  84. # Service dependencies. Add dependencies as needed starting from 1
  85. #wrapper.ntservice.dependency.1=
  86. # Mode in which the service is installed. AUTO_START or DEMAND_START
  87. wrapper.ntservice.starttype=AUTO_START
  88. # Allow the service to interact with the desktop.
  89. wrapper.ntservice.interactive=false