My Oracle Support Banner

In Cluster Environment, Users are Unable to Login and Error "Login Failed. Username and/or password is incorrect, or user is unauthorized" is Reported (Doc ID 2717938.1)

Last updated on OCTOBER 16, 2020

Applies to:

Oracle Retail Store Inventory Management - Version 16.0.1 and later
Information in this document applies to any platform.

Goal

When user tries to login to Store Inventory Management(SIM) application with clustered with multiple nodes, received below error.

Java Console:
 

ERROR [javawsApplicationMain][java.lang.String] oracle.retail.sim.common.business.BusinessException:Login Failed. Username and/or password is incorrect, or user is unauthorized. at oracle.retail.sim.client.security.SimLoginManager.loginUser(Unknown Source) at oracle.retail.sim.client.security.SimLoginManager.ssoLogin(Unknown Source) at oracle.retail.sim.client.security.SimLoginManager.login(Unknown Source) at oracle.retail.sim.client.application.ApplicationLauncher.clientLogin(Unknown Source) at oracle.retail.sim.client.application.ApplicationLauncher.launch(Unknown Source) at oracle.retail.sim.client.application.ApplicationLauncher.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

Error in sim.log file:


ERROR-1 Time: 9/16/20 11:31 AM Type: SimServerException Message: An error occurred accessing SecurityCacheService. Please contact your system administrator. Root Cause: Could not establish a connectionManager with 4010915937620112293S<IP Address>:[7103,7103,-1,-1,-1,-1,-1]:SIMDomain:server6_wl_SIM_business, /?partitionName=DOMAIN java.lang.ClassCastException: weblogic.socket.NIOSocketMuxer$2 cannot be cast to javax.net.ssl.SSLSocket; nested exception is:
java.lang.ClassCastException: weblogic.socket.NIOSocketMuxer$2 cannot be cast to javax.net.ssl.SSLSocket
java.rmi.ConnectException: Could not establish a connectionManager with 4010915937620112293S:<IP Address>:[7103,7103,-1,-1,-1,-1,-1]:SIMDomain:server6_wl_SIM_business, /?partitionName=DOMAIN java.lang.ClassCastException: weblogic.socket.NIOSocketMuxer$2 cannot be cast to javax.net.ssl.SSLSocket; nested exception is:
java.lang.ClassCastException: weblogic.socket.NIOSocketMuxer$2 cannot be cast to javax.net.ssl.SSLSocket
at weblogic.rjvm.RJVMImpl.getOutputStreamByURL(RJVMImpl.java:470)
.....
Caused by: java.lang.ClassCastException: weblogic.socket.NIOSocketMuxer$2 cannot be cast to javax.net.ssl.SSLSocket
....

Solution

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
Goal
Solution
References


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