Tomcat 8 doesn't start












0















Upgraded tomcat 6 to 8 on Centos 7.



I get this error in logs:
/usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: No such file or directory



This is the only entry in logs...



This directory didn't exist, so I created it, with permission 777.
Still get same error.



Tomcat 6 did not produce such an error.



I read a little about the endorsed directory - http://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html
and it shouldn't be a critical issue, but it is.

What should I do..?










share|improve this question














bumped to the homepage by Community 13 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















    Upgraded tomcat 6 to 8 on Centos 7.



    I get this error in logs:
    /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: No such file or directory



    This is the only entry in logs...



    This directory didn't exist, so I created it, with permission 777.
    Still get same error.



    Tomcat 6 did not produce such an error.



    I read a little about the endorsed directory - http://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html
    and it shouldn't be a critical issue, but it is.

    What should I do..?










    share|improve this question














    bumped to the homepage by Community 13 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


      1






      Upgraded tomcat 6 to 8 on Centos 7.



      I get this error in logs:
      /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: No such file or directory



      This is the only entry in logs...



      This directory didn't exist, so I created it, with permission 777.
      Still get same error.



      Tomcat 6 did not produce such an error.



      I read a little about the endorsed directory - http://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html
      and it shouldn't be a critical issue, but it is.

      What should I do..?










      share|improve this question














      Upgraded tomcat 6 to 8 on Centos 7.



      I get this error in logs:
      /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: No such file or directory



      This is the only entry in logs...



      This directory didn't exist, so I created it, with permission 777.
      Still get same error.



      Tomcat 6 did not produce such an error.



      I read a little about the endorsed directory - http://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html
      and it shouldn't be a critical issue, but it is.

      What should I do..?







      centos java tomcat






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 '14 at 9:56









      csnycsny

      6762722




      6762722





      bumped to the homepage by Community 13 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 13 mins ago


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
























          2 Answers
          2






          active

          oldest

          votes


















          0














          RUNNING.txt provides a description of the endorsed directory:




          Libraries that override standard "Endorsed Standards" libraries
          provided by JRE. See Classloading documentation in the User Guide for
          details. By default this "endorsed" directory is absent.




          It should be safe to ignore, though I suspect JAVA_ENDORSED_DIRS is defined somewhere to point to that PATH. Is that a relative PATH to your installation?






          share|improve this answer































            0














            There is a difference between tomcat 6 and tomcat 8 catalina.sh java process initiation.



            In my case the problem was NOT in the endorsed directory, but in setting a different parameter before the endorsed dir, that included spaces, adding before them solved the problem.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "106"
              };
              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: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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%2funix.stackexchange.com%2fquestions%2f167527%2ftomcat-8-doesnt-start%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              RUNNING.txt provides a description of the endorsed directory:




              Libraries that override standard "Endorsed Standards" libraries
              provided by JRE. See Classloading documentation in the User Guide for
              details. By default this "endorsed" directory is absent.




              It should be safe to ignore, though I suspect JAVA_ENDORSED_DIRS is defined somewhere to point to that PATH. Is that a relative PATH to your installation?






              share|improve this answer




























                0














                RUNNING.txt provides a description of the endorsed directory:




                Libraries that override standard "Endorsed Standards" libraries
                provided by JRE. See Classloading documentation in the User Guide for
                details. By default this "endorsed" directory is absent.




                It should be safe to ignore, though I suspect JAVA_ENDORSED_DIRS is defined somewhere to point to that PATH. Is that a relative PATH to your installation?






                share|improve this answer


























                  0












                  0








                  0







                  RUNNING.txt provides a description of the endorsed directory:




                  Libraries that override standard "Endorsed Standards" libraries
                  provided by JRE. See Classloading documentation in the User Guide for
                  details. By default this "endorsed" directory is absent.




                  It should be safe to ignore, though I suspect JAVA_ENDORSED_DIRS is defined somewhere to point to that PATH. Is that a relative PATH to your installation?






                  share|improve this answer













                  RUNNING.txt provides a description of the endorsed directory:




                  Libraries that override standard "Endorsed Standards" libraries
                  provided by JRE. See Classloading documentation in the User Guide for
                  details. By default this "endorsed" directory is absent.




                  It should be safe to ignore, though I suspect JAVA_ENDORSED_DIRS is defined somewhere to point to that PATH. Is that a relative PATH to your installation?







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 12 '14 at 11:11









                  Criveti MihaiCriveti Mihai

                  83848




                  83848

























                      0














                      There is a difference between tomcat 6 and tomcat 8 catalina.sh java process initiation.



                      In my case the problem was NOT in the endorsed directory, but in setting a different parameter before the endorsed dir, that included spaces, adding before them solved the problem.






                      share|improve this answer




























                        0














                        There is a difference between tomcat 6 and tomcat 8 catalina.sh java process initiation.



                        In my case the problem was NOT in the endorsed directory, but in setting a different parameter before the endorsed dir, that included spaces, adding before them solved the problem.






                        share|improve this answer


























                          0












                          0








                          0







                          There is a difference between tomcat 6 and tomcat 8 catalina.sh java process initiation.



                          In my case the problem was NOT in the endorsed directory, but in setting a different parameter before the endorsed dir, that included spaces, adding before them solved the problem.






                          share|improve this answer













                          There is a difference between tomcat 6 and tomcat 8 catalina.sh java process initiation.



                          In my case the problem was NOT in the endorsed directory, but in setting a different parameter before the endorsed dir, that included spaces, adding before them solved the problem.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 13 '14 at 9:56









                          csnycsny

                          6762722




                          6762722






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • 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%2funix.stackexchange.com%2fquestions%2f167527%2ftomcat-8-doesnt-start%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

                              CARDNET

                              Boot-repair Failure: Unable to locate package grub-common:i386

                              濃尾地震