0 Replies Latest reply on Mar 10, 2008 4:52 AM by jeff liu

    Using MyFaces to replace Sun-RI

    jeff liu Newbie

      Hello all


      When I try to replace Sun-RI with Myfaces, i get following Exception:


      SEVERE: >>java.lang.UnsupportedOperationException
      >>     at javax.faces.application.Application.getELResolver(Application.java:60)
      >>     at org.apache.myfaces.context.servlet.FacesContextImpl.getELContext(FacesContextImpl.java:347)
      >>     at org.jboss.seam.faces.FacesExpressions.getELContext(FacesExpressions.java:36)
      >>     at org.jboss.seam.core.Expressions$1.createExpression(Expressions.java:106)
      >>     at org.jboss.seam.core.Expressions$1.toUnifiedValueExpression(Expressions.java:98)
      >>     at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:111)
      >>     at org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManagerFactoryFromJndiOrValueBinding(ManagedPersistenceContext.java:236)
      >>     at org.jboss.seam.persistence.ManagedPersistenceContext.initEntityManager(ManagedPersistenceContext.java:79)
      >>     at org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:108)
      >>     at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
      >>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      >>     at java.lang.reflect.Method.invoke(Unknown Source)



      By the way, accessing this website is kinda slow in asia countries.