Hi,
In said, I have putĀ the commons-io-1.3.1.jar file in the WEB-INF/lib/ directory. Thanks. > ----- Original Message ----- > From: Len Popp > Sent: 25/08/08 01:32 am > To: Tomcat Users List > Subject: Re: Re: errors in deploying war file to tomcat 5.5 > > Shouldn't the .jar file go in WEB-INF/lib? Where is the > commons-fileupload.jar file? commons-io.jar should go in the same > directory. > > .war and .jar files are the same as .zip files, so you can unpack them > using any utility that unpacks .zip files. On Windows, the easiest way > is to rename the file with a .zip extension, then you can right-click > on it and Extract All. > -- > Len > > On Sun, Aug 24, 2008 at 03:58, sam wun <[EMAIL PROTECTED]> wrote: > > Hi, > > > > > > > > I have downloaded commons-io-1.3.1.jar file and put it in the > MET-INF\lib\ > > folder in Eclipse(3.4). > > > > Then I highlight the project name , right click it, select Export->War > file > > to export the project into a war file. > > > > Have I missing any step? > > > > NOw I still getting the same errors. > > > > > > > > BTW, how to see the content of the war file I built from Eclipse? > > > > > > > > Thanks > > > > > > > > > >> ----- Original Message ----- > >> From: Edoardo Panfili > >> Sent: 24/08/08 02:28 am > >> To: Tomcat Users List > >> Subject: Re: errors in deploying war file to tomcat 5.5 > >> > >> Edoardo Panfili ha scritto: > >> > sam wun ha scritto: > >> >> Hi, > >> >> > >> >> > >> >> > >> >> I tried to deploy a war file (built from Eclipse in windows) into > >> >> tomcat 5.5(in linux). > >> >> > >> >> I got the following errors: > >> >> > >> >> > >> >> > >> >> Aug 24, 2008 12:32:46 PM > org.apache.catalina.core.ApplicationContext > >> log > >> >> INFO: HTMLManager: init: Associated with Deployer > >> >> 'Catalina:type=Deployer,host=localhost' > >> >> Aug 24, 2008 12:32:46 PM > org.apache.catalina.core.ApplicationContext > >> log > >> >> INFO: HTMLManager: init: Global resources are available > >> >> Aug 24, 2008 12:32:46 PM > org.apache.catalina.core.ApplicationContext > >> log > >> >> INFO: HTMLManager: list: Listing contexts for virtual host > 'localhost' > >> >> Aug 24, 2008 12:32:53 PM > org.apache.catalina.core.ApplicationContext > >> log > >> >> INFO: HTMLManager: list: Listing contexts for virtual host > 'localhost' > >> >> Aug 24, 2008 12:33:24 PM > org.apache.catalina.core.StandardWrapperValve > >> >> invoke > >> >> SEVERE: Servlet.service() for servlet HTMLManager threw exception > >> >> java.lang.NoClassDefFoundError: > >> >> org/apache/commons/io/output/DeferredFileOutputStream > >> >> at > >> >> > >> > org.apache.commons.fileupload.DefaultFileItemFactory.createItem(DefaultFileItemFactory.java:103) > >> >> > >> >> at > >> >> > >> > org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:350) > >> >> > >> >> at > >> >> > >> > org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:302) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:157) > >> >> > >> >> at > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > >> >> at > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > >> >> at > >> >> > >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > >> >> > >> >> at > >> >> > >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) > >> >> > >> >> at > >> >> > >> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) > >> >> > >> >> at > >> >> > >> > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > >> >> > >> >> at > >> >> > >> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > >> >> > >> >> at > >> >> > >> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > >> >> > >> >> at > >> >> > >> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) > >> >> > >> >> at java.lang.Thread.run(Unknown Source) > >> >> > >> >> What is the problem and how to fix it? > >> >> > >> >> > >> >> > >> >> Your suggestion is highly appreciated. > >> >> > >> >> Thanks > >> >> > >> >> Sam > >> >> > >> > > >> > It seems that you need > >> > org/apache/commons/io/output/DeferredFileOutputStream.class > >> > you can find it in commons-io-1.3.2.jar > >> > put commons-io-1.3.2.jar in WEB-INF/lib > >> I'm sorry: 1.3.2 is my version maybe you have another one. > >> > >> Edoardo > >> > >> --------------------------------------------------------------------- > >> To start a new topic, e-mail: users@tomcat.apache.org > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >