Oracle Weblogc config.sh

The config.sh script from Oracle weblogic to create a domain is not compatibel with a Java version > 1.6.0_27 if you like to use X-window. Also the config_builder.sh to create domains is incompatibel with the newest (current date 10-11-2011) Java version jdk1.7.0_01.

To fix this, you have to replace the JAVA_HOME var in following Weblogic files (if you installed with jdk1.7.0_01) with your oldie jdk :

  1. commEnv.sh in WL_HOME/common/bin
  2. .product.properties in WL_HOME

To make sure before you start the config tools do this:


export JAVA_HOME=/<path>/<your new jdk>
export PATH=$JAVA_HOME/bin:$PATH
[thomas@oel5505 bin]$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b51)
Java HotSpot(TM) Server VM (build 17.0-b17, mixed mode)
[thomas@oel5505 bin]$ ./config.sh

Advertisements

Oracle Fusion Middleware 10.3.1.5 silent installation

Tired of all the clicking in wizards or simply no X available for you? Luckly Oracle provides a silent install for most of his software packages. I will describe following product installations:

  1. Oracle Weblogic
  2. Oracle Service Bus
  3. Oracle SOA suite
  4. Oracle Jdeveloper

1. Oracle Weblogic

Oracle uses 2 types of silent installations. One with a xml file and the other makes use of a response file with extra in file parameters. The silent install consists of two files, one for invoking the installer and one with the silent description. I will describe both files for every software package.

installWLS:

SET BEA_HOME=D:\\oracle\\middleware
wls1035_oepe111172_win32.exe -mode=silent -silent_xml=silentWLS.xml -log=%BEA_HOME%\\wls_11g_install.log

silentWLS.xml (note the OEPE addition to the weblogic component paths, for develop purposes)

<?xml version="1.0" encoding="UTF-8"?>
   <bea-installer>
     <input-fields>
       <data-value name="BEAHOME" value="d://oracle//middleware"/>
       <data-value name="WLS_INSTALL_DIR" value="d://oracle//middleware//wlserver_10.3"/>
       <data-value name="COMPONENT_PATHS" value="WebLogic Server|Oracle Enterprise Pack for Eclipse"/>
   </input-fields>
</bea-installer>

2. Oracle Service Bus

OSB uses response files. Also here i will create two files an installer and a response file. Make sure you put the installer and the response file on same height as the extracted directories.

installOSB

SET BEA_HOME=d://Oracle//Middleware
SET INVENTORY=d://Oracle//inventory
SET JAVA_HOME=%BEA_HOME%//jrockit_160_24_D1.1.2-4
SET JAVA=%JAVA_HOME%/bin/java
%CD%/Disk1/setup.exe -silent -response %CD%/OSB_responsefile -jreLoc %JAVA_HOME%/jre

OSB_responsefile

[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
SKIP_SOFTWARE_UPDATES=true
TYPICAL TYPE=false
CUSTOM TYPE=true
Oracle Service Bus Examples=false
Oracle Service Bus IDE=true
ORACLE_HOME=d://oracle//middleware//osb
MIDDLEWARE_HOME=d://oracle/middleware
WL_HOME=d://oracle//middleware//wlserver_10.3
OEPE_HOME=d://oracle//middleware//oepe_11gR1PS4
[SYSTEM]
[APPLICATIONS]
[RELATIONSHIPS]

3. Oracle SOA Suite
installSOA

SET BEA_HOME=d://Oracle//Middleware
SET INVENTORY=d://Oracle//inventory
SET JAVA_HOME=%BEA_HOME%//jrockit_160_24_D1.1.2-4
SET JAVA=%JAVA_HOME%/bin/java

%CD%/Disk1/setup.exe -silent -response %CD%/SOA_responsefile -jreLoc %JAVA_HOME%/jre

SOA_responsefile

[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
ORACLE_HOME=d:/oracle/middleware/Oracle_SOA1
MIDDLEWARE_HOME=d:/oracle/middleware
WL_HOME=d:/oracle/middleware/wlserver_10.3
SKIP_SOFTWARE_UPDATES=true
[SYSTEM]
[APPLICATIONS]
[RELATIONSHIPS]

4. Oracle Jdeveloper
installJdev

SET BEA_HOME=D:\\oracle\\middleware
jdevstudio11115install.exe -mode=silent -silent_xml=silentJdev.xml -log=%BEA_HOME%\\jdev_install.log

silentJdev.xml

<?xml version="1.0" encoding="UTF-8"?>
   <bea-installer>
     <input-fields>
       <data-value name="BEAHOME" value="d://oracle//middleware"/>
       <data-value name="LOCAL_JVMS" value="d://oracle//middleware//jdk160_24"/>
       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="true"/>
     </input-fields>
   </bea-installer>

Comming soon silent installer for Oracle data integrator