Kbase 20767: Could Not Instantiate AIA: Jrun with AIA
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  03/12/2008 |
|
Status: Verified
SYMPTOM(s):
Progress AppServer Internet Adapter (AIA) running with Jrun.
The errors can be seen when testing the AIA configuration with Jrun
500 Internal Server Error
/aia/Aia:
javax.servlet.ServletException: Could not instantiate
Aia
java.lang.ClassNotFoundException: Aia [Aia]
at allaire.jrun.servlet.JRunServletLoader.loadClass
(JRunServletLoader.java, Compiled Code)
at java.lang.Exception.(Unknown Source)
at java.lang.ClassNotFoundException.(Unknown Source)
at allaire.jrun.servlet.JRunServletLoader.loadClass
(JRunServletLoader.java, Compiled Code)
at java.lang.ClassLoader.loadClass(Unknown Source)
...
CAUSE:
Very likely, the error is caused by a configuration problem for the servlet definition or the URL mapping.
If a servlet named AIA (uppercase) is defined and a URL mapping called /aia is declared that points to servlet Aia, the error is will be encountered.
FIX:
Make sure the servlet name the URL mapping points to is the exact same one that is defined in the servlet definitions.
Follow these steps:
1) Start the Jrun Management Console.
2) Select the Default Server link.
3) Select Web Applications.
4) Select Default User Application.
5) Double check the servlet name under "Servlet Definitions".
6) Make sure the servlet name is the exact same under "Servlet
URL Mappings" for the alias you defined.