File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes java.IO.EOFException when deploying war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "java.IO.EOFException when deploying war file" Watch "java.IO.EOFException when deploying war file" New topic
Author

java.IO.EOFException when deploying war file

James Dekker
Ranch Hand

Joined: Dec 09, 2006
Posts: 215
Hello there, I am having a problem when deploying my application (via a war file) in Tomcat 5.5.9.

The exception I am getting is this:



My Servlet Code:



This is my deployment descriptor (web.xml) file:



Its saying that it can't find the class but under my TOMCAT_HOME/WEB-INF/classes directly, I can see the Log4jInitServlet.class file under org/acme/logging...

What is it that I am doing wrong?

Thank you,

JD
[ December 10, 2006: Message edited by: James Dekker ]
Juggy Obhi
Ranch Hand

Joined: Jul 02, 2007
Posts: 51
Nice Read -

http://thompsonng.blogspot.in/2011/02/tomcat-ioexception-while-loading.html


It does not matter how many times you fall,what matters is how many times you stand back.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.IO.EOFException when deploying war file