Loadjava is Prompting for a Password if Resolve is Not First
(Doc ID 846638.1)
Last updated on AUGUST 26, 2021
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
This problem can occur on any platform.
$ORACLE_HOME/bin/loadjava -t -u -resolve scott/tiger@<DB Server>:<Port Number>:SID Hello.class;
Prompts for a password and then errors with the following:
Error while opening file: scott\tiger
Exception java.io.FileNotFoundException: scott\tiger (The system cannot find the path specified)
SQL Error while connecting with thin driver to default database: Io exception: The Network Adapter could not establish the connection Error while processing class Hello Exception oracle.aurora.server.tools.loadjava.ConnectionError: could not open connection
SQL Error while connecting with thin driver to default database: Io exception: T
he Network Adapter could not establish the connection
exiting : could not open connection
But, this works:
$ORACLE_HOME/bin/loadjava -resolve -f -o -user scott/tiger@<DB Server>:<Port Number>:SID Hello.class;
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document