users@glassfish.java.net

filter bug in Glassfish 2.1.1. ?

From: <glassfish_at_javadesktop.org>
Date: Wed, 12 May 2010 16:17:08 PDT

I've a webapp working fine, and after update glassfish to 2.1.1, the filter stop working.

The filter grab the language from the URL, http://server.com/app/en/page1.jspx, set the locale, and forwards the request without the language tag, and working well under previous Glassfish 9.1_02 (build b04-fcs) version, but stopped working throwing this exception:

java.io.FileNotFoundException: /en/page1.xhtml Not Found in ExternalContext as a Resource
        at com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:121)
        at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:91)
        at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:268)
        at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
 


This could be a Glassfish bug ?.. All projects jars (icefaces + facelets) are packaged in the war, and works well only in glassfish previous version.

I'd appreciate your help!
[Message sent by forum member 'sebaxtz1']

http://forums.java.net/jive/thread.jspa?messageID=469610