javax.ejb.ObjectNotFoundException: Could not find username Test

ejbca | handracs | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SCEP Create New User

    ejbca | 5 years ago | handracs
    javax.ejb.ObjectNotFoundException: Could not find username Test

    Root Cause Analysis

    1. javax.ejb.ObjectNotFoundException

      Could not find username Test

      at org.ejbca.core.ejb.ca.auth.AuthenticationSessionBean.authenticateUser()
    2. org.ejbca.core
      AuthenticationSessionBean.authenticateUser
      1. org.ejbca.core.ejb.ca.auth.AuthenticationSessionBean.authenticateUser(AuthenticationSessionBean.java:77)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      2 frames
    5. org.jboss.ejb3
      InterceptorSequencer.aroundInvoke
      1. org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
      2. org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
      3. org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    8. org.jboss.ejb3
      InvocationContextInterceptor.fillMethod
      1. org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      1 frame
    9. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_26999190.invoke(InvocationContextInterceptor_z_fillMethod_26999190.java)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    10. org.jboss.ejb3
      InvocationContextInterceptor.setup
      1. org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      1 frame
    11. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_26999190.invoke(InvocationContextInterceptor_z_setup_26999190.java)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    12. org.jboss.ejb3
      CachedConnectionInterceptor.invoke
      1. org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      1 frame
    13. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    14. org.jboss.ejb3
      TransactionScopedEntityManagerInterceptor.invoke
      1. org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
      1 frame
    15. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    16. org.jboss.ejb3
      AllowedOperationsInterceptor.invoke
      1. org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      1 frame
    17. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    18. org.jboss.ejb3
      NullInterceptor.invoke
      1. org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      1 frame
    19. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    20. org.jboss.ejb3
      StatelessInstanceInterceptor.invoke
      1. org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
      1 frame
    21. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    22. org.jboss.aspects
      TxInterceptor$Required.invoke
      1. org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      2. org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:194)
      2 frames
    23. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    24. org.jboss.aspects
      TxPropagationInterceptor.invoke
      1. org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      1 frame
    25. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    26. org.jboss.ejb3
      NullInterceptor.invoke
      1. org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      1 frame
    27. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    28. org.jboss.ejb3
      RoleBasedAuthorizationInterceptorv2.invoke
      1. org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
      1 frame
    29. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    30. org.jboss.ejb3
      Ejb3AuthenticationInterceptorv2.invoke
      1. org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)
      1 frame
    31. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    32. org.jboss.ejb3
      ENCPropagationInterceptor.invoke
      1. org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
      1 frame
    33. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    34. org.jboss.ejb3
      BlockContainerShutdownInterceptor.invoke
      1. org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
      1 frame
    35. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    36. org.jboss.aspects
      CurrentInvocationInterceptor.invoke
      1. org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
      1 frame
    37. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    38. org.jboss.ejb3
      SessionProxyInvocationHandlerBase.invoke
      1. org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176)
      2. org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216)
      3. org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207)
      4. org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164)
      4 frames
    39. Unknown
      $Proxy399.authenticateUser
      1. $Proxy399.authenticateUser(Unknown Source)
      1 frame
    40. org.ejbca.core
      RSASignSessionBean.createCertificate
      1. org.ejbca.core.ejb.ca.sign.RSASignSessionBean.authUser(RSASignSessionBean.java:658)
      2. org.ejbca.core.ejb.ca.sign.RSASignSessionBean.createCertificate(RSASignSessionBean.java:286)
      2 frames
    41. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    42. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      2 frames
    43. org.jboss.ejb3
      InterceptorSequencer.aroundInvoke
      1. org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
      2. org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
      3. org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
      3 frames
    44. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    45. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    46. org.jboss.ejb3
      InvocationContextInterceptor.fillMethod
      1. org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      1 frame
    47. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_26999190.invoke(InvocationContextInterceptor_z_fillMethod_26999190.java)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    48. org.jboss.ejb3
      InvocationContextInterceptor.setup
      1. org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      1 frame
    49. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_26999190.invoke(InvocationContextInterceptor_z_setup_26999190.java)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    50. org.jboss.ejb3
      CachedConnectionInterceptor.invoke
      1. org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      1 frame
    51. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    52. org.jboss.ejb3
      TransactionScopedEntityManagerInterceptor.invoke
      1. org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
      1 frame
    53. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    54. org.jboss.ejb3
      AllowedOperationsInterceptor.invoke
      1. org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      1 frame
    55. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    56. org.jboss.ejb3
      NullInterceptor.invoke
      1. org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      1 frame
    57. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    58. org.jboss.ejb3
      StatelessInstanceInterceptor.invoke
      1. org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
      1 frame
    59. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    60. org.jboss.aspects
      TxInterceptor$Required.invoke
      1. org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      2. org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
      2 frames
    61. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    62. org.jboss.aspects
      TxPropagationInterceptor.invoke
      1. org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      1 frame
    63. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    64. org.jboss.ejb3
      NullInterceptor.invoke
      1. org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      1 frame
    65. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    66. org.jboss.ejb3
      RoleBasedAuthorizationInterceptorv2.invoke
      1. org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
      1 frame
    67. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    68. org.jboss.ejb3
      Ejb3AuthenticationInterceptorv2.invoke
      1. org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)
      1 frame
    69. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    70. org.jboss.ejb3
      ENCPropagationInterceptor.invoke
      1. org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
      1 frame
    71. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    72. org.jboss.ejb3
      BlockContainerShutdownInterceptor.invoke
      1. org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
      1 frame
    73. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    74. org.jboss.aspects
      CurrentInvocationInterceptor.invoke
      1. org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
      1 frame
    75. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    76. org.jboss.ejb3
      SessionProxyInvocationHandlerBase.invoke
      1. org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176)
      2. org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216)
      3. org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207)
      4. org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164)
      4 frames
    77. Unknown
      $Proxy501.createCertificate
      1. $Proxy501.createCertificate(Unknown Source)
      1 frame
    78. org.ejbca.ui
      ScepServlet.doGet
      1. org.ejbca.ui.web.protocol.ScepPkiOpHelper.scepCertRequest(ScepPkiOpHelper.java:73)
      2. org.ejbca.ui.web.protocol.ScepServlet.service(ScepServlet.java:186)
      3. org.ejbca.ui.web.protocol.ScepServlet.doGet(ScepServlet.java:158)
      3 frames
    79. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    80. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    81. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    82. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      4 frames
    83. JBoss Application Server Tomcat
      SecurityAssociationValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      1 frame
    84. Glassfish Core
      AuthenticatorBase.invoke
      1. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      1 frame
    85. JBoss Application Server Tomcat
      SecurityContextEstablishmentValve.invoke
      1. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      2. org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      3. org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      3 frames
    86. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2 frames
    87. JBoss Application Server Tomcat
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      1 frame
    88. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      2 frames
    89. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    90. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame