Identity Manager Java Remote Loader & SAP JCO

  • 3752543
  • 04-Jan-2008
  • 29-Apr-2013

Environment

Novell Identity Manager 3.5.1
Novell Identity Manager - Remote Loader

Situation

There is a routine in the start script of the java rl (dirxml_jremote), validate-jar(). This routine strips the sapjco.jar (used for connection to SAP-HR or SAP-User) from the classpath. Can this routine be removed since few people use JRE 1.3.1 anymore?

Resolution

Engineering is looking into the matter. In the meantime remove the offending section from the script.

###############################################################################

# Check first two bytes of purported .jar file to see if valid.

# We do this because at least one release of IBM's 1.3.1 JRE on AIX

# chokes if it finds an "invalid" .jar file in the class path.

###############################################################################

validate_jar()

{

two_bytes=`od -A n -N 2 -t c $1 | awk '/[A-Z][ \t]+[A-Z]/ {print $1 $2}'`

if [ "$two_bytes" = "PK"]

then

jarfile=$1

else

jarfile=

fi

}