Issue Details (XML | Word | Printable)

Key: GLASSFISH-4702
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: jluehe
Reporter: camucci
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

exceptions thrown when attempt to deploy multiple portlet apps

Created: 09/Apr/08 05:41 AM   Updated: 06/Mar/12 09:56 PM
Component/s: web_container
Affects Version/s: 9.1peur2
Fix Version/s: not determined

Time Tracking:
Not Specified

File Attachments: 1. Text File bug1168_2ndApp.war (6.70 MB) 09/Apr/08 08:05 AM - camucci
2. Text File bug1168_portlets.war (6.70 MB) 09/Apr/08 08:04 AM - camucci

Environment:

Operating System: All
Platform: Sun


Issuezilla Id: 4,702
Tags:
Participants: camucci, Hong Zhang, jfarcand, jluehe, sanandal and Tom Mueller


 Description  « Hide

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)



Hong Zhang added a comment - 09/Apr/08 06:14 AM

Assign to web container for initial investigation.


jfarcand added a comment - 09/Apr/08 07:54 AM

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


camucci added a comment - 09/Apr/08 08:04 AM

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


camucci added a comment - 09/Apr/08 08:05 AM

Created an attachment (id=1431)
2nd war


jfarcand added a comment - 23/Apr/08 07:06 AM

Re-assign to Jan...


sanandal added a comment - 11/Jan/09 07:01 AM

"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."


Tom Mueller added a comment - 06/Mar/12 09:56 PM

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