Hello Jason!!!!!

First of all, please let me thank you for your classes :-) I learned a lot
from them, and help me a lot.
Second, I told my system administrator about your mail, and he said the
version of Apache is 1.3.17 (the latest is .19), and Tomcat the latest. Then
I told him if he could make the server use ajp12 connector for me...he did
so, and... the servlets work! So, thank you again for the well-aimed
advise!!! :-)

Luis :-)

The Apache/Tomcat ajp13 connector has known issues which have been known
to cause this error.  The ajp12 connector was OK.  I first heard about
it months ago; I'd be surprised if it hasn't been fixed.  Are you using
the latest version?

-jh-

"Luis G. López" wrote:
>
> Hi!
>
> I made a servlet that gets a file uploaded via a HTML form, using the
great
> cos.jar. I tried it in www.mycgiserver.com and it worked fine, but after
> moving to another host, it gives me the following error:
>
> Error: 500
> Location: /webapp/servlet/ActualizarDatos
> Internal Servlet Error:
>
> java.io.IOException: unexpected end of part
>  at
>
com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:88)
>  at
>
com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:154)
>  at java.io.FilterInputStream.read(FilterInputStream.java:93)
>  at com.oreilly.servlet.multipart.FilePart.write(FilePart.java:158)
>  at com.oreilly.servlet.multipart.FilePart.writeTo(FilePart.java:117)
>  at com.oreilly.servlet.MultipartRequest.(MultipartRequest.java:146)
>  at ActualizarDatos.doPost(actualizardatos.java:80)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  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)
>
> The JVM is tomcat 3.2.1. Does anyone know where may be the problem? I can
> send a code snipplet, if it helps. THANK YOU VERY MUCH!!!!! :-)
>
> Luis :-)
> ----
> Luis G. López
> ICQ# 99032359
> http://www.geocities.com/luisglopez (Última actualización: 28/12/2000)

___________________________________________________________________________
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

Reply via email to