[opencms-dev] Problem uploading file

"Piersanti, José Gregorio" jgregorio.piersanti at map.es
Thu Nov 6 09:43:01 CET 2003


Hi, i am testing a bean for uploading files ..... and in an application
outside opencms it works fine ..... when i try to use it within a jsp inside
opencms gives me the following error ... do you have any idea why is this
happening?? ... thanks.

José Gregorio.



stderr: java.io.IOException: Corrupt form data: premature ending
 	at
com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:16
6)
 	at javazoom.upload.parsing.CosMultipartParser.handleRequest(Unknown
Source)
 	at javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
 	at javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
 	at javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
 	at javazoom.upload.MultipartFormDataRequest.<init>(Unknown Source)
 	at
funciona.utilidades.uploadFichero.procesaFicheros(uploadFichero.java:103)
 	at
funciona.utilidades.uploadFichero.processRequest(uploadFichero.java:70)
 	at
funciona.utilidades.uploadFichero.subirFichero(uploadFichero.java:158)
 	at
_jasper._WEB_0002dINF._jsp._offline._Funciona._Pruebas._curriculo._subir_fic
hero_jsp._jspService(_subir_fichero_jsp.java:98)
 	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 	at
com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java
:552)
 	at
com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
 	at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:723)
 	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:592)
 	at
org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatc
her.java:123)
 	at
org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(Applica
tionDispatcher.java:154)
 	at java.security.AccessController.doPrivileged(Native Method)
 	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:501)
 	at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
cher.java:180)
 	at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
 	at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
cher.java:268)
 	at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
 	at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
 	at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
 	at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
 	at
com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:331)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 	at
org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardW
rapperValve.java:720)
 	at
org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValv
e.java:118)
 	at
org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.jav
a:278)
 	at java.security.AccessController.doPrivileged(Native Method)
 	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:274)
 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
 	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:212)
 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
 	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203
)
 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
 	at
com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.ja
va:157)
 	at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)



More information about the opencms-dev mailing list