Hy everybody,
I'm using the O Reilly's classes (specifically, the
multipart class used to parse a post into PartParams and FileParams) and
when running over Apache with Tomcat, it throws me the following Exception.
When I try the same part but with the SDK2.1, there are no Exceptions
throwns and the program works fine..... am i missing anything in the Apache
configuration?
java.io.IOException: unexpected end of part
at
com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:90)
at
com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:156)
at java.io.FilterInputStream.read(FilterInputStream.java:93)
at com.oreilly.servlet.multipart.FilePart.write(FilePart.java:186)
at com.oreilly.servlet.multipart.FilePart.writeTo(FilePart.java:166)
at sisa.internet.servlet.SIServlet.getParametros(SIServlet.java:924)
at sisa.internet.servlet.SIServlet.doPost(SIServlet.java:726)
at
sisa.internet.servlet.SIProgramaServlet.doPost(SIProgramaServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
(Ajp13ConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
Thank You Very Much for any Help!
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html