User 358ce23aa2
28-10-2009 14:42:16
Dear support team,
I got error messages when installing jcargridge by using "install-interact.sh" script.
the details of error messages are as follow:
******************************************
You have entered the following parameters:
==========================================
Name of the Oracle host.: 10.66.2.244
Oracle listener port: 1521
Name of the Oracle instance: ORCL
The host name of the JChem Server: 10.66.2.244
The port at which the JChem Server accepts connections: 1099
maximum memory allocated to JChem Server: 700m
DBA login: SYSTEM
Name of the cartridge owner: jchem
Local TNS name of the Oracle instance.: ORCL
The role for basic JChem Cartridge user privileges: JCC_BASIC_ROLE
The basic role for basic JChem Cartridge user privileges doesn't exist. Do you want to create it now?: y
Proceed with the Install? (y,n) [n]: y
INFO: Creating schema jchem
INFO: Checking JChem Server at 10.66.2.244:1099...
INFO: Loading PL/SQL script jcart.jar into jchem's schema...
INFO: Loading PL/SQL script jchem_cart.sql_i into jchem's schema...
INFO: Loading PL/SQL script jchem_util.sql into jchem's schema...
INFO: Loading PL/SQL script jchem_opti.sql into jchem's schema...
INFO: Loading PL/SQL script privman.sql into jchem's schema...
INFO: Testing with user jchem...
java.sql.SQLException: ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: Problem connecting to JChemServer: rmi://10.66.2.244:1099: the Permission (java.net.SocketPermission localhost resolve) has not been granted to JCHEM. The PL/SQL to grant this is dbms_java.grant_permission( 'JCHEM', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' )...............
********************************************************************
OS: linux, Oracle: 10g, JDK4.2.1
what else should I do to avoid the error before using "install-interact.sh" to install jcartridge?
by the way, please refer my .bash_profile content (as follows) to see if there are any errors.
***********************************
PATH=$PATH:$HOME/bin
export JAVA_HOME=/home/jchem/ChemAxon/JChem/jre
#export JAVA_HOME=/u01/app/oracle/product/10.2.0/jre/1.4.2
#export JAVA_HOME=/u01/app/oracle/product/10.2.0/jdk/jre
export AWT_TOOLKIT=MToolkit
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/10.2.0
export ORACLE_SID=ORCL
export PATH=$PATH:$ORACLE_HOME/bin:$JAVA_HOME/bin
export PATH
unset USERNAME
*************************************************
Thanks for your kind support!!
Albert