To try all your sugesstions,

I replaced the web.xml with one of a working instance
of the application.
Removed my applications dir under
tomcat/work/catalina/localhost
Restarted tomcat

There is no unexpected stmts in the catalina-xxx.log
But this is what i see in the localhostxxxx.log
I see that the classloader is looking for this servlet
in WEB-INF/classes. The servlet is in a .jar and the
.jar is in WEB-INF/lib .What can i do about this ?
Please help
------------------------------------------
Mar 15, 2006 10:27:02 AM
org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Mar 15, 2006 10:37:18 AM
org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet xdeSpellNoApplet as unavailable
Mar 15, 2006 10:37:18 AM
org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]
 xdeSpellNoApplet
java.lang.ClassNotFoundException: xdeSpellNoApplet
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1338)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1187)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1027)
        at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:750)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Mar 15, 2006 10:37:18 AM
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet
xdeSpellNoApplet
java.lang.ClassNotFoundException: xdeSpellNoApplet
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1338)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1187)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1027)
        at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:750)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Mar 15, 2006 10:58:32 AM
org.apache.catalina.core.ApplicationContext log
INFO: ContextListener:
attributeReplaced('org.apache.catalina.WELCOME_FILES',
'[Ljava.lang.String;@b86944')
Mar 15, 2006 10:58:32 AM
org.apache.catalina.core.Applica
--- Antonio Petrelli <[EMAIL PROTECTED]>
wrote:

> Anandi Vyagrapuri ha scritto:
> > Hi , 
> > I have a servlet that i have placed in 
> > webapps/myapplication/WEB-INF/lib 
> > It is a .jar file. 
> >
> > When i try to invoke the servlet, the jsp hangs.
> > This is what i found in 
> > tomcat/logs/localhostmmddyy.txt ->
> > --------------------------------
> > Mar 14, 2006 5:43:48 PM
> > org.apache.catalina.core.StandardWrapperValve
> invoke
> > INFO: Servlet xdeSpellNoApplet is currently
> > unavailable
> >   
> Usually a servlet is marked as unavailable if its
> "init" method threw an 
> exception, or your web.xml is incorrect.
> Check both in your logs
> > This was working before . Suddenly it has behaving
> > oddly. Plese help me solve this problem.
> 
> Maybe an exception happened, such as a failure to
> connect to a db. Again 
> check the log.
> Ciao
> Antonio
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to