domain.conf 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ## -*- shell-script -*- ######################################################
  2. ## ##
  3. ## JBoss Bootstrap Script Configuration ##
  4. ## ##
  5. ##############################################################################
  6. #
  7. # This file is optional; it may be removed if not needed.
  8. #
  9. #
  10. # Specify the maximum file descriptor limit, use "max" or "maximum" to use
  11. # the default, as queried by the system.
  12. #
  13. # Defaults to "maximum"
  14. #
  15. #MAX_FD="maximum"
  16. #
  17. # Specify the profiler configuration file to load.
  18. #
  19. # Default is to not load profiler configuration file.
  20. #
  21. #PROFILER=""
  22. #
  23. # Specify the location of the Java home directory. If set then $JAVA will
  24. # be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
  25. #
  26. #JAVA_HOME="/opt/java/jdk"
  27. #
  28. # Specify the exact Java VM executable to use.
  29. #
  30. #JAVA=""
  31. if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
  32. JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"
  33. fi
  34. #
  35. # Specify options to pass to the Java VM.
  36. #
  37. if [ "x$JAVA_OPTS" = "x" ]; then
  38. JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true"
  39. JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"
  40. else
  41. echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS"
  42. fi
  43. # Use JBoss Modules lockless mode
  44. #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.lockless=true"
  45. # The ProcessController process uses its own set of java options
  46. if [ "x$PROCESS_CONTROLLER_JAVA_OPTS" = "x" ]; then
  47. PROCESS_CONTROLLER_JAVA_OPTS="$JAVA_OPTS"
  48. fi
  49. # The HostController process uses its own set of java options
  50. if [ "x$HOST_CONTROLLER_JAVA_OPTS" = "x" ]; then
  51. HOST_CONTROLLER_JAVA_OPTS="$JAVA_OPTS"
  52. fi
  53. # Sample JPDA settings for remote socket debuging.
  54. #PROCESS_CONTROLLER_JAVA_OPTS="$PROCESS_CONTROLLER_JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8788,server=y,suspend=n"
  55. #HOST_CONTROLLER_JAVA_OPTS="$HOST_CONTROLLER_JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
  56. # Sample JPDA settings for shared memory debugging
  57. #PROCESS_CONTROLLER_JAVA_OPTS="$PROCESS_CONTROLLER_JAVA_OPTS -agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=jboss"
  58. #HOST_CONTROLLER_JAVA_OPTS="$HOST_CONTROLLER_JAVA_OPTS -agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=jboss"