myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: [Trinidad] getting strange exception in Weblogic: "name is too long to represent" when loading a big page with a lot of components
Date Tue, 17 Jul 2007 07:06:52 GMT
As Matthias points out, this does not appear to be
an issue on the JSF side of things - it's most likely
a Java compiler issue getting triggered by whatever
code Weblogic is generating for the page.

You might try splitting up the page, taking some
of it and putting it into a jsp:include.

-- Adam



On 7/16/07, Matthias Wessendorf <matzew@apache.org> wrote:
> Perhaps this information helps you as well ?
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=39089
>
> So, check what Exception the
> weblogic.servlet.internal.RequestDispatcherImpl.forward(...)
> method is catching, before it wraps it into an ServletException
>
> -M
>
> On 7/17/07, Matthias Wessendorf <matzew@apache.org> wrote:
> > Can you see what Exception
> >
> > weblogic.servlet.internal.RequestDispatcherImpl.forward(...)
> >
> > is catching some exception and wraps it into a ServletException.
> >
> >
> > ...
> > Caused by: javax.servlet.ServletException: name is too long to represent
> >         at weblogic.servlet.internal.RequestDispatcherImpl.forward
> > (RequestDispatcherImpl.java:260)
> >         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
> >         ... 32 more
> > ...
> >
> > -M
> >
> > On 7/17/07, Amarish Khopkar <amarish.khopkar@gmail.com> wrote:
> > > Hi guys,
> > >
> > > I'm not getting this in Tomcat, but I am getting this in Weblogic (which is
where we need to deploy our .war file)  when loading a big page with a lot of components.
 Has anyone seen this before?  I tried to change the state saving method from client to server
and that didn't seem to help.
> > >
> > > Amarish
> > >
> > > ------------------------------------------------------------
> > >
> > >
> > >
> > > Error 500--Internal Server Error
> > > javax.faces.FacesException: name is too long to represent
> > >       at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch
> > > (ServletExternalContextImpl.java:425)
> > >       at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
> > >       at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch
> > > (FacesContextFactoryImpl.java:259)
> > >       at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
> > >       at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
> > >
> > >       at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:256)
> > >       at org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:147)
> > >       at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView
> > > (ViewHandlerImpl.java:182)
> > >       at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
> > >       at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:256)
> > >       at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute
> > > (RenderResponseExecutor.java:41)
> > >       at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
> > >       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
> > >       at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
> > > (StubSecurityHelper.java:223)
> > >       at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
> > >       at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
> > >       at weblogic.servlet.internal.TailFilter.doFilter
> > > (TailFilter.java:26)
> > >       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
> > >       at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:210)
> > >
> > >       at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:167)
> > >       at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:140)
> > >       at
> > > org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:93)
> > >       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
> > >       at weblogic.servlet.internal.RequestEventsFilter.doFilter
> > > (RequestEventsFilter.java:26)
> > >       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
> > >       at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
> > >
> > >       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> > >       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> > >       at weblogic.servlet.internal.WebAppServletContext.securedExecute
> > > (WebAppServletContext.java:2003)
> > >       at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
> > >       at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
> > >       at weblogic.work.ExecuteThread.execute
> > > (ExecuteThread.java:209)
> > >       at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
> > > Caused by: javax.servlet.ServletException: name is too long to represent
> > >       at weblogic.servlet.internal.RequestDispatcherImpl.forward
> > > (RequestDispatcherImpl.java:260)
> > >       at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
> > >       ... 32 more
> > >
> > >
> > >
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > mail: matzew-at-apache-dot-org
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>

Mime
View raw message