myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Müllan" <bierbra...@gmail.com>
Subject Re: several tabbedPanes with several extended datatables: VM crash!
Date Wed, 13 Sep 2006 13:10:53 GMT
Well, difficult in this case to meet the problem.

If you got the exact hitch, would be good if you could add a jira issue.

cheers,

Gerald

On 9/13/06, Stefan Gesigora <sgesigora@googlemail.com> wrote:
> Hi!
>
> Thanks for your answer!
>
> Not all dataTables should be displayed at once.
> I've tried to set rendered attribute so that only the requested dataTables
> were rendered BUT
> the problem was still the same!!
>
> Now I try another approach:
> I use serverside tabs with 5 datatables. The content of the last 5
> datatables were shown int the 6. datatable:
> I switch the underlying model, the tab label and the shown columns depending
> of the selected tab pane.
> It sounds awful but at this time it works (but work isn't still finished
> yet).
>
> Although I think its a BUG !? Cause the problems shouldn't happen if only
> some of the datatables were rendered...
>
> What do you think?
>
> Regards,
> Steven
>
> 2006/9/13, Gerald Müllan <bierbrauen@gmail.com>:
> > The nullpointers may come from the fact, that the underlying dataModel
> > cannot be found.
> > But this problem should be gone if setting preserveDataModel to true.
> >
> > Is it a need to display all dataTables at once?
> >
> > What about only displaying some table-headers, and only if the user
> > whishes to see the entries, the tables are expanded. In this case the
> > tables will not be rendered at once.
> >
> > regards,
> >
> > Gerald
> >
> > On 9/13/06, Stefan Gesigora <sgesigora@googlemail.com> wrote:
> > > Hi Gerald!
> > >
> > > My extended dataTables holds DTOs with several attributes.
> > > Every dataTable can have an empty list up to a list with n elements.
> > > At my tests the lists are between 0 antd 15 elements.
> > >
> > > Yes, I've rendered everytime every table after trying the
> preserveDataModel
> > > attribute first.
> > > The effect was the same...
> > >
> > > I've used the backing-bean in session mode and my jsp is composed with
> > > jsp:incluce and 4 different jsps.
> > > At the last jsp there are the datatables and tabbedPanes...
> > > The whole thing happened in a myfaces portlet.
> > >
> > > One or two times during my tests I've got a nullpointer exception....
> > > Othertimes the VM creates a log like this:
> > >
> > >
> ------------------------------------------------------------
> > >
> > > Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
> > > PC=0x8055383
> > > Function=[Unknown.]
> > > Library=C:\bea\JDK142~2\jre\bin\client\jvm.dll
> > >
> > > NOTE: We are unable to locate the function name symbol for the error
> > >       just occurred. Please refer to release documentation for possible
> > >       reason and solutions.
> > >
> > >
> > > Current Java thread:
> > >     at
> > >
> jsp_servlet._portlets._foo._jsp._consolidation.__conssubsecdata._jspService(
> ConsSubSecData.jsp:984)
> > >     at weblogic.servlet.jsp.JspBase.service(
> > > JspBase.java:33)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
> > >     at
> > >
> weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
> > >     at
> > >
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java
> > > :27)
> > >     at
> > > com.bea.p13n.servlets.PortalServletFilter.doFilter
> (PortalServletFilter.java:293)
> > >     at
> > >
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> > >     at
> > > com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter
> > > (PageFlowJspFilter.java :265)
> > >     at
> > >
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> > >     at
> > >
> weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:644)
> > >     at
> > >
> weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423)
> > >     at
> > >
> weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:154)
> > >     at
> > >
> jsp_servlet._portlets._foo._jsp._consolidation.__consolidation._jspService(
> > > Consolidation.jsp:357)
> > >     at
> > > weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java
> :1072)
> > >     at
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > > (ServletStubImpl.java:465)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
> > >     at
> > >
> weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
> > >     at
> weblogic.servlet.internal.FilterChainImpl.doFilter
> > > (FilterChainImpl.java:27)
> > >     at
> > > com.bea.p13n.servlets.PortalServletFilter.doFilter
> (PortalServletFilter.java:293)
> > >     at
> > >
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> > >     at
> > > com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter
> > > (PageFlowJspFilter.java :265)
> > >     at
> > >
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> > >     at
> > >
> weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:644)
> > >     at
> > >
> weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423)
> > >     at
> > >
> com.bea.portlet.container.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:133)
> > >     at
> > >
> org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch
> > > (PortletExternalContextImpl.java:164)
> > >     at
> > >
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView
> (JspViewHandlerImpl.java:195)
> > >     at
> > >
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
> > >     at
> > >
> org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java
> :395)
> > >     at
> > >
> de.dsa.foo.web.controller.FooFacesPortlet.facesRender(FooFacesPortlet.java:58)
> > >     at
> > > org.apache.myfaces.portlet.MyFacesGenericPortlet.doView
> > > (MyFacesGenericPortlet.java :265)
> > >     at
> > >
> de.dsa.foo.web.controller.FooFacesPortlet.doView(FooFacesPortlet.java:40)
> > >     at
> > >
> javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
> > >     at
> de.dsa.foo.web.controller.FooFacesPortlet.doDispatch
> > > (FooFacesPortlet.java:29)
> > >     at
> > >
> javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
> > >     at
> > >
> com.bea.portlet.container.PortletStub.render(PortletStub.java:380)
> > >     at
> com.bea.portlet.container.AppContainer.renderStub
> > > (AppContainer.java:696)
> > >     at
> > >
> com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:627)
> > >     at
> > >
> com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender
> (JavaPortletContent.java:242)
> > >      at
> > >
> com.bea.netuix.servlets.controls.content.JavaPortletContent.renderInternal(JavaPortletContent.java:162)
> > >     at
> > >
> com.bea.netuix.servlets.controls.content.JavaPortletContent.beginRender
> (JavaPortletContent.java:117)
> > >     at
> > >
> com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:495)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java
> :542)
> > >     at
> > > com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender
> > > (ControlTreeWalker.java:553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java
> :553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
> > >     at com.bea.netuix.nf.ControlTreeWalker.walk
> > > (ControlTreeWalker.java:247)
> > >     at
> > > com.bea.netuix.nf.ControlTreeWalker.walk
> (ControlTreeWalker.java:105)
> > >     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356)
> > >     at
> com.bea.netuix.nf.UIControl.render(UIControl.java
> > > :536)
> > >     at
> > >
> com.bea.netuix.servlets.controls.PresentationContext.render
> (PresentationContext.java:405)
> > >     at
> > >
> com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123)
> > >     at
> > >
> com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag
> > > ( RenderChild.java:58)
> > >     at
> > >
> jsp_servlet._framework._skeletons._dsa_portal_foo.__gridlayout._jspService(gridlayout.jsp:57)
> > >     at
> > > weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
> > > (ServletStubImpl.java:1072)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
> > >     at
> > >
> weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638)
> > >     at
> > >
> weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423)
> > >     at
> > > com.bea.netuix.servlets.controls.JspRenderer.renderAlt
> > > (JspRenderer.java:194)
> > >     at
> > >
> com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96)
> > >     at
> > >
> com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491)
> > >     at
> > > com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender
> > > (ControlTreeWalker.java:542)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
> > >     at
> > > com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender
> (ControlTreeWalker.java:553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java
> :553)
> > >     at
> > > com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender
> > > (ControlTreeWalker.java:553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java
> :553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
> > >     at
> > >
> com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247)
> > >     at
> > > com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java
> > > :204)
> > >     at com.bea.netuix.nf.Lifecycle.run (Lifecycle.java:146)
> > >     at
> > >
> com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:333)
> > >     at
> > >
> com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java
> > > :196)
> > >     at
> > >
> com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:772)
> > >     at
> > >
> com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:150)
> > >     at javax.servlet.http.HttpServlet.service
> > > (HttpServlet.java:853)
> > >     at
> > >
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
> > >     at
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet
> (ServletStubImpl.java:465)
> > >     at
> > >
> weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
> > >     at
> > >
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> > >     at
> com.bea.p13n.servlets.PortalServletFilter.doFilter
> > > (PortalServletFilter.java:293)
> > >     at
> > >
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> > >     at
> > >
> de.awd.vertriebsportal.portal.tracking.PortalTrackingFilter.doFilter
> (PortalTrackingFilter.java
> > > :144)
> > >     at
> > >
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> > >     at
> > >
> de.awd.vertriebsportal.portal.login.PortalLoginFilter.doFilter
> (PortalLoginFilter.java:122)
> > >     at
> weblogic.servlet.internal.FilterChainImpl.doFilter
> > > (FilterChainImpl.java:27)
> > >     at
> > >
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
> (WebAppServletContext.java:6987)
> > >     at
> > >
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java
> > > :321)
> > >     at
> > > weblogic.security.service.SecurityManager.runAs
> (SecurityManager.java:121)
> > >     at
> > >
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
> > >     at
> weblogic.servlet.internal.ServletRequestImpl.execute
> > > (ServletRequestImpl.java :2766)
> > >     at
> > >
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
> > >     at
> > >
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
> > >
> > > Dynamic libraries:
> > > 0x00400000 - 0x0040B000     C:\bea\JDK142~2\bin\java.exe
> > > 0x7C910000 - 0x7C9C7000     C:\WINDOWS\system32\ntdll.dll
> > > 0x7C800000 - 0x7C906000
> > > C:\WINDOWS\system32\kernel32.dll
> > > 0x77DA0000 - 0x77E4A000
> > > C:\WINDOWS\system32\ADVAPI32.dll
> > > 0x77E50000 - 0x77EE1000     C:\WINDOWS\system32\RPCRT4.dll
> > > 0x77BE0000 - 0x77C38000     C:\WINDOWS\system32\MSVCRT.dll
> > > 0x08000000 - 0x08138000
> > > C:\bea\JDK142~2\jre\bin\client\jvm.dll
> > > 0x77D10000 - 0x77DA0000     C:\WINDOWS\system32\USER32.dll
> > > 0x77EF0000 - 0x77F37000     C:\WINDOWS\system32\GDI32.dll
> > > 0x76AF0000 - 0x76B1E000     C:\WINDOWS\system32\WINMM.dll
> > > 0x10000000 - 0x10007000     C:\bea\JDK142~2\jre\bin\hpi.dll
> > > 0x00390000 - 0x0039E000
> > > C:\bea\JDK142~2\jre\bin\verify.dll
> > > 0x003B0000 - 0x003C9000
> > > C:\bea\JDK142~2\jre\bin\java.dll
> > > 0x003D0000 - 0x003DE000     C:\bea\JDK142~2\jre\bin\zip.dll
> > > 0x003E0000 - 0x003FC000
> > > C:\bea\JDK142~2\jre\bin\jdwp.dll
> > > 0x00970000 - 0x00975000
> > > C:\bea\JDK142~2\jre\bin\dt_socket.dll
> > > 0x71A10000 - 0x71A27000     C:\WINDOWS\system32\ws2_32.dll
> > > 0x71A00000 - 0x71A08000     C:\WINDOWS\system32\WS2HELP.dll
> > > 0x719B0000 - 0x719F0000     C:\WINDOWS\system32\mswsock.dll
> > > 0x66710000 - 0x66769000     C:\WINDOWS\system32\hnetcfg.dll
> > > 0x719F0000 - 0x719F8000
> > > C:\WINDOWS\System32\wshtcpip.dll
> > > 0x07160000 - 0x0716F000
> > > C:\bea\jdk142_08\jre\bin\net.dll
> > > 0x76EE0000 - 0x76F07000     C:\WINDOWS\system32\DNSAPI.dll
> > > 0x76F70000 - 0x76F78000     C:\WINDOWS\System32\winrnr.dll
> > > 0x76F20000 - 0x76F4D000     C:\WINDOWS\system32\WLDAP32.dll
> > > 0x76F80000 - 0x76F86000
> > > C:\WINDOWS\system32\rasadhlp.dll
> > > 0x07280000 - 0x07288000
> > > C:\bea\jdk142_08\jre\bin\nio.dll
> > > 0x07FE0000 - 0x07FE6000
> > > C:\bea\jdk142_08\jre\bin\ioser12.dll
> > > 0x07FF0000 - 0x07FF5000
> > > C:\bea\weblogic81\server\bin\stackdump.dll
> > > 0x09C80000 - 0x09C85000
> > > C:\bea\weblogic81\server\bin\wlntio.dll
> > > 0x76C50000 - 0x76C78000
> > > C:\WINDOWS\system32\imagehlp.dll
> > > 0x59DD0000 - 0x59E71000     C:\WINDOWS\system32\DBGHELP.dll
> > > 0x77BD0000 - 0x77BD8000     C:\WINDOWS\system32\VERSION.dll
> > > 0x76BB0000 - 0x76BBB000     C:\WINDOWS\system32\PSAPI.DLL
> > >
> > > Heap at VM Abort:
> > > Heap
> > >  def new generation   total 18240K, used 12160K [0x10010000, 0x113d0000,
> > > 0x12770000)
> > >   eden space 16256K,  72% used [0x10010000, 0x10b97968, 0x10ff0000)
> > >   from space 1984K,  17% used [0x111e0000, 0x112389f8, 0x113d0000)
> > >   to   space 1984K,   0% used [0x10ff0000, 0x10ff0000, 0x111e0000)
> > >  tenured generation   total 241984K, used 92170K [0x12770000,
> 0x213c0000,
> > > 0x30010000)
> > >    the space 241984K,  38% used [0x12770000, 0x18172a00, 0x18172a00,
> > > 0x213c0000)
> > >  compacting perm gen  total 56064K, used 56019K [0x30010000, 0x336d0000,
> > > 0x38010000)
> > >    the space 56064K,  99% used [0x30010000, 0x336c4e80, 0x336c5000,
> > > 0x336d0000)
> > >
> > > Local Time = Tue Sep 12 13:26:02 2006
> > > Elapsed Time = 167
> > >
> > >
> ------------------------------------------------------------
> > >
> > > regards,
> > >  Steven
> > >
> > > 2006/9/12, Gerald Müllan <bierbrauen@gmail.com>:
> > > > Hi,
> > > >
> > > > the vm crashes because of insufficient memory? This cannot be a bug in
> > > > myfaces :)
> > > >
> > > > How large are your dataTables? Are you rendering everytime all tables?
> > > >
> > > > Maybe it is possible to use some stuff like collapsiblePanel to render
> > > > only the tables
> > > > on which header you had clicked before. You can also uncollapse one
> > > > table on startup, the others can be opened by the user (only once
> > > > every time).
> > > >
> > > > Have you tried to change the preserveDataModel attribute?
> > > >
> > > > cheers,
> > > >
> > > > Gerald
> > > >
> > > > On 9/12/06, Stefan Gesigora < sgesigora@googlemail.com> wrote:
> > > > > Hi!
> > > > >
> > > > > I've got a real big problem. I tried to use several tabbedPanes with
> 1-5
> > > > > panels inside. At every panel I've got one extended datatable.
> > > > > I think there were 10 extended datatable alltogether. Every time
I
> > > called
> > > > > the page my portalserver (weblogic 8.1 SP5) crashed!!!
> > > > > If I reduced the number of extended datatables to 8 or 9 it worked
> > > > > regardless which datatable was deleted from the page!
> > > > > First I tried to use the client mode then the server mode. But it
> didn't
> > > > > change anything....
> > > > > Is this a MAJOR BUG in myfaces?
> > > > > I've reproduced this situatioin with the 1.1.3 tomahawk and the
> 1.1.5
> > > > > SNAPSHOT tomahawk.
> > > > >
> > > > > What can I do as a work-around?
> > > > >
> > > > > regard,
> > > > >
> > > > > Steven
> > > > >
> > > >
> > > >
> > > > --
> > > > http://www.irian.at
> > > >
> > > > Your JSF powerhouse -
> > > > JSF Consulting, Development and
> > > > Courses in English and German
> > > >
> > > > Professional Support for Apache MyFaces
> > > >
> > >
> > >
> >
> >
> > --
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>


-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message