if you are not able to use MyFaces 2.2 @ViewScoped, you may need to keep OmniFaces CDI @ViewScoped until someone helps you with your issue.
Some months ago, I tested MyFaces 2.2 with OmniFaces CDI @ViewScoped; all of my @ViewScoped beans were still OmniFaces CDI @ViewScoped, and I experienced no issues. My app is not packaged as an EAR. today, i am using MyFaces 2.2 @ViewScoped beans even though I still have OmniFAces 1.6.3 JAR/dependency (not using OmniFaces CDI @ViewScoped). For the first day, running MyFaces 2.2, I am quite pleased. No issues to report, no exceptions in tomee/tomcat log files. On Wed, Jan 15, 2014 at 5:57 PM, José Luis Cetina <maxtorz...@gmail.com>wrote: > I removed CODI and my app is package as ear. maybe i need to try tomee > 1.6.1-snapshot > > > 2014/1/15 Howard W. Smith, Jr. <smithh032...@gmail.com> > > > On Wed, Jan 15, 2014 at 4:40 PM, José Luis Cetina <maxtorz...@gmail.com > > >wrote: > > > > > I removed my faces 2.1.13 jars (api and imp) from tomee lib and add > > myfaces > > > api and impl 2.2.0 > > > > > > > that's exactly what I did and I don't get the error. > > > > Jose, are you still using MyFaces CODI (1.5 or 1.6.x) and EAR, too? > > > > > > -- > ------------------------------------------------------------------- > *SCJA. José Luis Cetina* > ------------------------------------------------------------------- >