During fedlet creation error "Cannot run program "keytool": error=2, No such file or directory" on Solaris sparc (Doc ID 2224331.1)

Last updated on APRIL 25, 2017

Applies to:

Oracle OpenSSO - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

Configuring Oracle OpenSSO Fedlet for a Service Provider
jdk1.7.0_45 or jdk1.8.0_102
Solaris 10 on Oracle Solaris on SPARC (64-bit)


Issue detail-

Unable to create a Fedlet  with  below error:
'Cannot run program "keytool": error=2, No such file or directory'

Steps as per Doc - http://docs.oracle.com/cd/E17842_01/doc.1111/e17847/configjavasp.htm#BABBDJJJ

# mkdir Dev6
# cd Dev6
# mkdir completedFedlet
# cd ..
# unzip Oracle-OpenSSO-Fedlet.zip -d Dev6
   Archive:  Oracle-OpenSSO-Fedlet.zip
   creating: Dev6/asp.net/
   creating: Dev6/asp.net/SampleApp/
# cd Dev6/java
# java -version
   java version "1.8.0_102"
   Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
   Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
# export JAVA_HOME=/opt/software/jdk1.7.0_45/bin/sparcv9
# $JAVA_HOME/jar xvf fedlet.war
    created: META-INF/




Error -  "Cannot run program "keytool": error=2, No such file or directory" message regardless of the jdk used , jdk1.7.0_45 or jdk1.8.0_102


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms