Skip to main content
Participating Frequently
June 13, 2013
Question

java update 1.7.0_21 deleted jrunsvc.exe. what replaces it?

  • June 13, 2013
  • 1 reply
  • 4837 views

I have CF 9.0.0.0 and tried to update from java 1.6.0_14 to java 1.7.0_21 at the request of my security department.  CF 9 Application Server used to run with "C:\ColdFusion9\runtime\bin\jrunsvc.exe" but now there's no jrunsvc.exe on the system.  What replaced jrunsvc.exe or was the error mine in trying to update java?

thanks,

Bob

    This topic has been closed for replies.

    1 reply

    Carl Von Stetten
    Legend
    June 13, 2013

    Updating the Java JDK should not have any effect on stuff in C:\ColdFusion9\runtime\bin, unless you have done some manual replacement of the files.  The safest way to upgrade the JVM from the version delivered with ColdFusion to another version is to install the JDK in a separate directory from ColdFusion (usually in C:\Program Files\Java or C:\Program Files (x86)\Java depending on whether you are running a 32-bit or 64-bit version and the OS version), then update the JVM path settings in ColdFusion administrator to point to the newer JDK.  Alternatively, you can edit manually edit the JVM path in the jvm.config file buried in C:\ColdFusion9\ (can't remember exactly where, and I'm on CF10 now so I can't check it easily).

    If you deleted the JVM from inside the ColdFusion directory and replaced it with the Java 7 one, you may be out of luck unless you can restore the folder structure from a backup or the Recycle Bin.  Otherwise, you may have to reinstall ColdFusion and then configure it as I outlined above.

    -Carl V.

    Charlie Arehart
    Community Expert
    Community Expert
    June 13, 2013

    In addition to Carl’s sage observations, I’ll note as well, Bob, that unless you have applied 9.0 CHF3, then your CF 9.0 deployment does not formally support Java 1.7. It might work, but some things might not. (Still, as Carl said, just updating the JVM should not affect the operations of files like jrunsvc.) To get the CHF, see http://helpx.adobe.com/coldfusion/kb/cumulative-hotfix-3-coldfusion-900.html.

    As for your seeming problem with jrunsvc, I’m curious what you mean. You say, that CF “used to run with "C:\ColdFusion9\runtime\bin\jrunsvc.exe" but now there's no jrunsvc.exe on the system”.

    So are you saying that when you try to start the CF service, it doesn’t stop, but gives an error saying that the jrunsvc does not exist? To be clear, the service runs that jrunsvc, and that in turns starts the instance, so that we see jrun.exe listed as the running process for CF9 and earlier. Assuming you’re running CF Standard or the Enterprise Server edition, you’ll find If you look in the services panel that the properties for the CF service show it listed as trying to execute C:\ColdFusion9\runtime\bin\jrunsvc.exe. If you’re running an Enterprise Multiserver deployment, the location for the service executable is C:\JRun4\bin\jrunsvc.exe.

    Are you saying you see the CF service pointing to one of those files, but you don’t find the file to exist?

    /charlie

    /Charlie (troubleshooter, carehart. org)
    bmuzzyAuthor
    Participating Frequently
    June 13, 2013

    In CFIDE/administator it lists CF9 is running:

    Java Version 1.6.0_14

    Java Home C:\ColdFusion9\runtime\jre

    I'm required to upgrade to Java 1.7.  I read online somewhere that installing the client JRE won't work, the JDK is required.  So I installed JDK 1.7.0_21 to C:\ColdFusion9\runtime\jre.  This created a redundant path of C:\ColdFusion9\runtime\jre\jre.  So I reverted to the previous snapshot of the VM and reinstalled JDK to C:\ColdFusion9\runtime.   this had the effect of removing jrunsvc.exe from the system.  And yes, the properties of "CF9 Application Server" service list the "path to executable" as C:\coldfusion9\runtime\bin\jrunsvc.exe"

    I'll start by installing CHF3.  I note it refers to {coldfusion-home} which it defines as "For Server installation: {ColdFusion-Home}".  Is that the same as "Java Home", i.e.; C:\ColdFusion9\runtime\jre?  "coldfusion-home" doesn't appear in any text file under c:\coldfusion9 so I'm unclear.

    Assuming I get CHF3 installed, I'll reinstall JDK to c:\program files\java\ and point jvm.config to that.

    Thank you for your suggestions!

    EDIT:

    I think I figured out that {coldfusion-home} in my case is C:\coldfusion9