I have been working on trying to upgrade an instance of PeopleSoft that I have to PeopleTools 8.51. In doing so, I had some issues with installing WebLogic. This post describes the errors and fixes.
Invalid Java Home Error
The first problem I had was trying to get it to recognize the Java installation. I tried both JRockit and Sun’s Java. Neither one seemed to work:
I finally found a thread describing that it was the space in the Java Home path that was causing the problem. When I installed the JDK in E:\Java instead of E:\Program Files\Java, it worked.
Installer Breaking at 50%
Everytime, the installer breaks at 50% for some reason:
I found one thread that said just to use the JDK 1.6. You can tell which version you are using with the java -version command:
Then, I found this post, that tells how to create a log file for the installation. I ran the installer with this:
java -jar wls1033_generic.jar -log=e:\install\wlinstall.log
Here is the error message in the log file:
2011-02-04 12:22:57,190 ERROR [setPatchEnv_silent] com.bea.plateng.wizard.WizardController - Uncaught Exceptionjava.lang.IllegalArgumentException: Invalid product-ref! Unable to locate product=Tuxedo release=9.1.0.0at com.bea.cie.gpr.internal.model.dao.reg.DelegateRegistryHelper.getProductMap(DelegateRegistryHelper.java:185)at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.getProdInstallDirToProdSet(PatchScriptHandlerTask.java:189)at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.handleBEAHome(PatchScriptHandlerTask.java:126)at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.execute(PatchScriptHandlerTask.java:60)at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)at java.lang.Thread.run(Thread.java:662)2011-02-04 12:22:57,190 ERROR [setPatchEnv_silent] com.bea.plateng.wizard.WizardController - Uncaught Exceptionjava.lang.IllegalArgumentException: Invalid product-ref! Unable to locate product=Tuxedo release=9.1.0.0 at com.bea.cie.gpr.internal.model.dao.reg.DelegateRegistryHelper.getProductMap(DelegateRegistryHelper.java:185) at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.getProdInstallDirToProdSet(PatchScriptHandlerTask.java:189) at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.handleBEAHome(PatchScriptHandlerTask.java:126) at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.execute(PatchScriptHandlerTask.java:60) at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28) at java.lang.Thread.run(Thread.java:662)
So, I tried to use a new home directory:
This actually worked!
Just in case it helps anyone, I found another article mentioning that the problem might be a 64/32 bit issue. The only thing is that I only saw a single “generic” version for download on e-delivery.
I had a problem with the Weblogic installer earlier today too.. The problem turned out to be a bad install of the JDK. In my situation, the uninstaller wouldn’t work (another story), so I removed it manually by going to the registry editor and removing all references for the bad JDK. Then I ran CCleaner to clean up what I’d left dangling, if anything. Next, I reinstalled the JDK, and then ran the Weblogic installer. It installed without error, picking up the JAVA_HOME as expected this time.