tracker issue : CF-3767633

select a category, or use search below
(searches all categories and all time range)
Title:

Importing car file from CF 10 into CF 11 breaks installation

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Jon Hirschi / Jon Hirschi (Jon Hirschi)

Created: 05/28/2014

Components: Administrator, Archive

Versions: 11.0

Failure Type: Crash

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Few users will encounter

Locale/System: ALL / Windows 8 64-bit

Vote Count: 0

Listed in the version 11.0.03.292480 Issues Fixed doc
Problem Description:  Importing a car file from a CF 10 server breaks the cf 11 installation.  It appears that importing a car file from a CF10 installation updates the jvm config paths.  This causes the installation to break when the server or coldfusion is restarted because the paths to the JVM are updated with the old paths from the CF10 installation.  In a real world scenario, any updates to the jvm config should not change the basic paths that are used by the server.

Steps to Reproduce:
Create a car file from a Coldfusion 10 instance.  select all settings.  Then in the CF11 administrator, upload the new car file.  Once the car file done updating the configuration, look at the jvm.config in c:\Coldfusion11\cfusion\bin\ directory.  You should see that the Coldfusion jre and application paths are changed.

ie   the config looks like:

java.home=C:\\ColdFusion10\\jre
application.home=C:\\ColdFusion10\\cfusion

instead of:


java.home=C:\\ColdFusion11\\jre
application.home=C:\\ColdFusion11\\cfusion

Notice the change from 11 to 10

Actual Result:

java.home and application.home are set to the same path as the importing app, even though the Coldfusion server is installed differently.
java.home=C:\\ColdFusion11\\jre
application.home=C:\\ColdFusion11\\cfusion


Expected Result:

Coldfusion should not be updating the java.home path nor the application.home path, particularly when doing so will break the system.

Any Workarounds:

Manually change the jvm.config file and change the path to the correct path, then everything works

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3767633

External Customer Info:
External Company:  
External Customer Name: biggermork
External Customer Email:  
External Test Config: My Hardware and Environment details:



Coldfusion 11 developer edition on windows 8 64 bit with IIS 8 express for the front end web server.

Attachments:

Comments:

Hi Adobe and biggermork, In the Archive Wizard: 1) The "Archive Information" page does not display any warning about JVM settings. 2) The "Server Settings" page does display the following warning about JVM settings: "WARNING: The Java settings contain system-specific paths that are used to start ColdFusion. If you deploy these settings to another machine and the paths are invalid, ColdFusion will fail to start." Problem: If user chooses "Select All" on the "Archive Information" page and never views any other page of the wizard, then the user will not know that there is a warning about JVM settings. @biggermork, please try re-creating the .car file in CF10 as follows: 1) On the "Archive Information" page, click "Select All" 2) On the "Server Settings" page, uncheck "Java and JVM" 3) On the "Archive To Do List" page, add a note-to-self of any of CF10's JVM settings (from the "Java and JVM" page of CF Admin) that should be manually applied to CF11 @Adobe, Can the JVM settings warning be copied from the Archive Wizard's "Server Settings" page to its "Archive Information" page so that users are sure to see this important information before clicking "Select All" on the "Archive Information" page? Thanks!, -Aaron
Comment by External U.
12031 | July 10, 2014 07:46:12 AM GMT
fixed in the upcoming update for CF11. warning appears after, selecting "archive All".
Comment by Piyush K.
12032 | August 25, 2014 01:40:36 AM GMT
Hi Piyush and biggermork, I've confirmed this is fixed in CF11's Update 3. The following warning appears after selecting "Select All" on the Archive Information page: "WARNING: The Java settings (under Server Settings) contain system-specific paths that are used to start ColdFusion. If you deploy these settings to another machine and the paths are invalid, ColdFusion will fail to start." Thanks!, -Aaron
Comment by External U.
12033 | November 01, 2014 06:15:04 PM GMT