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
  • 4838 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)
    Charlie Arehart
    Community Expert
    Community Expert
    June 14, 2013

    First, thanks to all of you for your help.

    Charlie, I reverted to a previous snapshot of the VM several times that had

    a working CF9 w/ Java 1.6, and reinstalled the JDK each time, and re-edited

    jvm.config appropriately each time. The only reason I mentioned jvm.cfg

    was because I saw the error ""Error: no known VMs. (check for corrupt

    jvm.cfg file)" referencing it in coldfusion-out.log.

    I'll take a look at your links, including that for the consultant. Thanks

    again, all!

    On Thu, Jun 13, 2013 at 7:19 PM, Charlie Arehart


    Sure. But to be clear, about the jvm.cfg reference, I acknowledged that saying “I realize that’s because one of the errors refers to it”.

    I hope all the other info may have been more helpful. I’m especially interested in the observation toward the end about the change in your reference to \java vs \program files\java. That may have been the real problem.

    Finally, oddly, it seems that the forum software has converted my references to double slashes into linend characters (at least as viewed in the web interface to the forum. We don’t get sent a copy of our own posts when we subscribe to the forum by email, so I don’t know if that appears to those who got an email of my message.) But I noticed you had referred to them in your earlier emails, so I have to think it’s that the forum software accepts them in the web interface, but just converts things when we email a response.

    I’ll go edit the message now, in the web interface, but I just wanted to let folks know about the issue.

    /charlie

    /Charlie (troubleshooter, carehart. org)