It took me a while to get Coldfusion MX to run smoothly on a BEA
JRockit. So I thought I'd share how to get this to work with y'all

first, back up your jvm.config in c:\coldfusionmx\runtime\bin\
open the coldfusion administrator and note the min and max memory
settings and additional Classpath settings
install Jrockit 7.0 or 8.0, you can get them from (watch wrapping):

7.0:
http://commerce.bea.com/SoftwareProductDetailWLS?SWName=BEA+WebLogic+JRockit&SWVersion=Version+7.0+J2SE+1.4.0&SWPlatform=Microsoft+Windows+2000+SP2
8.0:
http://commerce.bea.com/SoftwareProductDetailWLS?SWName=BEA+WebLogic+JRockit&SWVersion=8.0+Beta&SWPlatform=Microsoft+Windows+2000+SP2

copy the directory c:\jrockit\7.0\1.4.0\jre\bin\jrockit to
c:\jrockit\7.0\1.4.0\jre\bin\server

stop the coldfusion service

open jvm.config in notepad and replace it's contents with the following:

## #####################################################################
## JRockit JVM 7.0 sp 1 1.4.0
## Note rename C:/JRockit/7.0/1.4.0/jre/bin/jrockit to
## C:/JRockit/8.0/1.4.0/jre/bin/server for JRockit to work.
java.home=C:/JRockit/7.0/1.4.0/jre
java.ext.dirs={jre.home}/lib/ext
java.args=-DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS
java.class.path={application.home}/servers/lib,{application.home}/../lib/cfusion.jar
java.library.path={application.home}/../lib;{application.home}/../lib/_nti40/bin,{application.home}/../jintegra/bin,{application.home}/../jintegra/bin/international
## #####################################################################

clear the c:\coldfusionmx\wwwroot\WEB-INF\cfclasses directory

start the coldfusion service

open the coldfusion administrator and re-apply the max memory settings
and classpath. You might want to experiment with a new max memory
setting for optimal performance. I just left it on 512 Mb.

restart the coldfusion service

Done!

Note, because you cleared the cfclasses directory first runs of pages
may again be slower, but second and consecutive runs will be much faster
than before, at least in my case.

Jesse

.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to