Re: Problems using loadjava

From: Bricklen Anderson <bricklen_at_shaw.ca>
Date: Mon, 07 Jan 2002 21:13:05 GMT
Message-ID: <3C3A0EF9.AE3DB0E2_at_shaw.ca>


Mauricio wrote:
>
> Hello,
>
> I am having some problems trying to use loadjava to load manually
> SSOHash.class into the database due to some post-installation
> erros in 9iAS. I've already checked that my PATH and CLASSPATH
> are setted. But when I try to run loadjava I get the following
> errors:
>
> 1) When I execute it just calling "loadjava"
> bash: /u01/app/oracle/product/portal30/bin/loadjava: No such
> file or directory
> 2) When I execute it calling "./loadjava" in the prompt
> bash: ./loadjava: No such file or directory
>
> I am using RH6.2 + Oracle 8i (8.1.6) + 9iAS (1.0.2.0.0)
>
> I know that this is tipically caused by enviroment variables but
> as you can see in my enviroment as follows I have already setted
> it:
>
> I read somewhere in internet that loadjava requires shell ksh but it requires
> me to update glibc to version 2.2. Is that true?
>
> Any help is appreciated!
>
> My enviroment variables are:
>
> ##########
> # ORACLE #
> ##########
>
> ORACLE_BASE=/sagedb01/app/oracle; export ORACLE_BASE
> ORACLE_HOME=$ORACLE_BASE/product/portal30; export ORACLE_HOME
> #DISPLAY=172.16.80.1:0.0; export DISPLAY
> #TMP=/sagedb04/temp; export TMP
> #ORACLE_HOME=$ORACLE_BASE/product/8.1.6; export ORACLE_HOME
> #ORACLE_HOME=$ORACLE_BASE/product/webdb; export ORACLE_HOME
> LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
> ORACLE_SID=sage; export ORACLE_SID
> ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
> NLS_LANG=american; export NLS_LANG
> #PATH=$PATH:/usr/local/bin:/etc; export PATH
> PATH=$PATH:$ORACLE_HOME/bin:/usr/local/bin:/etc:/usr/local/jdk1.2
> .2/bin:$ORACLE_HOME/JRE; export PATH
> TNS_ADMIN=$ORACLE_BASE/product/8.1.6/network/admin; export
> TNS_ADMIN
>
> ##########
> # JAVA #
> ##########
>
> JAVA_HOME=/sagedb01/app/oracle/product/portal30/JRE; export
> JAVA_HOME
> CLASSPATH=/sagedb01/app/oracle/product/portal30/JRE/lib/rt.jar:/s
> agedb01/app/oracle/product/portal30/JRE/lib/i18n.jar:/sagedb01/ap
> p/oracle/product/portal30/jlib/javax-ssl-
> 1_1.jar:/sagedb01/app/oracle/product/portal30/jlib/jssl-
> 1_1.jar:$ORACLE_HOME/jdbc/lib/classes111.zip:$ORACLE_HOME/sqlj/li
> b/translator.zip:$ORACLE_HOME/javavm/lib/aurora.zip:/sagedb01/app
> /oracle/product/portal30/webdb30/admin/plsql/wwc/; export
> CLASSPATH
> JRECLASSPATH=/sagedb01/app/oracle/product/portal30/JRE/lib/rt.jar
> :/sagedb01/app/oracle/product/portal30/JRE/lib/i18n.jar:/sagedb01
> /app/oracle/product/portal30/jlib/javax-ssl-
> 1_1.jar:/sagedb01/app/oracle/product/portal30/jlib/jssl-
> 1_1.jar:$ORACLE_HOME/jdbc/lib/classes111.zip:$ORACLE_HOME/sqlj/li
> b/translator.zip:$ORACLE_HOME/javavm/lib/aurora.zip;
> export JRECLASSPATH
> LD_LIBRARY_PATH=$ORACLE_HOME/lib:$JAVA_HOME/lib; export
> LD_LIBRARY_PATH
check the headers of the shell scripts in your $ORACLE_HOME/bin directory and make sure that they point to the same shell that you are using. I have to change the headers from ksh to bash to make them execute correctly.

hth Received on Mon Jan 07 2002 - 22:13:05 CET

Original text of this message