Solved

How do you find ColdFusion $HOME

Posted on 2012-03-29
14
460 Views
Last Modified: 2012-06-21
There is a new patch that has come up from Adobe and I need to apply them. The how to section says to find the HOME directory of coldfusion first. How do I know what the home directory is. I'm using Windows 2008 Server.
example,
Go to {ColdFusion-Home}/lib/updates (for Server Installation) or {ColdFusion-Home}/WEB-INF/cfusion/lib/updates
0
Comment
Question by:legolasthehansy
  • 7
  • 5
  • 2
14 Comments
 
LVL 39

Expert Comment

by:gdemaria
ID: 37784004
Look for your Coldfusion8 folder usually     (drive):\Coldfusion8
0
 
LVL 11

Author Comment

by:legolasthehansy
ID: 37784021
I have something called CFADMIN

but i don't see any folder called updates under it.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37784108
You can find the "home" or "root" programatically using:

     <cfdump var="#server.coldfusion.rootdir#">

I think the "updates" folder always exists - but it's possible it's only created the 1st time you actually install an update. But the "/lib" folder will always exist

ie       #server.coldfusion.rootdir#/lib
0
 
LVL 39

Expert Comment

by:gdemaria
ID: 37784126
Login to /cfide/administrator and click the  (i)  icon in the upper right corner for system information.   Looking at the list, you will see various directory paths that will show the location of your Coldfuion 8 folder...

user directory
Java home
update level
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37784156
..I think the "updates" folder always exists - but it's possible it's only created the 1st time you actually install an update.

If needed you can always create it manually:

<cfset updateFolder = server.coldfusion.rootdir &"/lib/updates/">
<cfif not DirectoryExists(updateFolder)>
      successfully created <cfoutput>#updateFolder#</cfoutput>
      <cfdirectory action="create" directory="#updateFolder#">
<cfelse>
      <cfoutput>#updateFolder#</cfoutput> already exists
</cfif>
0
 
LVL 11

Author Comment

by:legolasthehansy
ID: 37784445
Thanks _agx_. Im not familiar with the language. Where do you put it 'programatically'

Hi gdemaria - Is the Java_home as same as Coldfusion home?
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37784536
Thanks _agx_. Im not familiar with the language. Where do you put it 'programatically'

Sorry, I thought you were a CF programmer :) You can probably get the same info using gd's suggestion. Edit: In fact, most versions let you install the updates directly from the CF Administrator screen gdemaria mentioned:

       ie "Login to /cfide/administrator and click the  (i)  icon"

You should see an "Update File"/ browse server button.  If you post a link to the update details, one of us could walk you through it.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 52

Expert Comment

by:_agx_
ID: 37784599
EDIT: I think we should pursue updating via the CF Admin screen, but just to answer your earlier question ...

Is the Java_home as same as Coldfusion home?

No.  They're different. ColdFusion runs on top of java.  JAVA_HOME is just where your jvm (java virtual machine) lives.  The CF HOME is which is where all the files and libraries used to run the ColdFusion server live.
0
 
LVL 11

Author Comment

by:legolasthehansy
ID: 37787603
Can it be C:\JRUN4\Servers\project\
There are two folders under this (cfusion.ear and SERVER-INF)

I'm assuming there is a standard folder structure for Cold Fusion.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37787647
There is, but it varies by installation type. (We don't know which version they're running or which update they're installing.) But it's likely they don't need to mess with folders at all. Recent versions allow you to install updates just by logging into the CF Administrator.  ie http://servername/cfide/administrator/index.cfm
0
 
LVL 11

Author Comment

by:legolasthehansy
ID: 37787768
Yes - But they still need manual intervention (like removing old .jar files etc.. See link).
I was running CF 8.0.1 and trying to install the update following the link,
http://helpx.adobe.com/content/help/en/coldfusion/kb/coldfusion-security-hotfix.html#main-pars_heading_9
(scroll to 8.0.1)
I guess this has been customized and is a bit of a mess which would mean I will need to do some homework before applying the patch.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37788009
Can it be C:\JRUN4\Servers\project\.

Sorry, with the new snow blinding EE layout I didn't realize the previous comment was yours. If it's a multi server install, then yeah I'd do some research first - because the patch has to be applied on each instance.

Were you able to find out the install type? The "C:\JRUN4" suggests it's multi server.
0
 
LVL 11

Author Comment

by:legolasthehansy
ID: 37788082
It is multi-server.
I need to apply only for an instance as the others are not being used.
0
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 37788514
Ok, unfortunately I do not use w/multi server. What little I know suggests C:\JRUN4\Servers\yourproject\ should be that instances {ColdFusion-Home}. But that's about it. Sorry I couldn't be of more help.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now