portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] [Commented] (JS2-1199) jetspeed2.2 Deployments weblogic10.3 ERROR:java.lang.NullPointerException
Date Wed, 16 May 2012 13:01:02 GMT

    [ https://issues.apache.org/jira/browse/JS2-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276713#comment-13276713
] 

Woonsan Ko commented on JS2-1199:
---------------------------------

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
                
> jetspeed2.2 Deployments weblogic10.3 ERROR:java.lang.NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: JS2-1199
>                 URL: https://issues.apache.org/jira/browse/JS2-1199
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Application servers, Container
>    Affects Versions: 2.2.0
>         Environment: database:mysql
> Middleware:weblogic server 10.3
>            Reporter: lanjianmin
>              Labels: 10, weblogic
>   Original Estimate: 5h
>  Remaining Estimate: 5h
>
>         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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message