My Oracle Support Banner

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 11.1.0.6 and later
Information in this document applies to any platform.
This problem can occur on any platform.



Symptoms

$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:

Password:
*
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;

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.