Archive for November, 2009

As Cagatay Civici recently posted, PrimeFaces hit the 1.0 Release Candidate! Now its just a matter of days till 2.0 RC will be out, officially bringing PrimeFaces to JSF2! Also they changed their namespace to org.primefaces meaning a new PrimeFaces project website will probably be online soon 🙂

If you’re trying out JavaMail with JavaEE (6) on Glassfish and get a ClassCastException like these SEVERE: java.lang.ClassCastException: com.sun.enterprise.deployment.MailConfiguration cannot be cast to javax.mail.Session javax.faces.el.EvaluationException: java.lang.ClassCastException: com.sun.enterprise.deployment.MailConfiguration cannot be cast to javax.mail.Session at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at javax.faces.component.UICommand.broadcast(UICommand.java:315) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:774) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1266) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1522) … when trying […]

If you, like me, like to try out Glassfish v3 with its build in support for JavaEE6 and JSF 2, don’t even try to use the Glassfish v3 Preview Edition available on the Glassfish website. Instead, use one of the nightly builds http://download.java.net/glassfish/v3/nightly/ You will save yourself a lot of headaches.

As Lincoln Baxter posted recently in the PrettyFaces-Blog, the upcomming PrettyFaces 2.0.3 will include support for JSF-Validators within PrettyFaces, allowing to reuse the already existing Validators infrastructure for Pretty URL Mapping (SEO Stuff etc.) Nice one Lincoln!


top