[GLASSFISH-4702] exceptions thrown when attempt to deploy multiple portlet apps Created: 09/Apr/08  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: web_container
Affects Version/s: 9.1peur2
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: camucci Assignee: jluehe
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Sun


Attachments: Text File bug1168_2ndApp.war     Text File bug1168_portlets.war    
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)



 Comments   
Comment by Hong Zhang [ 09/Apr/08 ]

Assign to web container for initial investigation.

Comment by jfarcand [ 09/Apr/08 ]

Can you attach the war file directly? I can deploy file using vim Thanks!

Comment by camucci [ 09/Apr/08 ]

Created an attachment (id=1430)
1 of 2 very basic nb6.1/vwp project to demonstrate exceptions thrown

Comment by camucci [ 09/Apr/08 ]

Created an attachment (id=1431)
2nd war

Comment by jfarcand [ 23/Apr/08 ]

Re-assign to Jan...

Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

Generated at Sat Mar 07 00:29:24 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.