Hi,

I  think I found a bug in ColdFusion Administrator's "Java and JVM"
settings for CFMX 7.0.1 on Linux (server install).

I changed the "Maximum JVM Heap Size (MB)" from 512 to 768 and I
restarted the CF service to have the changes take effect.

It didn't come back!

I checked the 'cfserver.log' file and there were a bunch of error messages:

/opt/coldfusionmx7/runtime/lib/updates: directory does not exist,
hotfixes cannot be applied
no such classpath element: /opt/coldfusionmx7/runtime/gateway/lib/
no such classpath element:
/opt/coldfusionmx7/runtime/wwwroot/WEB-INF/cfform/jars
java.lang.ClassNotFoundException
        at 
coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:229)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at 
coldfusion.bootstrap.ClassloaderHelper.initFilterClass(ClassloaderHelper.java:125)
        at coldfusion.bootstrap.BootstrapFilter.init(BootstrapFilter.java:34)
        at jrun.servlet.FilterObject.init(FilterObject.java:63)
        at jrun.servlet.FilterManager.loadFilter(FilterManager.java:195)
        at jrun.servlet.FilterManager.init(FilterManager.java:155)
        at jrun.servlet.FilterManager.create(FilterManager.java:74)
        at 
jrun.servlet.WebApplicationService.start(WebApplicationService.java:223)
        at jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:194)
        at jrun.deployment.DeployerService.initModules(DeployerService.java:710)
       at 
jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
        at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
        at jrun.deployment.DeployerService.handleEvent(DeployerService.java:381)
       at 
jrunx.kernel.JRunServiceDeployer.fireEvent(JRunServiceDeployer.java:710)
        at 
jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:111)
        at 
jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at jrunx.kernel.JRun.startServer(JRun.java:575)
        at jrunx.kernel.JRun.<init>(JRun.java:493)
        at jrunx.kernel.JRun$1.run(JRun.java:346)
        at java.security.AccessController.doPrivileged(Native Method)
        at jrunx.kernel.JRun.start(JRun.java:343)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at jrunx.kernel.JRun.invoke(JRun.java:180)
        at jrunx.kernel.JRun.main(JRun.java:168)

I finally tracked down the issue to the 'jvm.config' file (updated by
the CF Administrator) having incorrect paths for the classPath setting
..

The original version of the file had the following setting:

-Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/cfform/jars

The new version had the following setting:

-Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/cfform/jars

Notice that the paths are missing the "../" part, that caused the CF
service start failure.

How do I report this bug to Macromedia?

Thanks.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223070
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to