Jetspeed 2
  1. Jetspeed 2
  2. JS2-1199

jetspeed2.2 Deployments weblogic10.3 ERROR:java.lang.NullPointerException

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      database:mysql
      Middleware:weblogic server 10.3

      Description

      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
      va:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
      n.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
      dSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
      121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
      ervletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
      ontext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
      ava:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Caused by: java.lang.NullPointerException
      at weblogic.servlet.utils.ServletMapping.get(ServletMapping.java:224)
      at weblogic.servlet.internal.WebAppServletContext.resolveRequest(WebAppS
      ervletContext.java:2466)
      at weblogic.servlet.internal.WebAppServletContext.resolveIncludedRequest
      (WebAppServletContext.java:2385)
      at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
      cherImpl.java:417)
      at org.apache.pluto.container.impl.PortletRequestDispatcherImpl.doDispat
      ch(PortletRequestDispatcherImpl.java:174)
      at org.apache.pluto.container.impl.PortletRequestDispatcherImpl.include(
      PortletRequestDispatcherImpl.java:227)
      at org.apache.portals.bridges.common.GenericServletPortlet.doView(Generi
      cServletPortlet.java:364)
      at org.apache.jetspeed.portlets.layout.LayoutPortlet.doView(LayoutPortle
      t.java:300)
      at org.apache.jetspeed.portlets.layout.MultiColumnPortlet.doView(MultiCo
      lumnPortlet.java:181)
      at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:348)
      at javax.portlet.GenericPortlet.render(GenericPortlet.java:253)
      at org.apache.jetspeed.portlet.PortletObjectProxy.proxyRender(PortletObj
      ectProxy.java:244)
      at org.apache.jetspeed.portlet.PortletObjectProxy.invoke(PortletObjectPr
      oxy.java:159)
      at $Proxy102.render(Unknown Source)
      at org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPo
      rtletInstance.java:110)
      at org.apache.jetspeed.container.invoker.LocalPortletInvoker.invoke(Loca
      lPortletInvoker.java:163)
      ... 64 more

        Activity

        Hide
        sk added a comment -

        anybody have solved this problem?

        Show
        sk added a comment - anybody have solved this problem?
        Hide
        Woonsan Ko added a comment -

        Currently, Jetspeed-2.2.x deployment onto weblogic has not been internally experimented or documented.
        But, please see David's reply on the similar question. [1]

        By the way, the stacktrace you gave seems to show the Jetspeed-2 container servlet is not defined in the web.xml of the portlet web application.
        If it is not tomcat env, you have to define the servlet and its mapping manually as described in [2].
        Note that you should set the proper context name in the contextName input parameter. For example, it should be 'j2-admin' for /j2-admin' portlet app.

        Please beware that you could meet other problems even though the exception vanishes with this manual deployment step.

        [1] http://old.nabble.com/How-to-deploy-jetSpeed2.2.1-portal-to-weblogic-10.3-td29470668.html
        [2] http://portals.apache.org/jetspeed-2/deployguide/deploy-tools.html

        Show
        Woonsan Ko added a comment - Currently, Jetspeed-2.2.x deployment onto weblogic has not been internally experimented or documented. But, please see David's reply on the similar question. [1] By the way, the stacktrace you gave seems to show the Jetspeed-2 container servlet is not defined in the web.xml of the portlet web application. If it is not tomcat env, you have to define the servlet and its mapping manually as described in [2] . Note that you should set the proper context name in the contextName input parameter. For example, it should be 'j2-admin' for /j2-admin' portlet app. Please beware that you could meet other problems even though the exception vanishes with this manual deployment step. [1] http://old.nabble.com/How-to-deploy-jetSpeed2.2.1-portal-to-weblogic-10.3-td29470668.html [2] http://portals.apache.org/jetspeed-2/deployguide/deploy-tools.html

          People

          • Assignee:
            Unassigned
            Reporter:
            lanjianmin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 5h
              5h
              Remaining:
              Remaining Estimate - 5h
              5h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development