Compatibility of RMI Calls / EJB Calls from WLS 12.2.1 to WLS 10.3.6 (Doc ID 2095743.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

How to make an RMI call / an EJB call from WebLogic Server (WLS)  12.2.1 to WLS 10.3.6?

The same call has been working fine from WLS 12.1.3 to WLS 10.3.6, but trying to call from WLS 12.2.1 to WLS 10.3.6 with exactly the same application code and configuration, fails with:

java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[...].
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[...]
  at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:848)
  at weblogic.security.service.SecurityServiceManager.getSealedSubjectFromWire(SecurityServiceManager.java:522)
  at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:356)
  at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:953)
  at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:351)
  at weblogic.rmi.cluster.ClusterableServerRef.dispatch(ClusterableServerRef.java:242)
  at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1173)
  at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1055)
  at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:240)
  at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:888)
  at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:512)
  at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:330)
  at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:394)
  at weblogic.socket.SSLFilterImpl.dispatch(SSLFilterImpl.java:259)
  at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:965)
  at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:897)
  at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:126)
  at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
  at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
Is there any additional configuration required in WLS 12.1.3?
 

Solution

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