0 Replies Latest reply: Oct 8, 2010 8:43 AM by 803747 RSS

    Errror : Content not avialable in jsr 168 portlet deployed in 7.1

    803747
      Hi

      We deployed a sample portlet into sun one portal 7.1 using this command
      ./psadmin deploy-portlet -u amadmin -p portal1 -g /root/MyTestPortlet.war

      But when i add this portlet to one channel and access the page then we are getting Error:Content not available

      The exception in server.log is /var/opt/sun/appserver/domains/domain1/logs

      java.lang.NullPointerException
      at com.sun.portal.portletappengine.impl.RequestResponseFactoryImpl.<init>(Unknown Source)
      at com.sun.portal.portletappengine.PortletAppEngineServlet.init(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:756)
      at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:735)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:655)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:613)
      at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:88)
      at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)
      at com.sun.portal.providers.portletwindow.PortletWindowProvider.getTitleFromRB(Unknown Source)
      at com.sun.portal.providers.portletwindow.PortletWindowProvider.getDefaultTitle(Unknown Source)
      at com.sun.portal.providers.window.WindowProvider.getTitle(Unknown Source)
      at com.sun.portal.desktop.taglib.provider.GetTitleTag.doStartTag(Unknown Source)
      at jsps.var._opt._sun._portal._portals._portal1._desktop._developer_anonymous_sample_en_US._JSPTabContainer._PortletSamplesTabPanelContainer._html._tablecolumn_jsp._jspService(_tablecolumn_jsp.java:260)
      at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      at com.sun.portal.providers.jsp.JspServletWrapper.service(Unknown Source)
      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(Unknown Source)
      at com.sun.portal.providers.jsp.JSPProvider.includeJspPage(Unknown Source)
      at com.sun.portal.providers.jsp.JspRequestDispatcher.getJspResource(Unknown Source)
      at com.sun.portal.providers.jsp.JspRequestDispatcher.include(Unknown Source)
      at com.sun.portal.providers.jsp.jasper3.jasper.runtime.PageContextImpl.include(Unknown Source)
      at jsps.var._opt._sun._portal._portals._portal1._desktop._developer_anonymous_sample_en_US._JSPTabContainer._PortletSamplesTabPanelContainer._html._tabtable_jsp._jspService(_tabtable_jsp.java:710)
      at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      at com.sun.portal.providers.jsp.JspServletWrapper.service(Unknown Source)
      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(Unknown Source)
      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(Unknown Source)
      at com.sun.portal.providers.jsp.JSPProvider.getContent(Unknown Source)
      at com.sun.portal.desktop.context.PSContainerProviderContext.getContent(Unknown Source)
      at com.sun.portal.desktop.taglib.containerProviderContext.GetContentTag.doStartTag(Unknown Source)
      at jsps.var._opt._sun._portal._portals._portal1._desktop._developer_anonymous_sample_en_US._JSPTabContainer._html._tab_jsp._jspService(_tab_jsp.java:1079)
      at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      at com.sun.portal.providers.jsp.JspServletWrapper.service(Unknown Source)
      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(Unknown Source)
      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(Unknown Source)
      at com.sun.portal.providers.jsp.JSPProvider.getContent(Unknown Source)
      at com.sun.portal.providers.containers.jsp.tab.JSPTabContainerProvider.getContent(Unknown Source)
      at com.sun.portal.desktop.context.PSContainerProviderContext.getContent(Unknown Source)
      at com.sun.portal.desktop.context.PSDesktopContext.getContent(Unknown Source)
      at com.sun.portal.desktop.DesktopServlet.doGetPost(Unknown Source)
      at com.sun.portal.desktop.DesktopServlet.handleNoSessionRequest(Unknown Source)
      at com.sun.portal.desktop.DesktopServlet.service(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
      at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:235)
      at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114)

      Please provide some help Please tell us where we can find some steps to deploy a portlet in sun one portal or any sample portlet which is deployed and working in sun one portal 7 1

      Edited by: user8941231 on Oct 8, 2010 6:42 AM