Hi

I am getting the following runtime error in geronimo 2.2.1 while trying upload a file using a servlet to activemq.  Any help appriciated.

Regards,
Adam

java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream
 org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:179)
 org.apache.commons.fileupload.FileUploadBase.createItem(FileUploadBase.java:500)
 org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)
 org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)
 com.hcl.stpa.simulator.FileUploadServlet.doPost(FileUploadServlet.java:74)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:806)


root cause

java.lang.ClassNotFoundException: org.apache.commons.io.output.DeferredFileOutputStream in classloader org.apache.geronimo.configs/axis2/2.2.1/car
 org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:407)
 org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:257)
 java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:179)
 org.apache.commons.fileupload.FileUploadBase.createItem(FileUploadBase.java:500)
 org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)
 org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)
 com.hcl.stpa.simulator.FileUploadServlet.doPost(FileUploadServlet.java:74)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:806)