This discussion is archived
8 Replies Latest reply: Mar 21, 2013 11:48 PM by karin987 RSS

Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server

karin987 Newbie
Currently Being Moderated
Hi all,

I try to install Weblogic 12.1.1 via silent install. I work on Solaris 10, have already installed JDK 1.7.
here what happens:
root@usqwrts001:/tmp/karin# java -d64 -Xmx1024m -jar wls1211_generic.jar  -mode=silent -silent_xml=/tmp/karin/silent.xml.long -log=./install.out
Extracting 0%....................................................................................................100%
The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support
root@usqwrts001:/tmp/karin# less install.out
2013-03-20 11:16:14,862 INFO [readSilentXML] com.bea.plateng.wizard.installer.common.parsers.TemplateParser - Silent xml file processed successfully...
2013-03-20 11:16:22,240 WARN [home] com.bea.cie.gpr.internal.model.JvmTargetManagerImpl - Property value for solaris32_jdk160_29b11.zip not found..
2013-03-20 11:16:22,302 ERROR [home] com.bea.plateng.wizard.installer.helpers.BEAHomeHelper - Error setting selections!
com.bea.cie.gpr.model.RegistryException: Unable to locate product "WebLogic Server "
at com.bea.cie.gpr.internal.model.HomeTargetImpl.setSelections(HomeTargetImpl.java:364)
at com.bea.plateng.wizard.installer.helpers.BEAHomeHelper.buildTarget(BEAHomeHelper.java:158)
at com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask.execute(SilentBEAHomeTask.java:33)
at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:722)
2013-03-20 11:16:22,307 ERROR [home] com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask - The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support

My silent.xml.long looks like this:
root@usqwrts001:/tmp/karin# less silent.xml.long
<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
<input-fields>
<data-value name="BEAHOME" value="/opt/weblogic-12.1-MP1" />
<data-value name="WLS_INSTALL_DIR" value="/opt/weblogic-12.1-MP1/weblogic-12.1-MP1" />
<data-value name="COMPONENT_PATHS"
value="WebLogic Server/Core Application Server|WebLogic Server
/Administration Console|WebLogic Server/Configuration Wizard and Upgrade
Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic
JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server
/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins
|WebLogic Server/Xquery Support|WebLogic Server/Server Examples|Oracle Coherence/Coherence Product Files" />
<data-value name="INSTALL_NODE_MANAGER_SERVICE" value="no" />
<data-value name="LOCAL_JVMS" value="/opt/jdk1.7.0_11"/>
</input-fields>
</bea-installer>

I already tried it with simply <data-value name="COMPONENT_PATHS" value="WebLogic Server" /> instead of the whole bunch, but behaviour didn't change.

My environment settings:
root@usqwrts001:/tmp/karin# echo $JAVA_HOME
/opt/jdk1.7.0_11/bin/sparcv9/
root@usqwrts001:/tmp/karin# echo $PATH
/opt/jdk1.7.0_11/bin/sparcv9:/sbin:/usr/bin:/usr/sbin:/usr/platform/sun4v/sbin:/usr/local/bin:/opt/openssh/bin:/usr/openwin/bin

As there is no bin directory under sparcv9 (which contains the 64-Bit modules), i took sparcv9 again for the path (instead of taking $JAVA_HOME/bin as described in documentation) . But I also tried the bin directory (without sparcv9) with the same effect.

Has anybody an idea for me??
Thanks a lot in advance
Karin.
  • 1. Re: Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server
    RenévanWijk Oracle ACE
    Currently Being Moderated
    "The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support"

    There is always a bea directory present, $USER_HOME/bea, that has a file called beahomelist (which contains the locations of the middleware homes).
    You could try to delete the directory and try again.

    Your silent.xml file looks correct, when in doubt you can view an example here - http://middlewaremagic.com/weblogic/?p=8260

    Just a hint, maybe it is also smart(er) to install your environment as a dedicated user, instead of root.
  • 2. Re: Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server
    karin987 Newbie
    Currently Being Moderated
    Thanks, Rene;

    this is a 'virgin' machine with no Oracle or BEA products installed yet apart from Java. Up to now, there is only a plain Solaris installation with all necessary network connections, nothing else. I did a search over the whole machine for that file beahomelist (I am allone on this server and there is hardly anything installed, - so I can do it ;-)), couldn't find it.

    My silent.xml file is a perfect copy of your link ;-) I just adopted the path names, so I guess, it should be fine. And: Yes, you are of course right, and I in no case will run Weblogic as root, but for a first try it should work, shouldn't it? I am just to lazy to establish our 'normal' Weblogic users on this machine ...

    So, any other ideas?
  • 3. Re: Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server
    950615 Newbie
    Currently Being Moderated
    Hi ,

    I would like suggest you:

    1. Try to create the Weblogic_home dir manually once and try again.
    2. Try by renaming the silent.xml.long to silent.xml.

    After that retry to install it.

    I hope it may help you.

    Humble Regards,
    Sandeep N.
  • 4. Re: Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server
    karin987 Newbie
    Currently Being Moderated
    Hi Sandeep,

    thanks a lot for your tips, which I tried, but didn't help anything. I also tried additionally with a non-64-Bit installation (changed JAVA_HOME and PATH and invoked java without -d64 and -Xmx param), but also failed.

    So, after more than 2 days 'playing around' I gave in and did a console-mode installation. That worked. I will just create a Solaris pacckage and install it where needed.

    Regards
    Karin.
  • 5. Re: Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server
    RenévanWijk Oracle ACE
    Currently Being Moderated
    Under root:

    [root@middleware-magic temp]# ./install-software.sh
    Extracting 0%....................................................................................................100%
    Extracting 0%....................................................................................................100%
    The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support

    Under another user:

    [someone@middleware-magic temp]$ ./install-software.sh
    Extracting 0%....................................................................................................100%
    Extracting 0%....................................................................................................100%
    The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support

    Looking at the log it is saying the following:
    2013-03-21 13:06:19,425 INFO  [readSilentXML] com.bea.plateng.wizard.installer.common.parsers.TemplateParser - Silent xml file processed successfully...
    2013-03-21 13:06:20,311 WARN  [home] com.bea.cie.gpr.internal.model.JvmTargetManagerImpl - Property value for linux32_jdk160_29b11.zip not found..
    2013-03-21 13:06:20,315 WARN  [home] com.bea.cie.gpr.internal.model.JvmTargetManagerImpl - Property value for linux_ia32_jrockit_160_29_D1.2.0-10_jdk.zip not found..
    2013-03-21 13:06:20,339 ERROR [home] com.bea.plateng.wizard.installer.helpers.BEAHomeHelper - Error setting selections!
    com.bea.cie.gpr.model.RegistryException: Unable to locate product "WebLogic Server" and component "WebLogic Web Server Plugins"
         at com.bea.cie.gpr.internal.model.HomeTargetImpl.setSelections(HomeTargetImpl.java:347)
         at com.bea.plateng.wizard.installer.helpers.BEAHomeHelper.buildTarget(BEAHomeHelper.java:158)
         at com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask.execute(SilentBEAHomeTask.java:33)
         at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
         at java.lang.Thread.run(Thread.java:662)
    2013-03-21 13:06:20,344 ERROR [home] com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask - The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support
    which means the select option 'WebLogic Server/WebLogic Web Server Plugins' is not a valid option (this is indeed the case as in WebLogic 12c there are no Plugins available, you can use the ones for WebLogic 10.3.6 though, but that is not the issue here).

    After editing the weblogic-silent.xml to reflect the correct components, we have something like:
    <?xml version="1.0" encoding="UTF-8"?>
    <bea-installer>
         <input-fields>
              <!-- BEAHOME: The full path for the middleware home directory. -->
              <data-value name="BEAHOME" value="/home/someone/weblogic12.1.1/installation"/>
              <!-- WLS_INSTALL_DIR: The full path for the directory where to install WebLogic Server. -->
              <data-value name="WLS_INSTALL_DIR" value="/home/someone/weblogic12.1.1/installation/wlserver_12.1"/>
              <!-- OCP_INSTALL_DIR: The full path for the directory where to install Coherence. -->
              <data-value name="OCP_INSTALL_DIR" value="/home/someone/weblogic12.1.1/installation/coherence_3.7"/>
              <!-- COMPONENT_PATHS: Specify the components and subcomponents to install. -->                 
              <data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic SCA|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/Xquery Support|Oracle Coherence/Coherence Product Files"/>
              <!-- INSTALL_NODE_MANAGER_SERVICE: Install Node Manager as a Windows service. -->
              <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="no"/>
              <!-- LOCAL_JVMS: Select JVMs which are already installed. -->
              <data-value name="LOCAL_JVMS" value="/home/someone/jrockit"/>
         </input-fields> 
    </bea-installer>
    Unfortunately, the documentation (http://docs.oracle.com/cd/E24329_01/doc.1211/e24492/silent.htm#i1044116) says the option 'WebLogic Server/WebLogic Web Server Plugins' is available. When running the installation again the following is observed:

    [someone@middleware-magic temp]$ ./install-software.sh
    Extracting 0%....................................................................................................100%
    Extracting 0%....................................................................................................100%
    Mar 21, 2013 1:09:05 PM java.util.prefs.FileSystemPreferences$2 run
    INFO: Created user preferences directory.

    and we have a much larger log file, with the last entry reading
    2013-03-21 13:09:26,990 INFO  [WizardController] com.bea.plateng.wizard.silent.tasks.LogTask - The installation was successfull!
    In your case it crashed on: Unable to locate product "WebLogic Server " - which looks like you have enters in your XML file "value="WebLogic Server/Core Application Server|WebLogic Server". Make sure everything is on one line, and that (as in my case) you select the right components.

    Should have posted this answer two days ago, but I thought to let you flounder a little (just kidding).
  • 6. Re: Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server
    karin987 Newbie
    Currently Being Moderated
    Hm. The question is: What of your installation is diffrent from mine.
    I meanwhile deleted my /opt/weblogic-12.1-MP1 directory (the dir still exists, but is empty), created an install user, which is NOT root, adopted my silent.xml (it's silent.xml again without '.long') not to install the Plugins, but I still get this output (and I never read of 'unable to locate ... component'):

    bash-3.2$ java -jar wls1211_generic.jar -mode=silent -silent_xml=/tmp/karin/silent.xml -log=./install.out
    Extracting 0%....................................................................................................100%
    The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support
    bash-3.2$ less install.out
    2013-03-21 14:19:38,495 INFO [readSilentXML] com.bea.plateng.wizard.installer.common.parsers.TemplateParser - Silent xml file processed successfully...
    2013-03-21 14:19:45,023 WARN [home] com.bea.cie.gpr.internal.model.JvmTargetManagerImpl - Property value for solaris32_jdk160_29b11.zip not found..
    2013-03-21 14:19:45,088 ERROR [home] com.bea.plateng.wizard.installer.helpers.BEAHomeHelper - Error setting selections!
    com.bea.cie.gpr.model.RegistryException: Unable to locate product "WebLogic Server "
    at com.bea.cie.gpr.internal.model.HomeTargetImpl.setSelections(HomeTargetImpl.java:364)
    at com.bea.plateng.wizard.installer.helpers.BEAHomeHelper.buildTarget(BEAHomeHelper.java:158)
    at com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask.execute(SilentBEAHomeTask.java:33)
    at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
    at java.lang.Thread.run(Thread.java:662)
    2013-03-21 14:19:45,099 ERROR [home] com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask - The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support

    I will give it another try with 64-Bit installer, but I doubt, this will change anything ...

    Thanks for all your help.

    Karin.
  • 7. Re: Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server
    RenévanWijk Oracle ACE
    Currently Being Moderated
    Is this line
    <data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic SCA|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/Xquery Support|Oracle Coherence/Coherence Product Files"/>
    all on one line, or does it have enters init, for example,
    <data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server|WebLogic Server
    /Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic SCA|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/Xquery Support|Oracle Coherence/Coherence Product Files"/>
    If so, try putting it all on one line.
  • 8. Re: Silent install Weblogic 12.1.1 -> Unable to locate product "WebLogic Server
    karin987 Newbie
    Currently Being Moderated
    Hi Rene,

    I can't believe it, but your guess hit it: Putting all components in one single line cured my problem. And having a look at the sample xml file, it does not at all look as if the components all have to be concatenated ....

    Thanks a lot.
    Karin.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points