Accessibility

TechNote (Archived)

ColdFusion MX J2EE on JRun: Error when starting CFMX instances

Issue


After modifying the Max Heap Size setting or adding or modifying any arguments in the VM Arguments field under the JVM Settings using the JRun Management Console, it will no longer be possible to start Macromedia ColdFusion MX instances on the JRun server.

When any of these settings are modified via the JRun Management Console, the JVM arguments are entered in the wrong order, causing the jvm.config file to be updated incorrectly. This prevents the JVM from starting correctly and therefore ColdFusion MX instances on the JRun server will fail to start.

The default-err.log file will show the following error:

 Unrecognized option: -server Could not create the Java virtual machine. 

The following error will be returned when starting ColdFusion on Windows:

 The ColdFusion MX Application Server service terminated with service-specific error 2 

The following error will be returned when starting ColdFusion on Unix:

 #./jrun -start cfusion  Unrecognized option: -server Could not create the Java virtual machine. 

This has been identified as Macromedia issue 53429. This issue affects JRun 4 and ColdFusion MX 6.1 and MX 7 J2EE configuration with JRun.

Solution


The jvm.config file must be corrected to resolve the issue. To make the correction:

  1. Locate the jvm.config file in the jrun_root\bin directory.
  2. Make a back-up copy of the file.
  3. Open the original jvm.config file for editing.
  4. Modify the following line of the file from:
     # Arguments to VM java.args=-Xmx512M -server "-Djava.security.policy......." 
    to

     # Arguments to VM java.args=-server -Xmx512M "-Djava.security.policy......." 
  5. Save the changes to the file.

You will now be able to start ColdFusion MX instances on the JRun server without error.

Additional Information


AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:tn_19094
Browser:Chrome
Internet Explorer
Netscape
Opera
Safari
Firefox

Products Affected:

coldfusion