4 Replies Latest reply on Aug 17, 2009 8:32 AM by uterr

    FileUpload + websphere 7 problem

    uterr

      Good day!
      We have a problem using FileUpload control when running applications on WAS 7

      Our sample app, that works on tomcat 6, but not on WAS 7:
      http://issystems.com.ua/downloads/UploadTest.war
      Please try to deploy it on WAS7 and help us with it

      Details of problem:
      after first file in list is uploaded the following exception occurs:

      FacesEvent of class org.richfaces.event.UploadAjaxActionEvent not supported by UIInput
      Caused by:
      java.lang.IllegalArgumentException - FacesEvent of class org.richfaces.event.UploadAjaxActionEvent not supported by UIInput

        • 1. Re: FileUpload + websphere 7 problem
          nbelaevski

          Hi,

          What is JSF version used?

          • 2. Re: FileUpload + websphere 7 problem
            uterr

            We are using MyFaces 1.2, libs included to project.
            Information about version from meta-inf from eclipse:

            Manifest-Version: 1.0
            Specification-Title: JavaServer Faces
            TODAY: July 2 2009
            Created-By: 1.5.0_19 (Sun Microsystems Inc.)
            Import-Package: javax.el;version="2.1",javax.servlet;version="2.4",jav
            ax.servlet.http;version="2.4",javax.servlet.jsp;version="2.1",javax.s
            ervlet.jsp.jstl.sql;version="1.2",javax.servlet.jsp.tagext;version="2
            .1"
            Specification-Version: 1.2MR2

            • 3. Re: FileUpload + websphere 7 problem
              nbelaevski

              That's the known issue of MyFaces. Upgrade to the latest available version.

              • 4. Re: FileUpload + websphere 7 problem
                uterr

                Thank you, issue was really related to MyFaces, while we included latest MyFaces version to our project, Websphere 7 has its own MyFaces, which it prefered to use
                we didnt find the way to configure WAS7 to use included to project MyFaces, instead we deleted MyFaces from WAS7.
                Now it seems to use our libs included in WAR file and it works fine.