-
15. Re: javax.naming.NameNotFoundException: ShipmentSLSBean not
manan Aug 27, 2002 4:52 AM (in response to manan)1. On the start of JBoss server, I get the following warning message:
INFO [Engine] StandardContext[/frt]: WARNING: JSP file shipmentref shipment.jsp must start with a / in Servlet 2.3
How can I get rid of this error?
2. I get the following exception on invoking doDispatcher method -
within doDispatcher, following lines related to forwarding URL is present.
RequestDispatcher rd = null;
rd = getServletConfig().getServletContext().getRequestDispatcher(forwardFile);
rd.forward(request,response);
Note:- value of forwardFile = "shipment.jsp"
Error on the console:
PM: LoginManager : doDispatcher
() -- Exception in forwarding to TaskManager
INFO [STDOUT] Aug 27, 2002 1:17:49 PM: Received throwable with Mes
sage: java.lang.IllegalArgumentException: Path TaskManager does not start with a
"/" character
Any pointers?
Thanxs... -
16. Re: javax.naming.NameNotFoundException: ShipmentSLSBean not
manan Aug 27, 2002 6:13 AM (in response to manan)1. First error is removed. in web.xml, "/" was missing.
2. Second error is still persisting. It seems forwarding URLs is not working. It expects "/" character.
within doDispatcher, following lines related to forwarding URL is present.
RequestDispatcher rd = null;
rd = getServletConfig().getServletContext().getRequestDispatcher(forwardFile);
rd.forward(request,response);
Note:- value of forwardFile = "TaskManager" ( not shipment.jsp) as mentioned earlier.
Error on the console:
PM: LoginManager : doDispatcher
() -- Exception in forwarding to TaskManager
INFO [STDOUT] Aug 27, 2002 1:17:49 PM: Received throwable with Mes
sage: java.lang.IllegalArgumentException: Path TaskManager does not start with a
"/" character
On the browser, I see a blank screen.
Any pointers?
Thanxs... -
17. Re: javax.naming.NameNotFoundException: ShipmentSLSBean not
manan Aug 27, 2002 8:18 AM (in response to manan)Hi.
Update: First error is solved. For second, I need to make sure that classes get reloaded on start of server.
how to restart a Tomcat JBoss web app (so that it's classes are reloaded)?
I am using jboss-3.0.0_tomcat-4.0.3.
Any help would be greatly appreciated!
Any pointers? -
18. Re: javax.naming.NameNotFoundException: ShipmentSLSBean not
adrian.brock Aug 27, 2002 9:13 AM (in response to manan)I don't understand the question.
Are you taling about load on startup for a servlet?
This is a standard attribute in web.xml
Regards,
Adrian -
19. Re: javax.naming.NameNotFoundException: ShipmentSLSBean not
manan Aug 27, 2002 9:54 AM (in response to manan)Error solved. Class reloading is working. I have put a jar file earlier of the same class. Thats a mistake.
Thanxs a ton!!