Database Security Products (MOSC)

MOSC Banner

using oracle wallet from java script

edited Mar 28, 2013 9:30AM in Database Security Products (MOSC) 1 commentAnswered
I am having problems using oracle external wallet to connect to a remote database (v 11.2.0.3) from a java script

I don't have any experience using java so I have copied a sample script from a website and I am getting ORA-0107 error - invalid userid and password.

When I just do sqlplus /@database - I connect with the ID stored in the wallet

here is the script that I use
export ORACLE_HOME=/opt/oracle/product/11.2.0/client
export PATH=$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:/usr/java5/jre/bin:/usr/java5/bin:.:$PATH
export PATH=$ORACLE_HOME/jdk/bin:/usr/local/bin:/bin:/usr/ccs/bin:/usr/openwin/bin:$ORACLE_HOME/bin

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center