1 Reply Latest reply on Aug 8, 2003 10:18 PM by Jon Barnett

    File Upload Problem JBoss

    ejbnewbie Newbie

      I am trying to upload a text file in JBoss through Servlets and JSPs. I am getting the following error ,

      19:08:30,073 ERROR [Engine] ----- Root Cause -----
      java.lang.NoClassDefFoundError: http/utils/multipartrequest/MultipartRequest
      at webwork.multipart.MultiPartRequestWrapper.(MultiPartRequestWrapper.java:5
      1)
      at webwork.dispatcher.ServletDispatcher.wrapRequest(ServletDispatcher.java:454)
      at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:177)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
      terChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
      .java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
      256)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNe
      xt(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
      191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNe
      xt(StandardPipeline.java:643)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)

      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNe
      xt(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNe
      xt(StandardPipeline.java:643)

      ......

      Can anyone help me or point me to a thread to where this has been solved.

      Thanks a lot,

      ejbnewbie

        • 1. Re: File Upload Problem JBoss
          Jon Barnett Master

          This isn't a JBoss issue as such. You are missing a component to run your WebWork web application framework. It is indicating the missing class - you can try downloading it from SourceForge and putting it in the appropriate place. Since I do not use WebWork I am not familiar with the framework installation requirements. The link to the download is http://prdownloads.sourceforge.net/multpartrequest/MultipartRequest-1.30b4.zip.

          It may be necessary to place the library in server/instance/lib or server/instance/deploy/jbossweb-tomcat.sar if it doesn't work within the WAR deployment. Or you may need to declare appropriately in the EAR if you are using an EAR deployment. YMMV.