kms-env.sh 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #!/bin/bash
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License. See accompanying LICENSE file.
  14. #
  15. # Set kms specific environment variables here.
  16. # Settings for the Embedded Tomcat that runs KMS
  17. # Java System properties for KMS should be specified in this variable
  18. #
  19. # export CATALINA_OPTS=
  20. # KMS logs directory
  21. #
  22. # export KMS_LOG=${KMS_HOME}/logs
  23. # KMS temporary directory
  24. #
  25. # export KMS_TEMP=${KMS_HOME}/temp
  26. # The HTTP port used by KMS
  27. #
  28. # export KMS_HTTP_PORT=16000
  29. # The Admin port used by KMS
  30. #
  31. # export KMS_ADMIN_PORT=`expr ${KMS_HTTP_PORT} + 1`
  32. # The Tomcat protocol to use for handling requests.
  33. # The default HTTP/1.1 handler is thread-per-request.
  34. # The NIO handler multiplexes multiple requests per thread.
  35. #
  36. # export KMS_PROTOCOL="HTTP/1.1"
  37. # export KMS_PROTOCOL="org.apache.coyote.http11.Http11NioProtocol"
  38. # The maximum number of Tomcat handler threads
  39. #
  40. # export KMS_MAX_THREADS=1000
  41. # The maximum queue length for incoming connection requests when all possible
  42. # request processing threads are in use. Any requests received when the queue
  43. # is full will be refused.
  44. #
  45. # export KMS_ACCEPT_COUNT=500
  46. # The number of threads to be used to accept connections. Increase this value
  47. # on a multi CPU machine, although you would never really need more than 2.
  48. # Also, with a lot of non keep alive connections, you might want to increase
  49. # this value as well.
  50. #
  51. # Increasing this has no effect unless using the NIO protocol.
  52. #
  53. # export KMS_ACCEPTOR_THREAD_COUNT=1
  54. # The maximum size of Tomcat HTTP header
  55. #
  56. # export KMS_MAX_HTTP_HEADER_SIZE=65536
  57. # The location of the SSL keystore if using SSL
  58. #
  59. # export KMS_SSL_KEYSTORE_FILE=${HOME}/.keystore
  60. # The password of the SSL keystore if using SSL
  61. #
  62. # export KMS_SSL_KEYSTORE_PASS=password
  63. # The full path to any native libraries that need to be loaded
  64. # (For eg. location of natively compiled tomcat Apache portable
  65. # runtime (APR) libraries
  66. #
  67. # export JAVA_LIBRARY_PATH=${HOME}/lib/native