By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,626 Members | 2,202 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,626 IT Pros & Developers. It's quick & easy.

Http status 500 org.apache.jasper.JasperException: Exception in JSP: /index.jsp:13

P: 15
sorry still that error exist , how to avoid this deprecated method overriding
in my netbeans !
In Bundled tomcat log it shows
Expand|Select|Wrap|Line Numbers
  1. Dec 30, 2009 9:03:45 PM org.apache.catalina.core.StandardWrapperValve invoke
  2. SEVERE: Servlet.service() for servlet jsp threw exception
  3. java.lang.NullPointerException
  4. at org.apache.struts.taglib.TagUtils.pageURL(TagUtils .java:1070)
  5. at org.apache.struts.taglib.TagUtils.computeURLWithCh arEncoding(TagUtils.java:449)
  6. at org.apache.struts.taglib.TagUtils.computeURLWithCh arEncoding(TagUtils.java:311)
  7. at org.apache.struts.taglib.html.LinkTag.calculateURL (LinkTag.java:463)
  8. at org.apache.struts.taglib.html.LinkTag.doStartTag(L inkTag.java:341)
  9. at org.apache.jsp.index_jsp._jspx_meth_html_link_0(in dex_jsp.java:144)
  10. at org.apache.jsp.index_jsp._jspService(index_jsp.jav a:83)
  11. at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
  12. at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
  13. at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:332)
  14. at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
  15. at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
  16. at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
  17. at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
  18. at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
  19. at org.netbeans.modules.web.monitor.server.MonitorFil ter.doFilter(MonitorFilter.java:368)
  20. at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
  21. at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
  22. at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
  23. at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
  24. at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
  25. at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
  26. at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
  27. at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
  28. at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
  29. at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:664)
  30. at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
  31. at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
  32. at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
  33. at java.lang.Thread.run(Thread.java:619)
  34.  
how to solve this

Thanks in Advance
Ramprakash
Dec 30 '09 #1
Share this Question
Share on Google+
2 Replies


RedSon
Expert 5K+
P: 5,000
Please enclose your posted logs in [code] tags (See How to Ask a Question).

This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members' questions.

Please use [code] tags in future.

MODERATOR
Jan 5 '10 #2

P: 15
org.apache.jasper.JasperException: Exception in JSP: /index.jsp:12
Expand|Select|Wrap|Line Numbers
  1. 9: <body>    
  2. 10:     <center>     
  3. 11:      
  4. 12:     <html:link page="/home.jsp">Home page</html:link><br>
  5. 13:     <img src="http://bytes.com/images/struts-power.gif"/> <br>
  6. 14:     </center>
  7. 15:     <marquee><font size="4" color="dark pink" style="arial">Bug play softwares Ltd</font></marquee><br>

Stacktrace:
Expand|Select|Wrap|Line Numbers
  1. org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
  2.     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
  3.     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  4.     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  5.     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  6.     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
root cause
Expand|Select|Wrap|Line Numbers
  1. java.lang.NullPointerException
  2.     org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1070)
  3.     org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:449)
  4.     org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:311)
  5.     org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:463)
  6.     org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:341)
  7.     org.apache.jsp.index_jsp._jspx_meth_html_link_0(index_jsp.java:145)
  8.     org.apache.jsp.index_jsp._jspx_meth_html_html_0(index_jsp.java:99)
  9.     org.apache.jsp.index_jsp._jspService(index_jsp.java:62)
  10.     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  11.     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  12.     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  13.     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  14.     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  15.     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  16.     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
  17.  
in log file
Expand|Select|Wrap|Line Numbers
  1. Jan 6, 2010 7:58:04 AM org.apache.catalina.core.ApplicationContext log
  2. INFO: Marking servlet action as unavailable
  3. Jan 6, 2010 7:58:04 AM org.apache.catalina.core.StandardContext loadOnStartup
  4. SEVERE: Servlet /Mymodule threw load() exception
  5. javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml
  6.         at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:769)
  7.         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:745)
  8.         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
  9.         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
  10.         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
  11.         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
  12.         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
  13.         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
  14.         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
  15.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  16.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  17.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  18.         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
  19.         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
  20.         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
  21.         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
  22.         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
  23.         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  24.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
  25.         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
  26.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
  27.         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
  28.         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
  29.         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
  30.         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
  31.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  32.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  33.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  34.         at java.lang.reflect.Method.invoke(Method.java:597)
  35.         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
  36.         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
  37. Jan 6, 2010 7:59:13 AM org.apache.catalina.core.StandardWrapperValve invoke
  38. SEVERE: Servlet.service() for servlet jsp threw exception
  39. java.lang.NullPointerException
  40.         at org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1070)
  41.         at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:449)
  42.         at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:311)
  43.         at org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:463)
  44.         at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:341)
  45.         at org.apache.jsp.index_jsp._jspx_meth_html_link_0(index_jsp.java:145)
  46.         at org.apache.jsp.index_jsp._jspx_meth_html_html_0(index_jsp.java:99)
  47.         at org.apache.jsp.index_jsp._jspService(index_jsp.java:62)
  48.         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  49.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  50.         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  51.         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  52.         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  53.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  54.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  55.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  56.         at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
  57.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  58.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  59.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  60.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  61.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  62.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  63.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  64.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  65.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  66.         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  67.         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  68.         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  69.         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  70.         at java.lang.Thread.run(Thread.java:619)
index.jsp
Expand|Select|Wrap|Line Numbers
  1. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  2. <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
  3. <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
  4.  
  5. <html:html>  
  6. <head>
  7. <html:base/>
  8. </head>
  9. <body>    
  10.     <center>     
  11.  
  12.     <html:link page="/home.jsp">Home page</html:link><br>
  13.     <img src="http://bytes.com/images/struts-power.gif"/> <br>
  14.     </center>
  15.     <marquee><font size="4" color="dark pink" style="arial">Bug play softwares Ltd</font></marquee><br>
  16. </body>
  17. </html:html>
in netbeans IDE command prompt shows this also
Expand|Select|Wrap|Line Numbers
  1. Using CATALINA_BASE:   C:\Documents and Settings\Windows XP\.netbeans\5.5\apache-tomcat-5.5.17_base
  2. Using CATALINA_HOME:   C:\Program Files\netbeans-5.5\enterprise3\apache-tomcat-5.5.17
  3. Using CATALINA_TMPDIR: C:\Documents and Settings\Windows XP\.netbeans\5.5\apache-tomcat-5.5.17_base\temp
  4. Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_01
  5. Jan 6, 2010 7:57:43 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
  6. INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_01\bin;.;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\
  7. Jan 6, 2010 7:57:48 AM org.apache.coyote.http11.Http11BaseProtocol init
  8. INFO: Initializing Coyote HTTP/1.1 on http-8084
  9. Jan 6, 2010 7:57:48 AM org.apache.catalina.startup.Catalina load
  10. INFO: Initialization processed in 8703 ms
  11. Jan 6, 2010 7:57:49 AM org.apache.catalina.core.StandardService start
  12. INFO: Starting service Catalina
  13. Jan 6, 2010 7:57:49 AM org.apache.catalina.core.StandardEngine start
  14. INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
  15. Jan 6, 2010 7:57:49 AM org.apache.catalina.core.StandardHost start
  16. INFO: XML validation disabled
  17. Jan 6, 2010 7:58:03 AM org.apache.commons.digester.Digester fatalError
  18. SEVERE: Parse Fatal Error at line 46 column 7: The element type "struts-config" must be terminated by the matching end-tag "</struts-config>".
  19. org.xml.sax.SAXParseException: The element type "struts-config" must be terminated by the matching end-tag "</struts-config>".
  20.         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
  21.         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
  22.         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
  23.         at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
  24.         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1739)
  25.         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
  26.         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
  27.         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
  28.         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
  29.         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
  30.         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
  31.         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
  32.         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
  33.         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
  34.         at org.apache.commons.digester.Digester.parse(Digester.java:1572)
  35.         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:738)
  36.         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
  37.         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
  38.         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
  39.         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
  40.         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
  41.         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
  42.         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
  43.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  44.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  45.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  46.         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
  47.         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
  48.         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
  49.         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
  50.         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
  51.         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  52.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
  53.         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
  54.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
  55.         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
  56.         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
  57.         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
  58.         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
  59.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  60.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  61.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  62.         at java.lang.reflect.Method.invoke(Method.java:597)
  63.         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
  64.         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
  65. Jan 6, 2010 7:58:03 AM org.apache.struts.action.ActionServlet handleConfigException
  66. SEVERE: Parsing error processing resource path /WEB-INF/struts-config.xml
  67. org.xml.sax.SAXParseException: The element type "struts-config" must be terminated by the matching end-tag "</struts-config>".
  68.         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
  69.         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
  70.         at org.apache.commons.digester.Digester.parse(Digester.java:1572)
  71.         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:738)
  72.         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
  73.         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
  74.         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
  75.         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
  76.         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
  77.         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
  78.         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
  79.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  80.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  81.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  82.         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
  83.         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
  84.         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
  85.         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
  86.         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
  87.         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  88.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
  89.         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
  90.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
  91.         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
  92.         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
  93.         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
  94.         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
  95.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  96.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  97.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  98.         at java.lang.reflect.Method.invoke(Method.java:597)
  99.         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
  100.         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
  101. Jan 6, 2010 7:58:05 AM org.apache.coyote.http11.Http11BaseProtocol start
  102. INFO: Starting Coyote HTTP/1.1 on http-8084
  103. Jan 6, 2010 7:58:05 AM org.apache.jk.common.ChannelSocket init
  104. INFO: JK: ajp13 listening on /0.0.0.0:8009
  105. Jan 6, 2010 7:58:05 AM org.apache.jk.server.JkMain start
  106. INFO: Jk running ID=0 time=0/187  config=null
  107. Jan 6, 2010 7:58:05 AM org.apache.catalina.storeconfig.StoreLoader load
  108. INFO: Find registry server-registry.xml at classpath resource
  109. Jan 6, 2010 7:58:06 AM org.apache.catalina.startup.Catalina start
  110. INFO: Server startup in 18172 ms
but in struts-config file
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2.  
  3. <!DOCTYPE struts-config PUBLIC
  4.           "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
  5.           "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
  6.  
  7.  
  8. <struts-config>
  9.  
  10.     <form-beans>
  11.  
  12.     </form-beans>
  13.     <global-exceptions>
  14.     </global-exceptions>
  15.  
  16.     <global-forwards>
  17.         <forward name="mainpage" path="/home.jsp"/>
  18.     </global-forwards>
  19.  
  20.     <action-mappings>
  21.  
  22.     <action path="/services"
  23.         type="org.apache.struts.actions.ForwardAction"
  24.         parameter="/Services.jsp"
  25.         input="/home.jsp"
  26.         scope="request"
  27.         validate="false">
  28.         </action>
  29.  
  30.     <action path="/vision"
  31.         type="org.apache.struts.actions.ForwardAction"
  32.         parameter="/Vision.jsp"
  33.         input="/home.jsp"
  34.         scope="request"
  35.         validate="false">
  36.         </action>    
  37.     </action-mappings>
  38.  
  39.     <action path="/clients"
  40.         type="org.apache.struts.actions.ForwardAction"
  41.         parameter="/Clients.jsp"
  42.         input="/home.jsp"
  43.         scope="request"
  44.         validate="false">
  45.         </action>    
  46.     </action-mappings>
  47.  
  48.     <action path="/experts"
  49.         type="org.apache.struts.actions.ForwardAction"
  50.         parameter="/Experts.jsp"
  51.         input="/home.jsp"
  52.         scope="request"
  53.         validate="false">
  54.         </action>
  55.  
  56.      <action path="/reachus"
  57.         type="org.apache.struts.actions.ForwardAction"
  58.         parameter="/Reachus.jsp"
  59.         input="/home.jsp"
  60.         scope="request"
  61.         validate="false">
  62.         </action>
  63.  
  64.     </action-mappings>
  65.  
  66.     <controller processorClass="org.apache.struts.action.RequestProcessor"/>
  67.  
  68.     <message-resources parameter="mybank.app1.App1Messages"/>    
  69.  
  70.  
  71.     <plug-in className="org.apache.struts.tiles.TilesPlugin" >
  72.         <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />      
  73.         <set-property property="moduleAware" value="true" />
  74.     </plug-in>
  75.  
  76.     <!-- ========================= Validator plugin ================================= -->
  77.     <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
  78.         <set-property
  79.             property="pathnames"
  80.             value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
  81.     </plug-in>
  82.  
  83. </struts-config>
Jan 6 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.