I've been tasked with deploying an application built by a third party on an Oracle Application Server, version 10.1.3.0. I've deployed it on Oracle Application Server version 10.1.2.0 without much difficulty. I'm getting the following error:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException:
No such domain/application: "etrace"; nested exception is:
javax.naming.AuthenticationException: No such domain/application: "etrace"
[Root exception is javax.naming.AuthenticationException: No such domain/application: "etrace"]
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
Before that the application code instantiates and initializes an InitialContext Object and performs the lookup method call. The value it passes is just a String with the value of the fully qualified name of the class being requested (com.ntc.tracing.app.security.EtraceAuthenticatorService). Looking at the InitialContext object, I know it has the following parameters set in the environments hashtable:
java.naming.factory.initial: com.evermind.server.rmi.RMIInitialContextFactory
java.naming.provider.url: ormi://ntcdevr310g22:12401/etrace
java.naming.factory.url.pkgs: oracle.oc4j.naming.url
java.naming.security.principal: admin
java.naming.security.credentials: admin1
The provider url, principal and credentials are set by me (via command line).
I'm confused as to what the error even means. If I give it a "bad" provider url or no principal and pass, I'll get a different error (NullPointerException). That tells me it's hitting the naming provider, but it's not saying it can't find the class.
Any suggestions would be greatly appreciated. Right now I'm stumped.