I also had same problem on resin-pro-3.0.23.
But when I did the changes suggested above I am getting StackOverflowError
Here is the stack trace
[13:02:39.222] java.lang.StackOverflowError
[13:02:39.222] at java.lang.ThreadLocal.get(ThreadLocal.java:125)
[13:02:39.222] at javax.faces.context.FacesContext.getCurrentInstance(FacesContext.java:393)
[13:02:39.222] at com.sun.faces.util.MessageFactory.getApplication(MessageFactory.java:208)
[13:02:39.222] at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:101)
[13:02:39.222] at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:80)
[13:02:39.222] at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
[13:02:39.222] at com.sun.faces.application.ApplicationAssociate.<init>(ApplicationAssociate.java:144)
[13:02:39.222] at com.sun.faces.application.ApplicationImpl.<init>(ApplicationImpl.java:138)
[13:02:39.222] at com.sun.faces.application.ApplicationFactoryImpl.getApplication(ApplicationFactoryImpl.java:96)
[13:02:39.222] at com.sun.faces.context.FacesContextImpl.getApplication(FacesContextImpl.java:166)
[13:02:39.222] at com.sun.faces.util.MessageFactory.getApplication(MessageFactory.java:210)
[13:02:39.222] at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:101)
[13:02:39.222] at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:80)
[13:02:39.222] at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
[13:02:39.222] at com.sun.faces.application.ApplicationAssociate.<init>(ApplicationAssociate.java:144)
[13:02:39.222] at com.sun.faces.application.ApplicationImpl.<init>(ApplicationImpl.java:138)
[13:02:39.222] at com.sun.faces.application.ApplicationFactoryImpl.getApplication(ApplicationFactoryImpl.java:96)
[13:02:39.222] at com.sun.faces.context.FacesContextImpl.getApplication(FacesContextImpl.java:166)
[13:02:39.222] at com.sun.faces.util.MessageFactory.getApplication(MessageFactory.java:210)
..... full stack trace is not given
[Message sent by forum member 'avinashwable' (avinashwable)]
http://forums.java.net/jive/thread.jspa?messageID=237343