A recursive error was detected.

12 views
Skip to first unread message

Mamadou MBAYE

unread,
Jun 22, 2001, 11:02:17 AM6/22/01
to
Hello,
I need your help.
I have create a new application.
But when I enter in my browser

http://<my_host>/webapp/EssaiApp/hello

I get this error when

A recursive error was detected.

The server cannot use specified error page. Please check the application
error-path.


Original Error:

Message d'erreur : Failed to load target servlet [hello]
Code d'erreur : 500
Servlet cible : hello
Pile d'erreur :

Erreur root-1: HelloWorldServlet
java.lang.ClassNotFoundException: HelloWorldServlet at
com.ibm.servlet.classloader.DynamicClassLoader.loadNonSystemClass(Compiled
Code) at
com.ibm.servlet.classloader.ClassLoaderTemplate.loadClass(ClassLoaderTemplate.java:57)
at java.lang.ClassLoader.loadClass(Compiled Code) at
com.ibm.servlet.classloader.PowerClassLoader.loadNonSystemClass(PowerClassLoader.java:62)
at
com.ibm.servlet.classloader.ClassLoaderTemplate.loadClass(ClassLoaderTemplate.java:57)
at java.lang.ClassLoader.loadClass(Compiled Code) at
java.beans.Beans.instantiate(Beans.java:125) at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:53)
at
com.ibm.servlet.engine.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:94)
at
com.ibm.servlet.engine.webapp.WebApp.getServletReference(WebApp.java:250)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebApp.java:1360)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.(WebApp.java:1280)
at
com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:762)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:677)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:139)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:202)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
Code) at java.lang.Thread.run(Thread.java:472)

Erreur en boucle-2: Servlet [hello] : Classe de servlet requise
introuvable - HelloWorldServlet.class
javax.servlet.ServletException: Servlet [hello] : Classe de servlet
requise introuvable - HelloWorldServlet.class at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:56)
at
com.ibm.servlet.engine.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:94)
at
com.ibm.servlet.engine.webapp.WebApp.getServletReference(WebApp.java:250)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebApp.java:1360)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.(WebApp.java:1280)
at
com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:762)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:677)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:139)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:202)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
Code) at java.lang.Thread.run(Thread.java:472)

Erreur en boucle-3: Failed to load target servlet [hello]
com.ibm.servlet.engine.webapp.LoadTargetServletFailure: Failed to load
target servlet [hello] at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebApp.java:1401)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.(WebApp.java:1280)
at
com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:762)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:677)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:139)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:202)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
Code) at java.lang.Thread.run(Thread.java:472)


Recursive Error:

Message d'erreur : No target servlet configured for uri:
/webapp/EssaiApp/
Code d'erreur : 0
Servlet cible : null
Pile d'erreur :

Erreur root-1: No target servlet configured for uri: /webapp/EssaiApp/
com.ibm.servlet.engine.webapp.NoTargetForURIException: No target servlet
configured for uri: /webapp/EssaiApp/ at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.getTargetServlet(WebApp.java:1325)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:1064)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.include(WebApp.java:964)
at
com.ibm.servlet.engine.webapp.WebApp.sendError(WebApp.java:476) at
com.ibm.servlet.engine.webapp.WebApp.sendError(WebApp.java:405) at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:696)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:139)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:202)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
Code) at java.lang.Thread.run(Thread.java:472)

Erreur en boucle-2: No target servlet configured for uri:
/webapp/EssaiApp/
com.ibm.servlet.engine.webapp.WebAppErrorReport: No target servlet
configured for uri: /webapp/EssaiApp/ at
com.ibm.servlet.engine.webapp.WebApp.sendError(WebApp.java:510) at
com.ibm.servlet.engine.webapp.WebApp.sendError(WebApp.java:405) at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:696)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:139)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:202)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
Code) at java.lang.Thread.run(Thread.java:472)


David Artus

unread,
Jun 22, 2001, 4:57:41 PM6/22/01
to

You have two errors. A faiure to load your servlet because a
class cannot be found.

Then a second error because a problem was encountered in
reporting the first error.

Then things get nasty because you get a problem reporting that
error ...

You should look at where you have put your HelloWorldServlet
class file and whether it in turn needs any other classes.

To improve the error repoting define an error reporting servlet.

I suggest that you download the 3.5 handbook from

www.redbooks.ibm.com

You will find more detail here.

Mamadou MBAYE

unread,
Jun 25, 2001, 8:45:11 AM6/25/01
to
Hello David,
Thank you. I have resolve the problem

David Artus a écrit :

fouz...@gmail.com

unread,
Jun 2, 2017, 4:28:51 PM6/2/17
to
Hi,

Please can you describe how you solved this issue . I am also stuck with the same issue.Please help at the earliest.

Regards,
Fouzia
Reply all
Reply to author
Forward
0 new messages