glassfish
  1. glassfish
  2. GLASSFISH-4702

exceptions thrown when attempt to deploy multiple portlet apps

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.1peur2
    • Fix Version/s: not determined
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      4,702

      Description

      This issue was filed as a VWP/Woodstock bug, but exceptions seen in the domain
      server.log would indicate a missing file in Glassfish and/or the Portlet
      Container RC2:

      Original bug filed: https://woodstock.dev.java.net/issues/show_bug.cgi?id=1168

      Steps to reproduce :
      1. Install NetBeans 6.1 Beta
      2. Install Portal Pack plugins from http://portalpack.netbeans.org/nb6/download.html

      • Download portal pack 2.0 Beta 3 zip file and install all nbms inside
        that zip.
      • Download visual portlet builder nbm and install it.

      3. Start NetBeans 6.1
      4. Create a Web Application
      5. On the web application Right Click > New > Visual Web JSF Portlet Page
      6. Design your portlet application and create a war
      7. Deploy the war on Portlet Container RC2 which is available at
      https://portlet-container.dev.java.net/public/Download.html
      8. Verify the deployed portlet at http://localhost:[port]/portletdriver/ is
      displayed properly
      9. Create/Deploy another portlet web application using step 4-7
      10. Now go to the same url http://localhost:[port]/portletdriver/
      You will notice that first portlet is not displayed properly. Only the second
      one is displayed properly.

      The exception thrown in the /glassfish/domains/domain1/logs/server.log is:

      [#|2008-04-09T08:11:30.328-0400|WARNING|sun-appserver9.1|debug.com.sun.portal.portletcontainer.invoker|_ThreadID=22;_ThreadName=httpSSLWorkerThread-8080-1;bug1168_portlets.VisualWebJSF;_RequestID=8afd4a7d-9cc7-4bdb-a058-b74607b15cbc;|PSPL_PCCTXCSPPCI0006
      : Exception thrown while rendering content for portlet window
      bug1168_portlets.VisualWebJSF.
      com.sun.portal.container.ContainerException:
      PortletContainer.getMarkup():getting content java.io.FileNotFoundException:
      /servlet/PortletAppEngineServlet
      at
      com.sun.portal.portletcontainer.impl.PortletContainer.getMarkup(PortletContainer.java:259)
      at
      com.sun.portal.portletcontainer.invoker.WindowInvoker.getPortletContent(WindowInvoker.java:322)
      at
      com.sun.portal.portletcontainer.invoker.WindowInvoker.render(WindowInvoker.java:242)
      at
      com.sun.portal.portletcontainer.driver.PortletContent.getContent(PortletContent.java:68)
      at
      com.sun.portal.portletcontainer.driver.DesktopServlet.getPortletContents(DesktopServlet.java:295)
      at
      com.sun.portal.portletcontainer.driver.DesktopServlet.getAllPortletContents(DesktopServlet.java:241)
      at
      com.sun.portal.portletcontainer.driver.DesktopServlet.doGetPost(DesktopServlet.java:134)
      at
      com.sun.portal.portletcontainer.driver.DesktopServlet.doGet(DesktopServlet.java:88)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      at
      org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at
      org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
      at
      org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      at
      com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      java.io.FileNotFoundException: /servlet/PortletAppEngineServlet
      at
      org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:732)
      at
      org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:384)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      at
      org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      at
      org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
      at
      org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
      at
      org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:660)
      at
      org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:578)
      at
      com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(PortletContainer.java:790)
      at
      com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(PortletContainer.java:673)
      at
      com.sun.portal.portletcontainer.impl.PortletContainer.getMarkup(PortletContainer.java:209)
      at
      com.sun.portal.portletcontainer.invoker.WindowInvoker.getPortletContent(WindowInvoker.java:322)
      at
      com.sun.portal.portletcontainer.invoker.WindowInvoker.render(WindowInvoker.java:242)
      at
      com.sun.portal.portletcontainer.driver.PortletContent.getContent(PortletContent.java:68)
      at
      com.sun.portal.portletcontainer.driver.DesktopServlet.getPortletContents(DesktopServlet.java:295)
      at
      com.sun.portal.portletcontainer.driver.DesktopServlet.getAllPortletContents(DesktopServlet.java:241)
      at
      com.sun.portal.portletcontainer.driver.DesktopServlet.doGetPost(DesktopServlet.java:134)
      at
      com.sun.portal.portletcontainer.driver.DesktopServlet.doGet(DesktopServlet.java:88)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      at
      org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at
      org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
      at
      org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at
      org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      at
      com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)

      1. bug1168_2ndApp.war
        6.70 MB
        camucci
      2. bug1168_portlets.war
        6.70 MB
        camucci

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            jluehe
            Reporter:
            camucci
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: