Hi,

yep, thanks!
I completly redeveloped it (i also contributed the new code back) and i
just test it but the improvement is similar - it's much faster!
I can post the detail later :)


2011/12/30 Martin Koci <martin.kocicak.k...@gmail.com>

> Hi,
>
> do you mean non-static logger in myfaces UIViewRoot ? That is probably
> problem [1] - I must solve it finally.
>
> I checked quickly statelessjsf - we use similar solution in some jsf
> project - completely stateless views.
>
> Which improvement do you see with myfaces + statelessjsf? The blog [2]
> shows at the first picture time 98ms vs. 7ms : 90% improvement: did you
> get similar results with myfaces?
>
> Regards,
>
> Kočičák
>
> [1] https://issues.apache.org/jira/browse/MYFACES-3266
> [2]
>
> http://industrieit.com/blog/2011/11/stateless-jsf-high-performance-zero-per-request-memory-overhead/
>
> Thomas Andraschko píše v Pá 30. 12. 2011 v 12:43 +0100:
> > Hi,
> >
> > thanks for you answer :)
> > Jap, i deploy it with jetty:run.
> > I already found the issue, somehow this objects are stored in the Logger.
> > I changed the code that the logger will be removed before cloning the
> > ViewRoot.
> > Now it also works with MyFaces :)
> >
> > Thomas
> >
> > 2011/12/30 Martin Koci <martin.kocicak.k...@gmail.com>
> >
> > > Hi,
> > >
> > > Plexus container is a IoC container used by Maven, so this must be
> > > bug/feature in maven jetty plugin in combination with statelessjsf. Do
> > > you deploy it with mvn jetty:run?
> > >
> > > Regards,
> > >
> > > Kočičák
> > >
> > > Thomas Andraschko píše v Út 27. 12. 2011 v 15:00 +0100:
> > > > Hi,
> > > >
> > > > i'm trying to use the statelessjsf addon (It's a addon developed by
> > > > industrieit from rudy but the link is currently offline) for my
> > > > application. In a basic sample application it works with myfaces
> (with
> > > some
> > > > modification) and mojarra.
> > > > Somehow in my real project, i get an exception when the addon is
> trying
> > > to
> > > > clone the viewroot:
> > > >
> > > > java.lang.IllegalArgumentException: Can not set
> > > > org.codehaus.plexus.PlexusContainer field
> > > >
> org.codehaus.plexus.archiver.manager.DefaultArchiverManager.container to
> > > > org.codehaus.plexus.archiver.manager.DefaultArchiverManager
> > > >     at
> > > >
> > >
> sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
> > > >     at
> > > >
> > >
> sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
> > > >     at
> > > >
> > >
> sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:37)
> > > >     at
> > > >
> > >
> sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:57)
> > > >
> > > > This does only occur if i run the application within maven and
> jetty. On
> > > > Tomcat, no exception occurs.
> > > > Where does this Plexus stuff come from? Why is it in the view root?
> > > >
> > > > Thanks and best regards
> > > > Thomas
> > >
> > >
> > >
>
>
>

Reply via email to