Thanks very much for taking the time out to give me some tips. I took out my webapp's jar files while I try to tweak some of the classes. Right now I'm just uploading the individual class files to their proper WEB-INF/classes/ directory. Is this what's going wrong? Is the webapp expecting jar files?
I'm going to try re-jar-ing my classes to upload, to see if this helps. Thanks again. -- --------- Original Message --------- DATE: Tue, 11 Nov 2003 08:26:35 From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Cc: > >Howdy, >Where is the jar file containing pu.strutsapp.actionform.LogonForm >residing? It should be in the WEB-INF/lib directory of your webapp. >Make sure the package of that class is indeed pu.strutsapp.actionform. > >Yoav Shapira >Millennium ChemInformatics > > >>-----Original Message----- >>From: todd thorner [mailto:[EMAIL PROTECTED] >>Sent: Monday, November 10, 2003 7:48 PM >>To: [EMAIL PROTECTED] >>Subject: ServletException: exception creating bean >> >>Hi, (I posted this to the Struts-User mailing list with no response) >> >>I'm having some (newbie) problems with my Struts-based webapp running >on >>Tomcat 4.1.x >> >>Something is going wrong when I try to access the first jsp page that >has a >>form. One thing I have tried to add recently to my webapp's >functionality >>is a <data-source> (I had been using straight JDBC), so I'm wondering >if >>someone could clarify to me if that's where I'm making a mistake (I'm >>especially concerned about the "url" parameters I'm trying to use). >> >>The following are the relevant stack trace and/or log files that I >could >>find: >> >>--------------------------------------------- >> >>Nov 10, 2003 4:22:57 AM org.apache.struts.util.PropertyMessageResources >>INFO: Initializing, >config='org.apache.struts.taglib.logic.LocalStrings', >>returnNull=true >>Nov 10, 2003 4:22:57 AM org.apache.struts.util.PropertyMessageResources >>INFO: Initializing, >config='org.apache.struts.taglib.html.LocalStrings', >>returnNull=true >>Nov 10, 2003 4:22:57 AM org.apache.struts.util.PropertyMessageResources >>INFO: Initializing, >config='org.apache.struts.taglib.logic.LocalStrings', >>returnNull=true >>Nov 10, 2003 4:22:57 AM org.apache.struts.util.PropertyMessageResources >>INFO: Initializing, >config='org.apache.struts.taglib.html.LocalStrings', >>returnNull=true >>Nov 10, 2003 4:22:57 AM org.apache.struts.util.RequestUtils >>createActionForm >>SEVERE: Error creating form bean of class >pu.strutsapp.actionform.LogonForm >>java.lang.ClassNotFoundException: pu.strutsapp.actionform.LogonForm >> at >>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade >r.ja >>va:1444) >> at >>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade >r.ja >>va:1289) >> at >>org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java: >207) >> at >>org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.ja >va:2 >>31) >> at >>org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java: >837) >> at >>org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:552) >> at >org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520) >> at >>org.apache.jsp.Logon_jsp._jspx_meth_html_form_0(Logon_jsp.java:213) >> at >>org.apache.jsp.Logon_jsp._jspx_meth_logic_equal_0(Logon_jsp.java:190) >> at >>org.apache.jsp.Logon_jsp._jspx_meth_html_html_0(Logon_jsp.java:126) >> at org.apache.jsp.Logon_jsp._jspService(Logon_jsp.java:84) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.ja >va:1 >>069) >> at >>org.apache.struts.action.RequestProcessor.processForwardConfig(RequestP >roce >>ssor.java:455) >> at >>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java >:279 >>) >> at >>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) >> at >>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java: >430) >> at >>org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:170) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_forward_0(PULobby_ >PUfr >>omTT_jsp.java:242) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_notPresent_0(PULob >by_P >>UfromTT_jsp.java:219) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspService(PULobby_PUfromTT_jsp.ja >va:1 >>56) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic >atio >>nFilterChain.java:247) >> at >>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil >terC >>hain.java:193) >> at >>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal >ve.j >>ava:256) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal >ve.j >>ava:191) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 >16) >> at >>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav >a:18 >>0) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV >alve >>.java:171) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav >a:17 >>2) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve >.jav >>a:174) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) >> at >>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263) >> at >>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) >> at >org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) >> at >>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java >:562 >>) >> at >>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) >> at >>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo >l.ja >>va:619) >> at java.lang.Thread.run(Thread.java:534) >>Nov 10, 2003 4:22:57 AM org.apache.jk.server.JkCoyoteHandler action >>INFO: RESET >> >> >>2003-11-10 04:22:57 ApplicationDispatcher[/porturla] Servlet.service() >>for servlet jsp threw exception >>org.apache.jasper.JasperException: Exception creating bean of class >>pu.strutsapp.actionform.LogonForm: {1} >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>254) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.ja >va:1 >>069) >> at >>org.apache.struts.action.RequestProcessor.processForwardConfig(RequestP >roce >>ssor.java:455) >> at >>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java >:279 >>) >> at >>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) >> at >>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java: >430) >> at >>org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:170) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_forward_0(PULobby_ >PUfr >>omTT_jsp.java:242) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_notPresent_0(PULob >by_P >>UfromTT_jsp.java:219) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspService(PULobby_PUfromTT_jsp.ja >va:1 >>56) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic >atio >>nFilterChain.java:247) >> at >>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil >terC >>hain.java:193) >> at >>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal >ve.j >>ava:256) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal >ve.j >>ava:191) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 >16) >> at >>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav >a:18 >>0) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV >alve >>.java:171) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav >a:17 >>2) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve >.jav >>a:174) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) >> at >>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263) >> at >>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) >> at >org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) >> at >>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java >:562 >>) >> at >>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) >> at >>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo >l.ja >>va:619) >> at java.lang.Thread.run(Thread.java:534) >>----- Root Cause ----- >>javax.servlet.ServletException: Exception creating bean of class >>pu.strutsapp.actionform.LogonForm: {1} >> at >>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte >xtIm >>pl.java:533) >> at org.apache.jsp.Logon_jsp._jspService(Logon_jsp.java:90) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.ja >va:1 >>069) >> at >>org.apache.struts.action.RequestProcessor.processForwardConfig(RequestP >roce >>ssor.java:455) >> at >>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java >:279 >>) >> at >>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) >> at >>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java: >430) >> at >>org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:170) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_forward_0(PULobby_ >PUfr >>omTT_jsp.java:242) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_notPresent_0(PULob >by_P >>UfromTT_jsp.java:219) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspService(PULobby_PUfromTT_jsp.ja >va:1 >>56) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic >atio >>nFilterChain.java:247) >> at >>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil >terC >>hain.java:193) >> at >>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal >ve.j >>ava:256) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal >ve.j >>ava:191) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 >16) >> at >>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav >a:18 >>0) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV >alve >>.java:171) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav >a:17 >>2) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve >.jav >>a:174) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) >> at >>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263) >> at >>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) >> at >org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) >> at >>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java >:562 >>) >> at >>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) >> at >>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo >l.ja >>va:619) >> at java.lang.Thread.run(Thread.java:534) >> >>2003-11-10 04:22:57 ApplicationDispatcher[/porturla] Servlet.service() >>for servlet action threw exception >>org.apache.jasper.JasperException: Exception creating bean of class >>pu.strutsapp.actionform.LogonForm: {1} >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>254) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.ja >va:1 >>069) >> at >>org.apache.struts.action.RequestProcessor.processForwardConfig(RequestP >roce >>ssor.java:455) >> at >>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java >:279 >>) >> at >>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) >> at >>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java: >430) >> at >>org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:170) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_forward_0(PULobby_ >PUfr >>omTT_jsp.java:242) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_notPresent_0(PULob >by_P >>UfromTT_jsp.java:219) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspService(PULobby_PUfromTT_jsp.ja >va:1 >>56) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic >atio >>nFilterChain.java:247) >> at >>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil >terC >>hain.java:193) >> at >>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal >ve.j >>ava:256) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal >ve.j >>ava:191) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 >16) >> at >>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav >a:18 >>0) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV >alve >>.java:171) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav >a:17 >>2) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve >.jav >>a:174) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) >> at >>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263) >> at >>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) >> at >org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) >> at >>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java >:562 >>) >> at >>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) >> at >>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo >l.ja >>va:619) >> at java.lang.Thread.run(Thread.java:534) >>----- Root Cause ----- >>javax.servlet.ServletException: Exception creating bean of class >>pu.strutsapp.actionform.LogonForm: {1} >> at >>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte >xtIm >>pl.java:533) >> at org.apache.jsp.Logon_jsp._jspService(Logon_jsp.java:90) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.ja >va:1 >>069) >> at >>org.apache.struts.action.RequestProcessor.processForwardConfig(RequestP >roce >>ssor.java:455) >> at >>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java >:279 >>) >> at >>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) >> at >>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat >cher >>.java:684) >> at >>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis >patc >>her.java:432) >> at >>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa >tche >>r.java:356) >> at >>org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java: >430) >> at >>org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:170) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_forward_0(PULobby_ >PUfr >>omTT_jsp.java:242) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspx_meth_logic_notPresent_0(PULob >by_P >>UfromTT_jsp.java:219) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspService(PULobby_PUfromTT_jsp.ja >va:1 >>56) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic >atio >>nFilterChain.java:247) >> at >>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil >terC >>hain.java:193) >> at >>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal >ve.j >>ava:256) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal >ve.j >>ava:191) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 >16) >> at >>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav >a:18 >>0) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV >alve >>.java:171) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav >a:17 >>2) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve >.jav >>a:174) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) >> at >>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263) >> at >>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) >> at >org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) >> at >>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java >:562 >>) >> at >>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) >> at >>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo >l.ja >>va:619) >> at java.lang.Thread.run(Thread.java:534) >> >>2003-11-10 04:22:57 StandardWrapperValve[jsp]: Servlet.service() >>for servlet jsp threw exception >>org.apache.jasper.JasperException: Exception forwarding for name >>logon: org.apache.jasper.JasperException: Exception creating bean >>of class pu.strutsapp.actionform.LogonForm: {1} >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>254) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic >atio >>nFilterChain.java:247) >> at >>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil >terC >>hain.java:193) >> at >>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal >ve.j >>ava:256) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal >ve.j >>ava:191) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 >16) >> at >>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav >a:18 >>0) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV >alve >>.java:171) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav >a:17 >>2) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve >.jav >>a:174) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) >> at >>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263) >> at >>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) >> at >org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) >> at >>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java >:562 >>) >> at >>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) >> at >>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo >l.ja >>va:619) >> at java.lang.Thread.run(Thread.java:534) >>----- Root Cause ----- >>javax.servlet.ServletException: Exception forwarding for name logon: >>org.apache.jasper.JasperException: Exception creating bean of class >>pu.strutsapp.actionform.LogonForm: {1} >> at >>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte >xtIm >>pl.java:533) >> at >>org.apache.jsp.PULobby_PUfromTT_jsp._jspService(PULobby_PUfromTT_jsp.ja >va:1 >>86) >> at >>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j >ava: >>210) >> at >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 >) >> at >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic >atio >>nFilterChain.java:247) >> at >>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil >terC >>hain.java:193) >> at >>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal >ve.j >>ava:256) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal >ve.j >>ava:191) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 >16) >> at >>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav >a:18 >>0) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV >alve >>.java:171) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav >a:17 >>2) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:641) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve >.jav >>a:174) >> at >>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. >invo >>keNext(StandardPipeline.java:643) >> at >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: >480) >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) >> at >>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263) >> at >>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) >> at >org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) >> at >>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java >:562 >>) >> at >>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) >> at >>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo >l.ja >>va:619) >> at java.lang.Thread.run(Thread.java:534) >> >>--------------------------------------------- >> >> >>The "Logon" jsp page that tries to create the LogonForm bean looks >>like this (the relevant parts): >> >><html:form action="/LogonSubmit_FromMainPage" focus="emailAddress"> >> <table border="0" width="100%"> >> <tr> >> <th align="right">Username:</th> >> <td align="left"><html:text property="emailAddress" >size="50"/></td> >> </tr> >> <tr> >> <th align="right">Password:</th> >> <td align="left"><html:password property="password" >size="50"/></td> >> </tr> >> <tr> >> <td align="right"><html:submit/></td> >> <td align="left"><html:reset/></td> >> </tr> >> </table> >></html:form> >> >>--------------------------------------------- >> >>My webapp's "web.xml" file looks like this (the relevant parts): >> >><resource-ref> >> <description> >> Resource reference to a >com.mysql.jdbc.jdbc2.optional.MysqlDataSource >> instance that may be used for data access for the porturla domain, >> preconfigured to connect to the appropriate MySql server. >> </description> >> <res-ref-name> >> jdbc/porturla >> </res-ref-name> >> <res-type> >> com.mysql.jdbc.jdbc2.optional.MysqlDataSource >> </res-type> >> <res-auth> >> Container >> </res-auth> >></resource-ref> >> >><resource-ref> >> <description> >> Resource reference to a factory for javax.mail.Session >> instances that may be used for sending electronic mail >> messages, preconfigured to connect to the appropriate >> SMTP server. >> </description> >> <res-ref-name> >> mail/Session >> </res-ref-name> >> <res-type> >> javax.mail.Session >> </res-type> >> <res-auth> >> Container >> </res-auth> >></resource-ref> >> >>--------------------------------------------- >> >>My "struts-config.xml" file looks like this (the relevant parts): >> >><data-sources> >> >> <data-source type="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"> >> >> <set-property property="autoCommit" value="true"/> >> <set-property property="description" value="MySql Data Source for >>domain DB#1"/> >> <set-property property="driverClass" >value="com.mysql.jdbc.Driver"/> >> <set-property property="minCount" value="2"/> >> <set-property property="maxCount" value="10"/> >> <set-property property="username" value="mydomain"/> >> <set-property property="password" value="**********"/> >> <set-property property="url" >>value="jdbc:mysql://mysql:3306/mydomain?autoReconnect=true"/> >> >> </data-source> >> >></data-sources> >> >><form-beans> >> >> <form-bean >> name="logonForm" >> type="pu.strutsapp.actionform.LogonForm"/> >> >></form-beans> >> >> >><action-mappings> >> >> <action path="/LogonSubmit_FromMainPage" >> type="pu.strutsapp.action.LogonAction" >> name="logonForm" >> scope="session" >> validate="true" >> input="/pages/Logon.jsp"> >> >> <forward name="success" >> path="/pages/WelcomeToANewSession.jsp"/> >> <forward name="fail" >> path="/pages/Logon_Failed.jsp"/> >> >> </action> >> >></action-mappings> >> >>--------------------------------------------- >> >>My Tomcat "server.xml" file looks like this (the relevant parts): >> >><Context className="org.apache.catalina.core.StandardContext" >>cachingAllowed="true" >>charsetMapperClass="org.apache.catalina.util.CharsetMapper" >cookies="true" >>crossContext="false" debug="0" >>docBase="/usr/ngasi/contexts/mydomain/appservers/jakarta-tomcat-4 >>.1.27/webapps/mydomain" >>mapperClass="org.apache.catalina.core.StandardContextMapper" >>path="/mydomain" privileged="false" reloadable="false" >>swallowOutput="false" >>useNaming="true" >wrapperClass="org.apache.catalina.core.StandardWrapper"> >> <Resource auth="Container" name="jdbc/mydatasource" scope="Shareable" >>type="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"/> >> <Resource auth="Container" name="mail/Session" scope="Shareable" >>type="javax.mail.Session"/> >> <ResourceParams name="jdbc/mydatasource"> >> <parameter> >> <name>url</name> >> ><value>jdbc:mysql://mysql:3306/mydomain?autoReconnect=true</value> >> </parameter> >> <parameter> >> <name>password</name> >> <value>********</value> <!-- password for MySql db --> >> </parameter> >> <parameter> >> <name>driverClassName</name> >> <value>com.mysql.jdbc.Driver</value> >> </parameter> >> <parameter> >> <name>username</name> >> <value>mydomain</value> <!-- username for MySql db --> >> </parameter> >> </ResourceParams> >> <ResourceParams name="mail/Session"> >> <parameter> >> <name>mail.smtp.host</name> >> <value>localhost</value> >> </parameter> >> </ResourceParams> >></Context> >> >>--------------------------------------------- >> >>Also, all my proper class files are in the WEB-INF/classes directory. >Only >>"struts.jar" and "struts-legacy.jar" are in WEB-INF/lib. >> >>So, where am I messing up? Should the data-source "auth" be >"Container"? >>Anything else that might be wrong? >> >>Thanks for any suggestions or guesses. >> >> >> >>____________________________________________________________ >>Enter now for a chance to win a 42" Plasma Television! >>http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda1.com/1/c/5 >6363 >>2/113422/313631/313631 >>AOL users go here: >>http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda1.com/1/c/5 >6363 >>2/113422/313631/313631 >>This offer applies to U.S. Residents Only >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > > > > >This e-mail, including any attachments, is a confidential business communication, and >may contain information that is confidential, proprietary and/or privileged. This >e-mail is intended only for the individual(s) to whom it is addressed, and may not be >saved, copied, printed, disclosed or used by anyone else. If you are not the(an) >intended recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > ____________________________________________________________ Enter now for a chance to win a 42" Plasma Television! http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda1.com/1/c/563632/113422/313631/313631 AOL users go here: http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda1.com/1/c/563632/113422/313631/313631 This offer applies to U.S. Residents Only --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]