Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins...

Can gravitational waves pass through a black hole?

Why is there so little support for joining EFTA in the British parliament?

How to resize main filesystem

Do i imagine the linear (straight line) homotopy in a correct way?

When does a function NOT have an antiderivative?

How to achieve cat-like agility?

Weaponising the Grasp-at-a-Distance spell

Why are current probes so expensive?

Is it OK to use the testing sample to compare algorithms?

Is there a verb for listening stealthily?

How to make an animal which can only breed for a certain number of generations?

How do I find my Spellcasting Ability for my D&D character?

The Nth Gryphon Number

One-one communication

How to make triangles with rounded sides and corners? (squircle with 3 sides)

Fit odd number of triplets in a measure?

Flight departed from the gate 5 min before scheduled departure time. Refund options

Did John Wesley plagiarize Matthew Henry...?

What is a more techy Technical Writer job title that isn't cutesy or confusing?

Noise in Eigenvalues plot

malloc in main() or malloc in another function: allocating memory for a struct and its members

Why does BitLocker not use RSA?

How could a hydrazine and N2O4 cloud (or it's reactants) show up in weather radar?

Statistical analysis applied to methods coming out of Machine Learning



Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Robohelp install, Tomcat issuesIIS 6 + ASP.NET web service - DW20 and stackoverflow exceptionUnable to have Tomcat call a method of JBOSS Serviceweb application can't connect to databaseConfiguring Jenkins for running with BitBucketmsdeploy via jenkins & service account: connected but “could not authorize”?Send build artifacts over SSH - could not create directoryUsing PhangomJS in Docker AlpineDeploy from Tomcat text interface fails Invalid context path null was specifiedJenkins web server not responding to HTTP requests in Ubuntu/Dell PowerEdge R640





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from apache. Both work fine but when trying to access localhost:8080 I get an HTTP 500 error.



I first discovered the error as I was trying to get a spring web app to deploy. All have so far failed although if I run the web app on my laptop it works fine so I'm assuming that the war file and the web app itself are fine.



Is there a possibility that the previous war files that I tried to deploy have caused a problem somewhere?



The laptop does not have jenkns installed - could jenkins be causing the problem?



I searched various posts and tried to find the jar file within other folders within the webapp directory but could find nothing.
I then deleted all of the war files with the exception of jenkins. Jenkins loads but the main page does not.



Thanks for any help.



The full error message is:



HTTP Status 500 - java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
type Exception report

message java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
root cause

java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:1023)
org.apache.jsp.index_jsp._jspService(index_jsp.java:85)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.


When I received this message when trying to deploy the webapp (the one that works on laptop), the error line was where jstl was used but in this instance the webapp is no longer on the server and I'm just trying to access localhost.










share|improve this question














bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from apache. Both work fine but when trying to access localhost:8080 I get an HTTP 500 error.



    I first discovered the error as I was trying to get a spring web app to deploy. All have so far failed although if I run the web app on my laptop it works fine so I'm assuming that the war file and the web app itself are fine.



    Is there a possibility that the previous war files that I tried to deploy have caused a problem somewhere?



    The laptop does not have jenkns installed - could jenkins be causing the problem?



    I searched various posts and tried to find the jar file within other folders within the webapp directory but could find nothing.
    I then deleted all of the war files with the exception of jenkins. Jenkins loads but the main page does not.



    Thanks for any help.



    The full error message is:



    HTTP Status 500 - java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
    type Exception report

    message java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

    description The server encountered an internal error that prevented it from fulfilling this request.

    exception

    org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    root cause

    java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
    org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:1023)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:85)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.


    When I received this message when trying to deploy the webapp (the one that works on laptop), the error line was where jstl was used but in this instance the webapp is no longer on the server and I'm just trying to access localhost.










    share|improve this question














    bumped to the homepage by Community 14 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from apache. Both work fine but when trying to access localhost:8080 I get an HTTP 500 error.



      I first discovered the error as I was trying to get a spring web app to deploy. All have so far failed although if I run the web app on my laptop it works fine so I'm assuming that the war file and the web app itself are fine.



      Is there a possibility that the previous war files that I tried to deploy have caused a problem somewhere?



      The laptop does not have jenkns installed - could jenkins be causing the problem?



      I searched various posts and tried to find the jar file within other folders within the webapp directory but could find nothing.
      I then deleted all of the war files with the exception of jenkins. Jenkins loads but the main page does not.



      Thanks for any help.



      The full error message is:



      HTTP Status 500 - java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
      type Exception report

      message java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

      description The server encountered an internal error that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      root cause

      java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
      org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:1023)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:85)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.


      When I received this message when trying to deploy the webapp (the one that works on laptop), the error line was where jstl was used but in this instance the webapp is no longer on the server and I'm just trying to access localhost.










      share|improve this question














      I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from apache. Both work fine but when trying to access localhost:8080 I get an HTTP 500 error.



      I first discovered the error as I was trying to get a spring web app to deploy. All have so far failed although if I run the web app on my laptop it works fine so I'm assuming that the war file and the web app itself are fine.



      Is there a possibility that the previous war files that I tried to deploy have caused a problem somewhere?



      The laptop does not have jenkns installed - could jenkins be causing the problem?



      I searched various posts and tried to find the jar file within other folders within the webapp directory but could find nothing.
      I then deleted all of the war files with the exception of jenkins. Jenkins loads but the main page does not.



      Thanks for any help.



      The full error message is:



      HTTP Status 500 - java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
      type Exception report

      message java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

      description The server encountered an internal error that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      root cause

      java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
      org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:1023)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:85)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.


      When I received this message when trying to deploy the webapp (the one that works on laptop), the error line was where jstl was used but in this instance the webapp is no longer on the server and I'm just trying to access localhost.







      web-server tomcat jenkins jsp






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 6 '14 at 19:48









      nullnull

      11419




      11419





      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          The deployed app has probably included its own version of jasper.jar. Remove jasper.jar from the app's /WEB-INF/lib directory. See https://stackoverflow.com/questions/12384779/org-apache-jasper-el-elcontextimpl-cannot-be-cast-to-org-apache-jasper-runtime-e for further details.






          share|improve this answer


























          • thanks for the help, I managed to fix by removing the cache files and restarting. It looked like the manager folder was causing issues for some reason. Working fine now though. Next task - auto deployment with jenkins. :)

            – null
            Mar 6 '14 at 22:29












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f580326%2ftomcat-localhost-page-showing-http500-but-i-can-access-the-sample-war-app-bu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The deployed app has probably included its own version of jasper.jar. Remove jasper.jar from the app's /WEB-INF/lib directory. See https://stackoverflow.com/questions/12384779/org-apache-jasper-el-elcontextimpl-cannot-be-cast-to-org-apache-jasper-runtime-e for further details.






          share|improve this answer


























          • thanks for the help, I managed to fix by removing the cache files and restarting. It looked like the manager folder was causing issues for some reason. Working fine now though. Next task - auto deployment with jenkins. :)

            – null
            Mar 6 '14 at 22:29
















          0














          The deployed app has probably included its own version of jasper.jar. Remove jasper.jar from the app's /WEB-INF/lib directory. See https://stackoverflow.com/questions/12384779/org-apache-jasper-el-elcontextimpl-cannot-be-cast-to-org-apache-jasper-runtime-e for further details.






          share|improve this answer


























          • thanks for the help, I managed to fix by removing the cache files and restarting. It looked like the manager folder was causing issues for some reason. Working fine now though. Next task - auto deployment with jenkins. :)

            – null
            Mar 6 '14 at 22:29














          0












          0








          0







          The deployed app has probably included its own version of jasper.jar. Remove jasper.jar from the app's /WEB-INF/lib directory. See https://stackoverflow.com/questions/12384779/org-apache-jasper-el-elcontextimpl-cannot-be-cast-to-org-apache-jasper-runtime-e for further details.






          share|improve this answer















          The deployed app has probably included its own version of jasper.jar. Remove jasper.jar from the app's /WEB-INF/lib directory. See https://stackoverflow.com/questions/12384779/org-apache-jasper-el-elcontextimpl-cannot-be-cast-to-org-apache-jasper-runtime-e for further details.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 23 '17 at 12:41









          Community

          1




          1










          answered Mar 6 '14 at 21:55









          BeelBeel

          1563




          1563













          • thanks for the help, I managed to fix by removing the cache files and restarting. It looked like the manager folder was causing issues for some reason. Working fine now though. Next task - auto deployment with jenkins. :)

            – null
            Mar 6 '14 at 22:29



















          • thanks for the help, I managed to fix by removing the cache files and restarting. It looked like the manager folder was causing issues for some reason. Working fine now though. Next task - auto deployment with jenkins. :)

            – null
            Mar 6 '14 at 22:29

















          thanks for the help, I managed to fix by removing the cache files and restarting. It looked like the manager folder was causing issues for some reason. Working fine now though. Next task - auto deployment with jenkins. :)

          – null
          Mar 6 '14 at 22:29





          thanks for the help, I managed to fix by removing the cache files and restarting. It looked like the manager folder was causing issues for some reason. Working fine now though. Next task - auto deployment with jenkins. :)

          – null
          Mar 6 '14 at 22:29


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f580326%2ftomcat-localhost-page-showing-http500-but-i-can-access-the-sample-war-app-bu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...