I didn't get any response so I'm going to try again. Here is another
exception:

Wed Apr 04 10:53:26 EDT 2001:<E> <WebAppServletContext-tpsampleapp> Root
cause of ServletException
javax.servlet.ServletException: runtime failure in custom tag 'form'
     at jsp_servlet._employee._jspService(_employee.java, Compiled Code)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
     at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
     at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
     at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
     at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1697)
     at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1540)
     at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
     at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
     at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:507)
     at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:481)
     at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
     at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
     at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)

I can't really say that this is very helpful in determing what the problem
is in my JSP code except that inside 'some' form there is 'some' problem. I
get past these but I could do it quicker if there was some sort of extra
logging. Is there extra logging that I can turn on for the tag libraries?
What's the recommend way to debug this ( let's say without a remote JSP
debugger though ) or does everyone just live with this?

This could be a newbie stupid question. If so I apologize in advance.
Thanks for any information!

Will



----- Forwarded by Will Spies/Towers Perrin on 04/04/01 10:54 AM -----
                                                                                       
                            
                                                                                       
                            
                                         To:     [EMAIL PROTECTED]        
                            
                    Will Spies           cc:                                           
                            
                                         Subject:     Debugging struts exceptions - 
correction                     
                    04/03/01                                                           
                            
                    08:13 AM                                                           
                            
                                                                                       
                            
                                                                                       
                            




Oops...I put the wrong tag in there:

<html:form action="/logon" focus="badproperyname">

(see what I mean?)



----- Forwarded by Will Spies/Towers Perrin on 04/03/01 08:12 AM -----
                                                                                       
                            
                                                                                       
                            
                                         To:     [EMAIL PROTECTED]        
                            
                    Will Spies           cc:                                           
                            
                                         Subject:     Debugging struts exceptions      
                            
                    04/03/01                                                           
                            
                    08:12 AM                                                           
                            
                                                                                       
                            
                                                                                       
                            




Seems certain exceptions don't come with very good explanations. For
example, I have a tag which had a bad property:

<html:text property="badpropertyname" size="16" maxlength="16"/>

If 'badpropertyname' does not exist the exception I see in the log file is:

javax.servlet.ServletException: runtime failure in custom tag 'form'
     at jsp_servlet._logon._jspService(_logon.java, Compiled Code)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
     at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
     at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:507)
     at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:481)
     at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
     at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
     at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)


This doesn't always happen but it happens here and this is probably a
pretty common error. Any suggestions?

P.S. I use WLS 5.1 SP8






Reply via email to