appclient.conf.bat 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. rem ### -*- batch file -*- ######################################################
  2. rem # ##
  3. rem # JBoss Bootstrap Script Configuration ##
  4. rem # ##
  5. rem #############################################################################
  6. rem # $Id: run.conf.bat 88820 2009-05-13 15:25:44Z dimitris@jboss.org $
  7. rem #
  8. rem # This batch file is executed by run.bat to initialize the environment
  9. rem # variables that run.bat uses. It is recommended to use this file to
  10. rem # configure these variables, rather than modifying run.bat itself.
  11. rem #
  12. if not "x%JAVA_OPTS%" == "x" goto JAVA_OPTS_SET
  13. rem #
  14. rem # Specify the JBoss Profiler configuration file to load.
  15. rem #
  16. rem # Default is to not load a JBoss Profiler configuration file.
  17. rem #
  18. rem set "PROFILER=%JBOSS_HOME%\bin\jboss-profiler.properties"
  19. rem #
  20. rem # Specify the location of the Java home directory (it is recommended that
  21. rem # this always be set). If set, then "%JAVA_HOME%\bin\java" will be used as
  22. rem # the Java VM executable; otherwise, "%JAVA%" will be used (see below).
  23. rem #
  24. rem set "JAVA_HOME=C:\opt\jdk1.6.0_23"
  25. rem #
  26. rem # Specify the exact Java VM executable to use - only used if JAVA_HOME is
  27. rem # not set. Default is "java".
  28. rem #
  29. rem set "JAVA=C:\opt\jdk1.6.0_23\bin\java"
  30. rem #
  31. rem # Specify options to pass to the Java VM. Note, there are some additional
  32. rem # options that are always passed by run.bat.
  33. rem #
  34. rem # JVM memory allocation pool parameters - modify as appropriate.
  35. set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M"
  36. rem # Prefer IPv4
  37. set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true "
  38. rem # Make Byteman classes visible in all module loaders
  39. rem # This is necessary to inject Byteman rules into AS7 deployments
  40. set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman"
  41. rem # Sample JPDA settings for remote socket debugging
  42. rem set "JAVA_OPTS=%JAVA_OPTS% -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
  43. rem # Sample JPDA settings for shared memory debugging
  44. rem set "JAVA_OPTS=%JAVA_OPTS% -agentlib:jdwp=transport=dt_shmem,address=jboss,server=y,suspend=n"
  45. rem # Use JBoss Modules lockless mode
  46. rem set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.lockless=true"
  47. :JAVA_OPTS_SET