Re: CODI on WebLogic 12c

2011-12-30 Thread Mark Struberg
yup, looks like the modularity bug Glassfish had as well. This got fixed by a new Weld version + some hacks in the integration code. For Glassfish it works if you unpack all your CDI dependencies to WEB-INF/classes and merge all the beans.xmls into WEB-INF/beans.xml LieGrue, strub -

Re: CODI on WebLogic 12c

2011-12-30 Thread Jiayun
Hi strub, You are right. I unpacked the myfaces-extcdi-bundle-jsf20-1.0.1.jar file to WEB-INF/classes, and merged its beans.xml to WEB-INF/beans.xml, then it did work. jiayun On Fri, Dec 30, 2011 at 4:52 PM, Mark Struberg strub...@yahoo.de wrote: yup, looks like the modularity bug

Re: Weird PlexusContainer object in ViewRoot

2011-12-30 Thread Martin Koci
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

Re: CODI on WebLogic 12c

2011-12-30 Thread Gerhard Petracek
hi, @the first issue: i committed the workaround for weld. - it would be nice if you can test the latest snapshot (which is available at [1] - build 19). if there are further (new) issues, we can fix them before v1.0.3. as i see mark told you the next step already. (you still have to do that

Re: Weird PlexusContainer object in ViewRoot

2011-12-30 Thread Thomas Andraschko
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

Re: How to troubleshoot ViewExpiredException ?

2011-12-30 Thread Martin Koci
Hi, I had similar problem once and it was caused by combination of unhandled exception + ajax-error. When exception occurs in partial/ajax request/respose (for example SQL exception), JSF send back to client XML with following structure: partial-response error error-name.../error-name

Re: Weird PlexusContainer object in ViewRoot

2011-12-30 Thread Martin Koci
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]

Re: Weird PlexusContainer object in ViewRoot

2011-12-30 Thread Thomas Andraschko
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

MyFaces installation help

2011-12-30 Thread jiminssy
I am really a newbie at this and I got stuck setting up a local JSF2 development environment using MyFaces. I've searched online for tutorial websites but they all say the different things, none of them really worked. Could someone guide me how to set up MyFaces and Richfaces to work on Tomcat 6?

Re: MyFaces installation help

2011-12-30 Thread Martin Koci
Hi, what problem (exception?) do you have? Using myfaces + richfaces on tomcat 6 is very easy, you can try richfaces examples [1] and activate maven profile 'myfaces' Regards, Kočičák [1] https://github.com/richfaces/dev-examples jiminssy píše v Pá 30. 12. 2011 v 05:04 -0800: I am really a

Re: How to troubleshoot ViewExpiredException ?

2011-12-30 Thread Rohit Kelapure
@Martin, I will try the suggestion above to reproduce the issue by throwing a exception in garageSaleJSFActions.updateCart or introducing an artificial rollback exception. If I can recreate consistently I will be able to fix it fast. @Mark, I am also investigating my session persistence settings

Re: MyFaces installation help

2011-12-30 Thread jiminssy
Hi, Thanks for taking the time to respond. See... I have only worked on small projects in school where I rarely had to include 3rd APIs and everything stayed local. I am challenging myself to learn the web technology and started studying. I learned Servlet, JSP and eventually it lead me to JSF.

Re: MyFaces installation help

2011-12-30 Thread Thomas Andraschko
Hi, @Named is only supported with CDI, it's not in the JSF API. You need a CDI implementation like OpenWebBeans or Weld. Best regards, Thomas 2011/12/30 jiminssy jiminpa...@gmail.com Hi, Thanks for taking the time to respond. See... I have only worked on small projects in school where I

Re: Weird PlexusContainer object in ViewRoot

2011-12-30 Thread Thomas Andraschko
Hi, so i just did some final tests and these are the result with MyFaces and a simple test page. The values are not really accurate, i just tested in on my locale system with firebug for around 10-15 times. AJAX PostBacks (Production): Before: 32-52ms After: 23-37ms PostBack (Production):