JDK-6760413 : Problems upgrading to 6u10 b32 JRE then JDK, eventually Error 25099 with GlassFish
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-10-16
  • Updated: 2010-04-26
  • Resolved: 2008-10-22
Related Reports
Relates :  
Relates :  
Description
just downloaded 6u10-b32 (have 6u10-b25 installed already) and started the installer.
It says "This software already is installed on your computer. Do you like to install
again?" if press "YES". Then it says "This action is only valid for products which 
are currently installed."

So it seems there either was a registration problem with b25, or there is a 
recognition problem in b32!

Then removed 1.6.0_10 from machine and cleaned the registry.
also removed 1.6.0_07 SDK. Then installed 1.6.0_07 SDK -- worked well! 
Then downloaded the brand new 1.6.0_10 SDK and it shows the Error 25099 error message. 

Had tried several times, with and without administrator rights, with and without 
reboots between installations -- no chance, always the same message. 

It seems to related to GlassFish which can be installed as a Windows Service, 
resulting in the JVM beeing a locked file directly after reboot. 

JRE should needs a solution that is independent of GlassFish or any other Java products.

Comments
EVALUATION I could not duplicate. I see that the Glassfish service locks the JDK files: bin\java.exe; jre\bin\ files: msvcr71.dll, jvm.dll, hpi.dll, verify, java.dll, zip.dll, net.dll, management.dll, nio.dll, and rmi.dll; jre\lib\resource.jar; lib\tools.jar; jre\lib\rt.jar; and jre\lib\jsse.jar when the GlassFish service is started, but since the JDK not a patch-in-place but an installation to a different directory, files in use detection is not imperative. (Without the log file, I am guessing that some file in use caused the Error 25099.) I tried: - Install 6u7 JDK - set JAVA_HOME=C:\Progra~1\Java\jdk1.6.0_07 - Installed glassfish-installer-v2ur2-b04-windows.jar: (https://glassfish.dev.java.net/downloads/v2-b58g.html) > java -Xmx256m -jar filename.jar > cd glassfish > lib\ant\bin\ant -f setup.xml (https://glassfish.dev.java.net/downloads/quickstart/index.html#ProcedureTo_Start_the_GlassFish_server) - Add the install-dir/bin/ directory to the PATH environment variable. - Create Glassfish serive: >sc create GlassFishDomain1 binPath= "C:\tmp\glassfish\glassfish\lib\appservService.exe \"C:\tmp\glassfish\glassfish\bin\asadmin.bat start-domain domain1\" \"C:\tmp\glassfish\glassfish\bin\asadmin.bat stop-domain domain1\"" start= auto DisplayName= "GlassFish DOMAIN1" - >net start GlassFishDomain1 - Install 6u10 JDK It installed fine.
22-10-2008

EVALUATION Answer from the submitter: Version of GlassFish: Sun Java System Application Server 9.1_02 (build b04-fcs) Installation as service: * Added: <jvm-options>-Xrs</jvm-options> to domain.xml * Started: sc create GlassFishDomain1 binPath= "%PROGRAMFILES%\glassfish\lib\appservService.exe \"%PROGRAMFILES%\glassfish\bin\asadmin.bat start-domain domain1\" \"%PROGRAMFILES%\glassfish\bin\asadmin.bat stop-domain domain1\"" start= auto DisplayName= "GlassFish DOMAIN1" When was it installed: Directly after installation of GlassFish.
20-10-2008

EVALUATION Tried two scenarios on WinXP to try to duplicate the first unexpected error: "This action is only valid for products which are currently installed." and couldn't reproduce. Looking into GlassFish as a service. A. Installed 6u7 JDK Installed 6u10-b25 JRE Install 6u10-b32 JRE - prompted "This software already is installed on your computer. Do you like to install again?" - clicked "YES" 6u10 b32 installed fine. B. Installed 6u7 JDK Installed 6u10-b25 JDK Install 6u10-b32 JRE - prompted "This software already is installed on your computer. Do you like to install again?" - clicked "YES" 6u10 b32 installed fine.
20-10-2008

EVALUATION Need more information: Which version of Glassfish? How was it installed as a service? When was it installed as a service? My interpretation of the steps, minus the missing info about GlassFish is: Install 6u7 (JDK, I guess, see below) do something ? Install 6u10-b25 (JRE or JDK?) do something ? Install 6u10-b32 (JRE, because 6u10 JDK should not cause this prompt) - prompts "This software already is installed on your computer. Do you like to install again?" - press "YES" Unexpected result 1: - "This action is only valid for products which are currently installed." Removed 1.6.0_10 from machine (Using Add or Remove Programs?) "cleaned the registry" (How? What was deleted?) Removed 1.6.0_07 JDK (Using Add or Remove Programs?) Installed 1.6.0_07 JDK - works Try to install 6u10 b32 JDK Unexpected result 2: - Error 25099
20-10-2008

EVALUATION We don't understand why this user saw "This action is only valid for products which are currently installed." I didn't know the Error 25099 with GlassFish installed as a service was only after the something was messed up and caused "This action is only valid for products which are currently installed."
16-10-2008