javax.servlet.ServletException: ServletException in '/caser/extension/View.jsp': No getter method for property attributes.datefield of bean oneCol
The above error means the bean oneCol doesn't have a getta method. you have to declare a method of the sort getDateField....if that problem was not occurring before you made your move, then most likely you have mixed up the versions of jar files or class files....Unfortunately it looks like you have moved al ot of stuff so it is probably to possible to revert the changes. Are you using struts? check View.jsp and make the bean oneCol has the appropriate getDatefield... On 12/11/06, Steve Ingraham <[EMAIL PROTECTED]> wrote:
I need some assistance with a Tomcat application problem. I have a MySQL database that is accessed by users via web browser using Apache-Tomcat 5.5.15. Our system was designed and implemented specific to our court by a person who is no longer working here. Today Tomcat was failing when users attempted to log onto the database to input new data. As I began troubleshooting the problem I discovered that /usr was 100% full (13 gigs). I began looking at ways I can move files off of /usr and did move several logs from /usr/local/src/apache-tomcat-5.5.15/webapps/occa/WEB-INF/logs. I also moved some files from /usr/src that appeared to be zip files. There was a directory /usr/local/src that had a file titled "occa.war" that I also moved off of the /usr/ directory. This is when I believe my problems started. After I moved that file no one could access any data on the website even though we could access the database pages when we tried to view a case an error message returned stating "file not found". I then moved "occa.war" back to the /usr/local/src directory and we could access the data again. However, now there are several different types of errors showing up when user try to view or input data. There are multiple error messages that are showing up depending on what the individual user was attempting to do. I know I am probably being much too vague in my explanations but I don't know enough about Tomcat to detail everything. I would like to ask that if anyone can offer help I would welcome any offers for assistance. If I can explain in more detail please let me know what information I need to provide. Below is one of the messages that is displayed when a user attempts to view one of the web pages. HTTP Status 500 - ________________________________ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: ServletException in '/caser/extension/View.jsp': No getter method for property attributes.datefield of bean oneCol org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont extImpl.java:848) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex tImpl.java:781) org.apache.jsp.caser.common.templates.docketLayout_jsp._jspService(org.a pache.jsp.caser.common.templates.docketLayout_jsp:77) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j ava:39) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav a:1063) org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc essor.java:263) org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Til esRequestProcessor.java:239) org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles RequestProcessor.java:302) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 229) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.j ava:122) com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter. java:118) com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j ava:52) root cause javax.servlet.jsp.JspException: ServletException in '/caser/extension/View.jsp': No getter method for property attributes.datefield of bean oneCol org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTa g.java:923) org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462) org.apache.jsp.caser.common.templates.docketLayout_jsp._jspx_meth_tiles_ insert_2(org.apache.jsp.caser.common.templates.docketLayout_jsp:235) org.apache.jsp.caser.common.templates.docketLayout_jsp._jspx_meth_html_h tml_0(org.apache.jsp.caser.common.templates.docketLayout_jsp:104) org.apache.jsp.caser.common.templates.docketLayout_jsp._jspService(org.a pache.jsp.caser.common.templates.docketLayout_jsp:70) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j ava:39) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav a:1063) org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc essor.java:263) org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Til esRequestProcessor.java:239) org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles RequestProcessor.java:302) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 229) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.j ava:122) com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter. java:118) com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j ava:52) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs. ________________________________ Apache Tomcat/5.5.9 If anyone can offer assistance I would appreciate it, Steve Ingraham Director of Information Services Oklahoma Court of Criminal Appeals [EMAIL PROTECTED] 405 522-5343
-- "talk trash and carry a small stick." PAUL KRUGMAN (NYT)