Changes to Railo JVM config
3 posts
• Page 1 of 1
Changes to Railo JVM config
Hey,
Server 2008 R2 Datacenter, IIS 7.5, etc. I'm sure I'm missing something rather basic, but I'm trying to add the following arguments
-Dcom.sun.management.jmxremote -Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
To connect fusion-debug to this instance. I've tried modifying the C:\railo\start.ini file with the appropriate entries but every time I uncomment the --exec argument as outlined in the ini file, I get two java processes starting instead of one and railo stops responding to requests. Does anyone have any idea how to configure start.ini on windows allow the insertion of custom JVM args? Here was one of the attempts I tried:
#===========================================================
# If the arguements in this file include JVM arguments
# (eg -Xmx512m) or JVM System properties (eg com.sun.???),
# then these will not take affect unless the --exec
# parameter is included or if the output from --dry-run
# is executed like:
# eval $(java -jar start.jar --dry-run)
#
# Below are some recommended options for Sun's JRE
#-----------------------------------------------------------
--exec
-Dcom.sun.management.jmxremote
-Djava.compiler=NONE
-Xnoagent
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
# -Xmx2000m
# -Xmn512m
# -verbose:gc
# -XX:+PrintGCDateStamps
# -XX:+PrintGCTimeStamps
# -XX:+PrintGCDetails
# -XX:+PrintTenuringDistribution
# -XX:+PrintCommandLineFlags
# -XX:+DisableExplicitGC
# -XX:+UseConcMarkSweepGC
# -XX:ParallelCMSThreads=2
# -XX:+CMSClassUnloadingEnabled
# -XX:+UseCMSCompactAtFullCollection
# -XX:CMSInitiatingOccupancyFraction=80
#-----------------------------------------------------------
Server 2008 R2 Datacenter, IIS 7.5, etc. I'm sure I'm missing something rather basic, but I'm trying to add the following arguments
-Dcom.sun.management.jmxremote -Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
To connect fusion-debug to this instance. I've tried modifying the C:\railo\start.ini file with the appropriate entries but every time I uncomment the --exec argument as outlined in the ini file, I get two java processes starting instead of one and railo stops responding to requests. Does anyone have any idea how to configure start.ini on windows allow the insertion of custom JVM args? Here was one of the attempts I tried:
#===========================================================
# If the arguements in this file include JVM arguments
# (eg -Xmx512m) or JVM System properties (eg com.sun.???),
# then these will not take affect unless the --exec
# parameter is included or if the output from --dry-run
# is executed like:
# eval $(java -jar start.jar --dry-run)
#
# Below are some recommended options for Sun's JRE
#-----------------------------------------------------------
--exec
-Dcom.sun.management.jmxremote
-Djava.compiler=NONE
-Xnoagent
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
# -Xmx2000m
# -Xmn512m
# -verbose:gc
# -XX:+PrintGCDateStamps
# -XX:+PrintGCTimeStamps
# -XX:+PrintGCDetails
# -XX:+PrintTenuringDistribution
# -XX:+PrintCommandLineFlags
# -XX:+DisableExplicitGC
# -XX:+UseConcMarkSweepGC
# -XX:ParallelCMSThreads=2
# -XX:+CMSClassUnloadingEnabled
# -XX:+UseCMSCompactAtFullCollection
# -XX:CMSInitiatingOccupancyFraction=80
#-----------------------------------------------------------
Re: Changes to Railo JVM config
Nevermind, I found the location: \windows\system32\inetsrv\config\applicationhost.config
- suntattood
- Posts: 27
- Joined: 04 Dec 2012, 21:06
Re: Changes to Railo JVM config
It is good that you have shared it here.
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 20 guests