using oracle wallet from 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