Changes to Railo JVM config

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 5
Joined: 11 Jun 2012, 13:18

Changes to Railo JVM config

07 Aug 2012, 15:53

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
#-----------------------------------------------------------

User avatar
Posts: 5
Joined: 11 Jun 2012, 13:18

Re: Changes to Railo JVM config

07 Aug 2012, 19:28

Nevermind, I found the location: \windows\system32\inetsrv\config\applicationhost.config

User avatar
Posts: 27
Joined: 04 Dec 2012, 21:06

Re: Changes to Railo JVM config

17 Dec 2012, 22:48

It is good that you have shared it here.

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 20 guests