java.lang.NoClassDefFoundError: javax/portlet/PortletRequest

Oracle Community | 677687 | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem by providing ADF portlet in Oracle Portal

    Oracle Community | 5 years ago | 677687
    java.lang.NoClassDefFoundError: javax/portlet/PortletRequest

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax/portlet/PortletRequest

      at oracle.adf.share.portlet.PortletADFContext.getPortletRequest()
    2. oracle.adf.share
      PortletADFContext.initThreadContext
      1. oracle.adf.share.portlet.PortletADFContext.getPortletRequest(PortletADFContext.java:108)
      2. oracle.adf.share.portlet.PortletADFContext.getUserPrincipal(PortletADFContext.java:141)
      3. oracle.adf.share.portlet.PortletADFContext.setUserPrincipal(PortletADFContext.java:124)
      4. oracle.adf.share.portlet.PortletADFContext.setSecurityContext(PortletADFContext.java:119)
      5. oracle.adf.share.ADFContext.getSecurityContext(ADFContext.java:830)
      6. oracle.adf.share.portlet.PortletADFContext.initialize(PortletADFContext.java:245)
      7. oracle.adf.share.portlet.PortletADFContext.initThreadContext(PortletADFContext.java:232)
      7 frames
    3. oracle.adf.model
      BindingRequestHandler.beginRequest
      1. oracle.adf.model.portlet.PortletBindingRequestHandler.initADFContext(PortletBindingRequestHandler.java:49)
      2. oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:105)
      2 frames
    4. oracle.portlet.bridge
      ADFPortletFacesContextFactoryImpl.getFacesContext
      1. oracle.portlet.bridge.adf.lifecycle.ADFBindingBridgeLifecycleListenerImpl.onBeginRequest(ADFBindingBridgeLifecycleListenerImpl.java:94)
      2. oracle.portlet.bridge.adf.context.ADFPortletExternalContextImpl.<init>(ADFPortletExternalContextImpl.java:225)
      3. oracle.portlet.bridge.adf.context.ADFPortletFacesContextImpl.<init>(ADFPortletFacesContextImpl.java:40)
      4. oracle.portlet.bridge.adf.context.ADFPortletFacesContextFactoryImpl.getFacesContext(ADFPortletFacesContextFactoryImpl.java:41)
      4 frames
    5. org.apache.myfaces
      BridgeImpl.doFacesRequest
      1. org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
      2. org.apache.myfaces.portlet.faces.bridge.BridgeImpl.getFacesContext(BridgeImpl.java:989)
      3. org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:535)
      3 frames
    6. MyFaces Portlet Bridge API
      GenericFacesPortlet.doView
      1. javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
      2. javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
      3. javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
      3 frames
    7. Java Portlet Specification V2.0
      GenericPortlet.doDispatch
      1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
      1 frame
    8. MyFaces Portlet Bridge API
      GenericFacesPortlet.doDispatch
      1. javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
      1 frame
    9. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
      1 frame
    10. oracle.portlet.bridge
      ADFBridgePortlet.render
      1. oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
      1 frame
    11. oracle.portlet.server
      ServerPerfLogger.getMarkup
      1. oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
      2. oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
      3. oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:559)
      3 frames
    12. oracle.portlet.wsrp
      WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup
      1. oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:522)
      2. oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:11783)
      3. oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
      4. oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
      4 frames
    13. oasis.names.tc
      WSRP_v2_Markup_Binding_SOAP_Tie.processingHook
      1. oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:814)
      2. oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1457)
      2 frames
    14. oracle.j2ee.ws
      WebServiceServlet.doPost
      1. oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
      2. oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
      3. oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
      4. oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
      5. oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
      6. oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
      7. oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
      7 frames
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    16. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    17. oracle.portlet.server
      ContextFilter.doFilter
      1. oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
      1 frame
    18. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    19. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      2. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      3. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      4. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      5. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      6. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      6 frames
    20. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    21. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      2. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      3. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      4. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      5. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      6. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      6 frames
    22. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    23. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      1 frame
    24. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      5 frames
    25. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    26. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    27. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      3 frames
    28. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames