2 Replies Latest reply: May 24, 2007 12:02 AM by 807574 RSS

    Deploying own portlets on Portal

    807574
      Deploying HelloWorld and other portlets is fine. But when I deploy own portlet, it write "ERROR: Content is not available".
      This portlet works perfectly on Pluto portal. I can't understand why on Sun Java System Portal Server 6 it dosen't
      I am getting folowing error in "desktop.debug":
      04/26/2007 11:34:23:350 AM GEST: Thread[service-j2ee-2,5,main]
      ERROR: PSContainerProviderContext.initProvider()
      java.lang.NoClassDefFoundError: com/sun/im/service/CollaborationException
           at java.lang.Class.getDeclaredConstructors0(Native Method)
           at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
           at java.lang.Class.getConstructor0(Class.java:2640)
           at java.lang.Class.newInstance0(Class.java:321)
           at java.lang.Class.newInstance(Class.java:303)
        • 1. Re: Deploying own portlets on Portal
          807574
          can you Please give us the details of your portlet.xml file that you use.
          • 2. Re: Deploying own portlets on Portal
            807574
            <?xml version='1.0' encoding='UTF-8' ?>
            <portlet-app xmlns='http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd' version='1.0'>
                 <portlet>
                      <description></description>
                      <portlet-name>RSSAdminPortlet</portlet-name>
                      <display-name>RSS Admin Portlet</display-name>
                      <portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>
                      <init-param>
                           <name>com.sun.faces.portlet.INIT_VIEW</name>
                           <value>/MainPage.jsp</value>
                      </init-param>
                      <expiration-cache>0</expiration-cache>
                      <supports>
                           <mime-type>text/html</mime-type>
                           <portlet-mode>VIEW</portlet-mode>
                      </supports>
                      <supported-locale>en</supported-locale>
                      <portlet-info>
                           <title>RSSAdminPortlet</title>
                           <short-title>RSSAdminPortlet</short-title>
                           <keywords>Creator</keywords>
                      </portlet-info>
                 </portlet>
            </portlet-app>