tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edoardo Panfili <edoa...@aspix.it>
Subject Re: errors in deploying war file to tomcat 5.5
Date Sat, 23 Aug 2008 16:21:04 GMT
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

Edoardo

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message