portals-pluto-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PLUTO-573) Including a portlet in a webapp does not work as described in the FAQ
Date Thu, 05 Sep 2013 08:35:52 GMT

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

Ate Douma commented on PLUTO-573:
---------------------------------

The old Pluto 1.x 'embedded' mechanism simply isn't feasible anymore with Pluto 2.x.
I doubt something similar is doable with Pluto 2.x unless you want to try something like OSGi,
but that is certainly non-trivial, to put it mildly.
                
> Including a portlet in a webapp does not work as described in the FAQ
> ---------------------------------------------------------------------
>
>                 Key: PLUTO-573
>                 URL: https://issues.apache.org/jira/browse/PLUTO-573
>             Project: Pluto
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.0.0
>            Reporter: Arno Unkrig
>            Assignee: Ate Douma
>            Priority: Trivial
>
> I tried to implement the portlet inclusion example on
>     http://portals.apache.org/pluto/faq.html#simple-embed
> , but (A) I get all kinds of ClassNotFoundExceptions and NoClassDefFoundErrors, so I
had to add
>     jcl-over-slf4j-1.5.6.jar
>     pluto-container-2.0.0.jar
>     pluto-portal-driver-2.0.0.jar
>     pluto-portal-driver-impl-2.0.0.jar
>     slf4j-api-1.5.6.jar
>     slf4j-jdk14-1.5.6.jar
>     spring-beans-2.0.2.jar
>     spring-context-2.0.2.jar
>     spring-core-2.0.2.jar
>     spring-web-2.0.2.jar
> (!) to my application, and (B) eventually I get
>    MAJOR: Exception sending context initialized event to listener instance of class org.apache.pluto.driver.PortalStartupListener
>    java.lang.NullPointerException
>         at org.apache.pluto.driver.PortalStartupListener.contextInitialized(PortalStartupListener.java:111)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
>         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>         at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
>         at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> Am I doing something wrong? If not, please update the sample code and let me know...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message