"Lookup error: javax.naming.AuthenticationException: Invalid username/password" When Trying to Deploy Using Admin.jar (Doc ID 472150.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.0 to 10.1.2.3.0 [Release AS10gR2]
Information in this document applies to any platform.
Checked for relevance on 15-Jan-2010.


Symptoms

When trying to deploy an application to OC4J 10.1.2.0.2 with the following command:

# java -jar <oracle-home>/j2ee/home/admin.jar ormi://<host>:<port> "<user>" "<password>" -deploy -file application.ear -bindAllWebApps

where <user> is adminUser in this case,

the process fails with:

Error: Unexpected error during lookup : Lookup error: javax.naming.AuthenticationException:
Invalid username/password for default (adminUser); nested exception is:
javax.naming.AuthenticationException: Invalid username/password for default (adminUser)








Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms