Results 1 to 12 of 12
  1. #1
    shahinengg is offline Member
    Join Date
    Aug 2007
    Posts
    8
    Rep Power
    0

    Default Facing Problem to upload Struts2 Based Web App

    Hello Everybody,

    I have developed a project in Java where I used Struts2, MySQL and editor is Eclipse. I developed in Window platform. Now I have to setup it in Centos/Linux System. I created the war file using a virtual linux system and in the system where I have to upload, Tomcat auto extract in and make a folder for my project. When I browse it, it says page cann't be display, HTTP Error 404.

    I used Tomcat 6 and jdk 1.6. But in uploaded system , there is Tomcat 5 and jdk1.5.

    Please suggest me what to do.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: Facing Problem to upload Struts2 Based Web App

    Is this from running a browser inside the virtual system?

  3. #3
    shahinengg is offline Member
    Join Date
    Aug 2007
    Posts
    8
    Rep Power
    0

    Default Re: Facing Problem to upload Struts2 Based Web App

    No, in linux virtual machine it is running well. But when I make the war file in linux virtual machine and put it in the centos server, the tomcat in the server extract the war file. now in browser it say HTTP Error:404

    Please help ASAP.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: Facing Problem to upload Struts2 Based Web App

    Is there something specific in your build process that means you need to build it in a virtual machine?
    Seems an odd way of going about things.

    Anyway, if it's getting 404 then the deployment has gone wrong (or the war is incorrect somehow).
    Not really much more to be said.

    Can you deploy the war to a tomcat on the Windows box and have that work (localhost)?
    Not via Eclipse, but just by dropping the war into the tomcat webapps directory?

  5. #5
    shahinengg is offline Member
    Join Date
    Aug 2007
    Posts
    8
    Rep Power
    0

    Default Re: Facing Problem to upload Struts2 Based Web App

    Actually first I build it in windows OS to check whether everything is OK or not. I thought, as I will upload it in linux system and I donot have dual linux OS but I have Virtual Linux for this I deploy it over there to make the war. That war file I put into linux via WinSCP. restart the tomcat and it extract the war file. when I browse, it display Http 404

    For testing I put the windows war file into tomcat directory of window, it works fine.

    the error log in linux system is SEVERE: Context [/vos3000] startup failed due to previous errors

    Pls suggest me what to do.

    Thanks again

  6. #6
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: Facing Problem to upload Struts2 Based Web App

    What happens if you use the war file generated in windows on the linux box?

  7. #7
    shahinengg is offline Member
    Join Date
    Aug 2007
    Posts
    8
    Rep Power
    0

    Default Re: Facing Problem to upload Struts2 Based Web App

    In log file, I got the below error:

    SEVERE: Context [/vos3000] startup failed due to previous errors

    in browser, HTTP:404

  8. #8
    shahinengg is offline Member
    Join Date
    Aug 2007
    Posts
    8
    Rep Power
    0

    Default Re: Facing Problem to upload Struts2 Based Web App

    Let me tell you the full step that I follow:

    I developed application using Tomcat 6, MySQL, jdk1.6,Eclipse, struts2 framework in windows OS. Then I create war file using ant and put it window tomcat directory, it works fine.

    Now I have to put the app in linux OS where configuration is tomcat 5, jdk1.5. when I put the window created war file in linux, tomcat extract it. but in broswer HTTP 404 error. Then I again make the war file using linux OS and put it in linux server, it got the same error.

    In my project I included servlet and jsp jar that I used to develop the project. You know in tomcat lib directory there is another servlet and jsp jar file. firstly I delete the jar files from my project and try to run, but same error. Secondly I delete the jar files from tomcat lib directory, but still the same problem. Thirdly I put my used jar files into tomcat lib directory, but still the problem.

    Please help me becoz I have to upload today.

  9. #9
    shahinengg is offline Member
    Join Date
    Aug 2007
    Posts
    8
    Rep Power
    0

    Default Re: Facing Problem to upload Struts2 Based Web App

    The below is localhost log:

    Jan 12, 2012 10:21:34 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 10:21:34 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 10:21:34 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 10:21:34 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 10:21:38 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 10:21:38 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 10:21:39 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 10:21:39 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 10:21:39 AM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 10:25:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 10:25:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 10:25:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 10:25:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 10:25:13 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 10:25:13 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 10:25:14 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 10:25:14 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 10:25:14 AM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 10:26:02 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 10:26:02 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 10:26:02 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 10:26:02 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 10:26:07 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 10:26:07 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 10:26:07 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 10:26:07 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 10:26:07 AM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 10:47:00 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 10:47:00 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 10:47:00 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 10:47:00 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 11:02:56 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 11:02:56 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 11:02:56 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 11:02:56 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 11:02:56 AM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 11:14:42 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at com.kunshi.platform.mgc.mgcapi.MGCAPITask.sendRequ estSyn(Unknown Source)
    at org.apache.jsp.login_jsp._jspService(org.apache.js p.login_jsp:78)
    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:332)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Jan 12, 2012 12:48:32 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at com.kunshi.platform.mgc.mgcapi.MGCAPITask.sendRequ estSyn(Unknown Source)
    at org.apache.jsp.login_jsp._jspService(org.apache.js p.login_jsp:78)
    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:332)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Jan 12, 2012 12:48:55 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at com.kunshi.platform.mgc.mgcapi.MGCAPITask.sendRequ estSyn(Unknown Source)
    at org.apache.jsp.login_jsp._jspService(org.apache.js p.login_jsp:78)
    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:332)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Jan 12, 2012 12:49:11 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 12:49:11 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 12:49:11 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 12:49:11 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 12:49:19 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 12:49:19 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 12:49:19 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 12:49:19 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 12:49:19 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 12:53:47 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 12:53:47 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 12:53:47 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 12:53:47 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 12:53:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 12:53:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 12:53:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 12:53:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 12:53:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 12:54:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 12:54:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 12:54:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 12:54:52 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 12:54:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 12:54:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 12:54:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 12:54:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 12:54:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 12:59:38 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 12:59:38 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 12:59:38 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 12:59:38 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 12:59:42 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 12:59:42 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 12:59:42 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 12:59:42 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 12:59:42 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 1:07:35 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: sessionCreated('48694E52C7E76D70BEB317F46F7679F9')
    Jan 12, 2012 1:08:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 1:08:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 1:08:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 1:08:56 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 1:09:01 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 1:09:01 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 1:09:01 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 1:09:01 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 1:09:01 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 1:09:18 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: sessionCreated('1F8ED835EB60969E72D024B54C8CE9F1')
    Jan 12, 2012 1:11:05 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 1:11:05 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 1:11:05 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Jan 12, 2012 1:11:05 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Jan 12, 2012 1:11:09 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 1:11:09 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 1:11:09 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 12, 2012 1:11:09 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 12, 2012 1:11:10 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRul e: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterR ule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingR ule: Redirect URL: http://jakarta.apache.org]]
    Jan 12, 2012 1:11:34 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: sessionCreated('2A6EA55C1295D63D4FE7BF44EEDFD938')
    Jan 12, 2012 1:11:54 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: File "/struts-tags" not found
    at org.apache.jasper.compiler.DefaultErrorHandler.jsp Error(DefaultErrorHandler.java:50)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatc h(ErrorDispatcher.java:407)
    at org.apache.jasper.compiler.ErrorDispatcher.jspErro r(ErrorDispatcher.java:114)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.<ini t>(TagLibraryInfoImpl.java:159)
    at org.apache.jasper.compiler.Parser.parseTaglibDirec tive(Parser.java:423)
    at org.apache.jasper.compiler.Parser.parseDirective(P arser.java:492)
    at org.apache.jasper.compiler.Parser.parseElements(Pa rser.java:1552)
    at org.apache.jasper.compiler.Parser.parse(Parser.jav a:126)
    at org.apache.jasper.compiler.ParserController.doPars e(ParserController.java:211)
    at org.apache.jasper.compiler.ParserController.parse( ParserController.java:100)
    at org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:155)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:295)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:276)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:264)
    at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:563)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:303)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:432)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Jan 12, 2012 1:12:18 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: File "/struts-tags" not found
    at org.apache.jasper.compiler.DefaultErrorHandler.jsp Error(DefaultErrorHandler.java:50)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatc h(ErrorDispatcher.java:407)
    at org.apache.jasper.compiler.ErrorDispatcher.jspErro r(ErrorDispatcher.java:114)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.<ini t>(TagLibraryInfoImpl.java:159)
    at org.apache.jasper.compiler.Parser.parseTaglibDirec tive(Parser.java:423)
    at org.apache.jasper.compiler.Parser.parseDirective(P arser.java:492)
    at org.apache.jasper.compiler.Parser.parseElements(Pa rser.java:1552)
    at org.apache.jasper.compiler.Parser.parse(Parser.jav a:126)
    at org.apache.jasper.compiler.ParserController.doPars e(ParserController.java:211)
    at org.apache.jasper.compiler.ParserController.parse( ParserController.java:100)
    at org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:155)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:295)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:276)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:264)
    at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:563)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:303)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:432)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

  10. #10
    shahinengg is offline Member
    Join Date
    Aug 2007
    Posts
    8
    Rep Power
    0

    Default Re: Facing Problem to upload Struts2 Based Web App

    Catalina Error:

    Jan 12, 2012 1:08:59 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[]
    Jan 12, 2012 1:08:59 PM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Jan 12, 2012 1:08:59 PM org.apache.coyote.http11.Http11BaseProtocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8080
    Jan 12, 2012 1:08:59 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: Failed shutdown of Apache Portable Runtime
    Jan 12, 2012 1:08:59 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive vos3000.war
    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
    log4j:WARN Please initialize the log4j system properly.
    Jan 12, 2012 1:09:00 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error filterStart
    Jan 12, 2012 1:09:00 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/vos3000] startup failed due to previous errors
    Jan 12, 2012 1:09:01 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/eng]
    Jan 12, 2012 1:09:01 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/chs]
    Jan 12, 2012 1:09:01 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cht]
    Jan 12, 2012 1:09:01 PM org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Jan 12, 2012 1:09:01 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Jan 12, 2012 1:09:01 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/23 config=null
    Jan 12, 2012 1:09:01 PM org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    Jan 12, 2012 1:09:01 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3126 ms
    Jan 12, 2012 1:11:04 PM org.apache.coyote.http11.Http11BaseProtocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    Jan 12, 2012 1:11:05 PM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Jan 12, 2012 1:11:05 PM org.apache.coyote.http11.Http11BaseProtocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8080
    Jan 12, 2012 1:11:05 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: Failed shutdown of Apache Portable Runtime
    Jan 12, 2012 1:11:07 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_08/jre/lib/i386/client:/usr/java/jdk1.5.0_08/jre/lib/i386:/usr/java/jdk1.5.0_08/jre/../lib/i386
    Jan 12, 2012 1:11:07 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 12, 2012 1:11:07 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 914 ms
    Jan 12, 2012 1:11:07 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 12, 2012 1:11:07 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
    Jan 12, 2012 1:11:07 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 12, 2012 1:11:07 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[]
    Jan 12, 2012 1:11:08 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive vos3000.war
    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
    log4j:WARN Please initialize the log4j system properly.
    Jan 12, 2012 1:11:09 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error filterStart
    Jan 12, 2012 1:11:09 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/vos3000] startup failed due to previous errors
    Jan 12, 2012 1:11:09 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/eng]
    Jan 12, 2012 1:11:10 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/chs]
    Jan 12, 2012 1:11:10 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cht]
    Jan 12, 2012 1:11:10 PM org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Jan 12, 2012 1:11:10 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Jan 12, 2012 1:11:10 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=1/23 config=null
    Jan 12, 2012 1:11:10 PM org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    Jan 12, 2012 1:11:10 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3090 ms

  11. #11
    ahmadzia is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default Re: Facing Problem to upload Struts2 Based Web App

    Hope that helps SEVERE: Error filterStart

  12. #12
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default Re: Facing Problem to upload Struts2 Based Web App

    I should have said try the Windows version on a Tomcat 5 on windows, mimicking (bar the OS itself) what you are deploying to.

Similar Threads

  1. iam facing problem
    By ibm579 in forum Java Software
    Replies: 1
    Last Post: 12-30-2010, 09:26 AM
  2. Facing problem in Java Swing
    By hbeon in forum AWT / Swing
    Replies: 2
    Last Post: 12-07-2010, 12:11 AM
  3. i am facing some problem with <h:selectOneMenu> default One
    By sridharavulapati in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 09-09-2009, 02:08 PM
  4. Facing problem while sending e-mail
    By jay8186 in forum Java Servlet
    Replies: 1
    Last Post: 03-25-2009, 07:34 AM
  5. Struts2 :File upload and div on same form
    By saqib in forum Web Frameworks
    Replies: 2
    Last Post: 08-19-2008, 11:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •