• 1 reply
  • Latest Post - ‏2013-02-13T12:00:16Z by SystemAdmin
6195 Posts

Pinned topic FileUpload broken in

‏2013-02-12T10:55:23Z |
We have an existing JSF application built with (probably) RBD and deployed to Tomcat 5.5. We tried to migrate to Tomcat 6, but we observed that all pages that contain a hx:fileupload component crash. In order to check that the migration is not the culprit, I re-built and re-deployed the application with to Tomcat 5.5 and the pages still crash. The result is cumbersome:

javax.faces.FacesException: Assertion Failed com.sun.faces.util.Util.doAssert( com.sun.faces.application.StateManagerImpl.restoreView( com.sun.faces.application.ViewHandlerImpl.restoreView( com.sun.faces.lifecycle.RestoreViewPhase.execute( com.sun.faces.lifecycle.LifecycleImpl.phase( com.sun.faces.lifecycle.LifecycleImpl.execute( javax.faces.webapp.FacesServlet.service(

I created a test case in both and as follows:
1) Create new EGL web project (with Tomcat 5.5 as runtime)
2) Add a web page
3) Add string variables gFile and gFilename to pagehandler
4) Add dummy doClick function to pagehandler
5) Add hx:fileupload component to web page and bind it to variables gFile and gFilename
6) Add button for action doClick
When deployed from everything goes fine. When deployed from the application crashes. The same happens when deployed to Tomcat 6. Deploying from RBD 8.5 goes file but we are not ready to upgrade to RBD 8.5 yet.

Has anyone else had issues with file upload in Is this something development should take a look at?
Updated on 2013-02-13T12:00:16Z at 2013-02-13T12:00:16Z by SystemAdmin
  • SystemAdmin
    6195 Posts

    Re: FileUpload broken in

    Apparently this was a known issue. The version of jsf-ibm.jar that is shipped with RBD is 3.1.12. IBM support sent me a newer version of the jar and the problem vanished.

    Thanks to the support folks for solving the issue really quickly!