tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anto Paul <antop...@gmail.com>
Subject Re: Download file Problem - 404 error
Date Tue, 31 Jan 2006 05:42:23 GMT
On 1/31/06, DEEPA M N <deepu_1005@yahoo.co.in> wrote:
>
> Hi,
>
>   Here is a log file. Pls let me know how can i correct it.


In what package it is defined ?.
Are you sure you deleted the old classfiles and compiled the
classfiles to the right folder ?
Go to WEB-INF\classes and type   java com.deepa.servlet.DownloadFiles.
Go to classes com/deepa/servlet and type java DownloadFiles.

It should give the same error since it is not in the right
package/directory structure.



>
>   2006-01-31 10:30:54 StandardWrapperValve[DownloadFiles]: Allocate exception for servlet
DownloadFiles
> javax.servlet.ServletException: Error allocating a servlet instance
>  at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:691)
>  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>  at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>  at java.lang.Thread.run(Thread.java:595)
> ----- Root Cause -----
> java.lang.NoClassDefFoundError: com/deepa/servlet/DownloadFiles (wrong name: DownloadFiles)
>  at java.lang.ClassLoader.defineClass1(Native Method)
>  at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>  at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
>  at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
>  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
>  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
>  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:964)
>  at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
>  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>  at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>  at java.lang.Thread.run(Thread.java:595)
>
>   Thank u in advance
>   Deepa
>
>
>
> ---------------------------------
>  Jiyo cricket on Yahoo! India cricket
>


--
rgds
Anto Paul

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


Mime
View raw message