"Lookup error: javax.naming.AuthenticationException: Invalid username/password" When Trying to Deploy Using Admin.jar
(Doc ID 472150.1)
Last updated on OCTOBER 13, 2022
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.
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> "<ADMIN USER>" "<PASSWORD>" -deploy -file application.ear -bindAllWebApps
where <ADMIN 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
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 |
Cause |
Solution |
References |