java.lang.reflect.InvocationTargetException

Oracle Community | Karthik Krishnamurthy-Oracle | 3 years ago
  1. 0

    Service Account not found if kept in different project

    Oracle Community | 3 years ago | Karthik Krishnamurthy-Oracle
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. com.bea.wli.sb.security.CredentialNotFoundException

      There is no service account named "ProjectB/ServiceAccount/MySA.sa".

      at com.bea.wli.sb.svcacct.ServiceAccountRuntimeManagerImpl.getUsernamePasswordCredential()
    2. com.bea.wli
      BasicCredentialsUserFunction.lookupBasicCredentials
      1. com.bea.wli.sb.svcacct.ServiceAccountRuntimeManagerImpl.getUsernamePasswordCredential(ServiceAccountRuntimeManagerImpl.java:183)
      2. com.bea.wli.sb.svcacct.ServiceAccountRuntimeManagerImpl.getUsernamePasswordCredential(ServiceAccountRuntimeManagerImpl.java:169)
      3. com.bea.wli.sb.stages.functions.BasicCredentialsUserFunction.lookupBasicCredentials(BasicCredentialsUserFunction.java:59)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.bea.wli
      XQueryExternalFunction.init
      1. com.bea.wli.sb.stages.functions.XQueryExternalFunction.execute(XQueryExternalFunction.java:111)
      2. com.bea.wli.sb.stages.functions.XQueryExternalFunction.init(XQueryExternalFunction.java:61)
      2 frames
    5. weblogic.xml.query
      ExecutionWrapper.open
      1. weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:170)
      2. weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:166)
      3. weblogic.xml.query.runtime.core.ExecutionWrapper.open(ExecutionWrapper.java:58)
      3 frames
    6. com.bea.wli
      MessageContextImpl.setVariableValue
      1. com.bea.wli.common.xquery.iterators.XQueryVariableMapper.getObject(XQueryVariableMapper.java:509)
      2. com.bea.wli.sb.context.ContextUtils.checkValue(ContextUtils.java:69)
      3. com.bea.wli.sb.context.MessageContextImpl.setVariableValue(MessageContextImpl.java:234)
      3 frames
    7. stages.transform.runtime
      AssignRuntimeStep.processMessage
      1. stages.transform.runtime.AssignRuntimeStep.processMessage(AssignRuntimeStep.java:54)
      1 frame
    8. com.bea.wli
      SequenceRuntimeStep.processMessage
      1. com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
      2. com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)
      2 frames
    9. stages.transform.runtime
      IfThenElseRuntimeStep.processMessage
      1. stages.transform.runtime.IfThenElseRuntimeStep.processMessage(IfThenElseRuntimeStep.java:86)
      1 frame
    10. com.bea.wli
      RouterManager$1.run
      1. com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
      2. com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
      3. com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
      4. com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
      5. com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
      6. com.bea.wli.sb.pipeline.PipelineNode.doRequest(PipelineNode.java:55)
      7. com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
      8. com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
      9. com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
      10. com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:96)
      11. com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:594)
      12. com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
      12 frames
    11. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      1 frame
    12. com.bea.wli
      ServiceMessageSender$1.run
      1. com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
      2. com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
      3. com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:332)
      4. com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:79)
      5. com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:137)
      6. com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:135)
      6 frames
    13. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      1 frame
    14. com.bea.wli
      TestService_sqr59p_EOImpl.__WL_invoke
      1. com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
      2. com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:140)
      3. com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
      4. com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
      5. com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
      6. com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.__WL_invoke(Unknown Source)
      6 frames
    15. weblogic.ejb.container
      SessionRemoteMethodInvoker.invoke
      1. weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
      1 frame
    16. com.bea.wli
      TestService_sqr59p_EOImpl_WLSkel.invoke
      1. com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(Unknown Source)
      2. com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
      2 frames
    17. weblogic.rmi.internal
      BasicServerRef.invoke
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
      1 frame
    18. weblogic.rmi.cluster
      ClusterableServerRef.invoke
      1. weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
      1 frame
    19. weblogic.rmi.internal
      WLSExecuteRequest.run
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
      2. weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
      2 frames
    20. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      2 frames