Skip to main content
January 16, 2013
Question

ColdFusion 10 Mandatory Update J2EE/unexploded .war

  • January 16, 2013
  • 1 reply
  • 1070 views

We are following the "For J2EE installations"

On Windows

In Silent mode (for unexploded EAR/WAR deployment)

Here's what our install_properties_file looks like...

INSTALLER_UI=SILENT

USER_INSTALL_DIR=C:\\TEMP\\CF10\\hotfix

INSTALL_FILES_OUTSIDE_CF=true

DONOT_START_SERVERS_POST_INSTALL=true

Here's the command we are using...

C:\TEMP\CF10\work> java -jar cf10_mdt_updt.jar -i silent -f install.props

After running the command:

1) The C:\TEMP\CF10\hotfix\ dir is empty

2) One new dir was created under work named TEMPCF10hotfix

   C:\TEMP\CF10\work\TEMPCF10hotfix

3) The TEMPCF10hotfix dir is empty

4) Two files were created under C:\TEMP\CF10\work\

   f553e11813c44c897f7.details

   f553e11813c44c897f7.notes

5) The .notes file is empty

6) The .details file is 2k in size

   no errors and the last line says...

   Install Directory: C:\TEMP\CF10\hotfix\

   Status: SUCCESSFUL

Per the instructions...

"First, install the hotfix files outside your EAR/WAR on your system and then manually update the EAR/WAR."

But there were no files after running the command...?

Btw, we have tried silent and GUI... still no files.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    January 17, 2013

    These instructions are for applying any general Hotfix.

    Since Mandatory update is a one-time thing, some of the these general instructions are not taken care.

    So, for your current case, you can explode the EAR, apply the Hotfix using UI installation and EAR it back.

    OR

    To get the Hotfix files, you can do the following shortcut as well if you wish.

    cd to C:\TEMP\CF10\hotfix

    then run the command

    >mkdir WEB-INF\cfusion\lib\updates

    Then run the command

    >java -jar C:\TEMP\CF10\work\cf10_mdt_updt.jar -i silent -DUSER_INSTALL_DIR=C:
    TEMP
    CF10
    hotfix

    Files will be properly laid out under C:\TEMP\CF10\hotfix\WEB-INF and you can update your EAR accordingly.

    Thanks,

    Krishna

    January 17, 2013

    I just tried it... it worked perfectly!