Langsung ke konten utama

OSB 12c Install/config RCU Command Fails With Jdk16/jdk/jre//bin/java No Such File or Directory

Applies to:

Oracle Service Bus - Version 11.2.1.0.3 and later
Information in this document applies to any platform.

Symptoms

Installing 12.2.1.3 Oracle Service Bus and the RCU command to create a repository is failing with jdk16/jdk/jre//bin/java. I installed JDK 1.7 on the server, weblogic server 12c 12.2.1.3 (java -jar fmw_12.2.1.3.0_infrastructure.jar) and Oracle Service Bus 12c (java -jar fmw_12.2.1.3.0.jar) and these run successfully. when rcu was executed it complained that jdk16/jdk/jre//bin/java: No such file or directory.
below is the actual message text.

[oracle@servicebus1:/u01/app/oracle/product/fmw/WLS_Server/oracle_common]$ ./rcu
Unable to locate java at the following location: /u01/app/oracle/product/fmw/WLS_Server/oracle_common/../jdk16/jdk/jre//bin/java. Please set the correct value for JAVA_HOME or ORACLE_HOME and try again.
./rcu: line 344: /u01/app/oracle/product/fmw/WLS_Server/oracle_common/../jdk16/jdk/jre//bin/java: No such file or directory.

Cause

JAVA_HOME was not set to JDK v1.7

Solution

Set the environment variable JAVA_HOME and be sure that JAVA_HOME/bin is the first entry in PATH prior to running the installer:

export JAVA_HOME=<path to Java v1.7 JDK>
export PATH=$JAVA_HOME/bin:$PATH

Komentar

Postingan populer dari blog ini

Mounting USB drives in Windows Subsystem for Linux

Windows Subsystem for Linux can use (mount): SD card USB drives CD drives (CDFS) Network drives UNC paths Local storage / drives Drives formatted as FAT, ExFAT or NTFS can be mounted in WSL. For this example, we assume the drive shows in Windows as F:\ If Windows changes the USB drive letter on a subsequent session, you need to repeat this process. The commands are typed into the Windows Subsystem for Linux Terminal. Create a mount location in WSL: $ sudo mkdir /mnt/f Mount the drive in WSL: $ sudo mount -t drvfs f: /mnt/f After this one-time setup, one can create and manipulate files from both Windows and WSL on the same drive. network storage Here we assume: networked storage is already showing in Windows under \\server\share we want to access this network storage from WSL as /mnt/share Create a mount location in WSL: $ sudo mkdir /mnt/share Mount the network share in WSL: $ sudo mount -t drvfs '\\server\share' /mnt/share

FMW 12.2.1.3.0: "ONS configuration failed" or "oracle.ons.NoServersAvailable: Subscription time out"

FMW 12.2.1.3.0: "ONS configuration failed" or "oracle.ons.NoServersAvailable: Subscription time out" Solving To implement the workaround in the Configuration Wizard(config.sh) set the following environment variable before launching config.sh. $ export CONFIG_JVM_ARGS=-Doracle.jdbc.fanEnabled=false

Install jq on Raspberry Pi

jq is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed , awk , grep and friends let you play with text. jq is written in portable C, and it has zero runtime dependencies. You can download a single binary, scp it to a far away machine of the same type, and expect it to work. jq can mangle the data format that you have into the one that you want with very little effort, and the program to do so is often shorter and simpler than you'd expect. $ cd /tmp $ wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz $ tar xfvz jq-1.5.tar.gz $ cd jq-1.5 $ ./configure && make && sudo make install