Java Patch deployment failed with error

We are getting below error while deploying the java pacth "Java Runtime Environment 8 update 481 Available (x64) (JRE 8 Installed) - CPU" on the server from BigFix web console deployment task. This is a Win2016 10.0.14393.8783 (1607) server.

Exit Code: Not Available

Failure Line: 4

2
add prefetch item name = jre-8u481-windows-x64.exe sha1=7b298d1da24354acdaf47d0923ac40cdcc8b07f7 size=40365216 url={value of setting "_BESClient_AllowCustomRepoDownloads" of client | "http://download.oracle.com/MANUAL_BES_CACHING_REQUIRED/"}jre-8u481-windows-x64.exe sha256=d6a4abf18c16ff525b3469cebeb96673d7ddf2b42fe6924c75c0feead4f68ae8
3
end prefetch block
4
continue if {not exists running application whose ((it = "java.exe" OR it = "javaw.exe" OR it = "javaws.exe" OR it = "iexplore.exe" OR it = "firefox.exe") of (name of it as lowercase))}
5
// Note: update .exe will restart service automatically
6
if{exists running service "JavaQuickStarterService"}

That check on line 4 is to ensure there are no open browsers or running instances of Java (which may cause the setup to fail).

Those Fixlets I believe have a second action, which would close all open instances of Java or browsers. Determine whether that's a fit for your use-case (for instance being sure you understand the impacts of you're closing Java services like Tomcat), and see whether Action2 is a better fit for your needs

Thanks Jason, will try this option if it is work.

image

@Michael-Kaiser, just a word of caution - java is one of those apps that does everything in memory, so by using Action2 which essentially kills any running java process and proceeds with the upgrade, there is a small risk of data corruption/data goes missing. Depending on how/what the app is you may want to be careful and see if you can have the app brought down gracefully before patching.

1 Like