appclient.conf 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. fi
  41. # Sample JPDA settings for remote socket debugging
  42. #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
  43. # Sample JPDA settings for shared memory debugging
  44. #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=jboss"
  45. # Allow JProfiler to find its classes
  46. #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=com.jprofiler"
  47. # Use JBoss Modules lockless mode
  48. #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.lockless=true"