Agent log "Error retrieving work contest correlation informationnull" Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
-> when using the agent extension Weblogic Communication Tracing to monitor Weblogic:
[ERROR] [IntroscopeAgent.Weblogic Correlation] Error retrieving work context correlation informationnull
[DEBUG] [IntroscopeAgent.Weblogic Correlation]
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.wily.field.weblogic.correlation.AbstractWorkAreaCorrelationTracer.correlationAlreadySet(AbstractWorkAreaCorrelationTracer.java:174)
at com.wily.field.weblogic.correlation.AbstractWorkAreaCorrelationTracer.attachCorrelationInformationOnWorkarea(AbstractWorkAreaCorrelationTracer.java:194)
at com.wily.field.weblogic.correlation.WorkAreaEjbCorrelationTracer.ITracer_startTrace(WorkAreaEjbCorrelationTracer.java:46)
at com.wily.introscope.agent.trace.InvocationData.IMethodTracer_startTrace(InvocationData.java:1342)
at com.cnam.pat.infra.tuxgateway.TuxGateway_7ycwtm_EOImpl_1036_WLStub.callService(Unknown Source)
at com.cnam.pat.pat.FML.TuxAccessorProxy.callSFR(TuxAccessorProxy.java:1838)
at com.cnam.pat.infra.proxy.PATClientProxy.callSFR(PATClientProxy.java:25)
at com.cnam.pat.service.sfr.facade.CallServiceAction.run(CallServiceAction.java:28)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
...
Caused by:
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:848)
at weblogic.security.service.IdentityUtility.authenticatedSubjectToIdentity(IdentityUtility.java:30)
at weblogic.security.service.RoleManager.getRoles(RoleManager.java:183)
at weblogic.security.service.AuthorizationManager.isAccessAllowed(AuthorizationManager.java:375)
at weblogic.rmi.provider.WorkContextAccessController.checkAccess(WorkContextAccessController.java:62)
at weblogic.workarea.spi.WorkContextAccessController.isAccessAllowed(WorkContextAccessController.java:42)
Please refer to the following Oracle article to enable trust between WLS domains:
Enabling Trust Between WebLogic Server Domains
https://docs.oracle.com/cd/E21764_01/web.1111/e13707/domain.htm#SECMG404