3 Replies Latest reply on Jul 9, 2011 8:01 PM by minimike

    Integrating Hippo HST as an Portlet

    minimike

      Hi there

       

      I'm trying to deploy Hippos HST as an Portlet inside GateIn and so I've folowed these steps described here on https://wiki.onehippo.com/display/CMS7/HST+Portlet+in+Jetspeed+or+Liferay

       

      Currents status is I can import the portlet but by displaying I get a Errormessage:

      "The requested resource (/site/previewnull) is not available"

       

      Hippo ships its own class for portlets. Do I need another file for configuration?

        • 1. Re: Integrating Hippo HST as an Portlet
          ndkhoiits

          Would you like to provide a screenshot, or more details on your portlet/terminal ?

          • 2. Re: Integrating Hippo HST as an Portlet
            minimike

            Hippo HST is a WCMS like application. It uses a JCR repository but also it could get and display documents or content over CMIS like Nuxeo or Alfresco. At last I've also installed Liferay and portlet works inside Liferay.

             

            Also I've asked on the List by Nabble. http://hippo.2275632.n2.nabble.com/in-which-JAR-are-the-classes-for-Portlets-td6560440.html#a6561064

             

            The last status is the Adminpanel inside GateIn tells me now some URL's inside the HST portlet

             

            hstServletPath /preview

            hstPathInfo /homepage

             

            But by displaying the Portlet I got only [HstFilter] Fatal error encountered while processing request '/site/previewnull': 'java.lang.NullPointerException' iside my logfile in Jboss

             

            Maybe anyone haves an idea..

            thanks for advance!

             

            cheers

            Darko

            • 3. Re: Integrating Hippo HST as an Portlet
              minimike

              Update

               

              After installing Hippo HST as an portlet in Liferay it seems that Liferay generates a new web,xml

              http://debianforum.de/forum/pastebin.php?mode=view&s=35735

               

              in short

              darko@bitch ....1.0.GA/server/default/deploy/site.war % grep liferay WEB-INF/*.xml

              WEB-INF/liferay-display.xml:<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.0.0//EN" "http://www.liferay.com/dtd/liferay-display_6_0_0.dtd">

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.cache.CacheFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.cache.CacheFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.etag.ETagFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.etag.ETagFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.gzip.GZipFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.header.HeaderFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.header.HeaderFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.language.LanguageFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.minifier.MinifierFilter</param-value>

              WEB-INF/web.xml:          <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>

              WEB-INF/web.xml:               <param-value>com.liferay.portal.servlet.filters.minifier.MinifierFilter</param-value>

              WEB-INF/web.xml:          <listener-class>com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener</listener-class>

              WEB-INF/web.xml:          <listener-class>com.liferay.portal.kernel.servlet.PortletContextListener</listener-class>

              WEB-INF/web.xml:          <servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</servlet-class>

              WEB-INF/web.xml:               <taglib-uri>http://liferay.com/tld/aui</taglib-uri>

              WEB-INF/web.xml:               <taglib-location>/WEB-INF/tld/liferay-aui.tld</taglib-location>

              WEB-INF/web.xml:               <taglib-location>/WEB-INF/tld/liferay-portlet.tld</taglib-location>

              WEB-INF/web.xml:               <taglib-uri>http://liferay.com/tld/portlet</taglib-uri>

              WEB-INF/web.xml:               <taglib-location>/WEB-INF/tld/liferay-portlet-ext.tld</taglib-location>

              WEB-INF/web.xml:               <taglib-uri>http://liferay.com/tld/security</taglib-uri>

              WEB-INF/web.xml:               <taglib-location>/WEB-INF/tld/liferay-security.tld</taglib-location>

              WEB-INF/web.xml:               <taglib-uri>http://liferay.com/tld/theme</taglib-uri>

              WEB-INF/web.xml:               <taglib-location>/WEB-INF/tld/liferay-theme.tld</taglib-location>

              WEB-INF/web.xml:               <taglib-uri>http://liferay.com/tld/ui</taglib-uri>

              WEB-INF/web.xml:               <taglib-location>/WEB-INF/tld/liferay-ui.tld</taglib-location>

              WEB-INF/web.xml:               <taglib-uri>http://liferay.com/tld/util</taglib-uri>

              WEB-INF/web.xml:               <taglib-location>/WEB-INF/tld/liferay-util.tld</taglib-location>

               

              So I'm searching classes with the same functionallity in Gatein. Hippo HST provides a own class for portlets.