Installing the Tomcat7 examples webapp on Ubuntu 12.04 Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Package 'tomcat7' has no installation candidate on ubuntu 12.04tomcat7's CATALINA_HOME in Debian/Ubuntutomcat7 on Ubuntu 12.04 CATALINA_HOME and CATALINA_BASE not available on shellBOTH available-old & available missing from dpkg - “dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading”how to stop tomcat7 in ubuntu?Webapp notifications (Ubuntu Phone)Ubuntu Touch webapp iconWhile installing ftp vsftpd, tomcat7 error is comingConverting website into Ubuntu webappInstall tomcat7 on Ubuntu 17.10

How to draw this diagram using TikZ package?

Why did the IBM 650 use bi-quinary?

Is 1 ppb equal to 1 μg/kg?

What is the correct way to use the pinch test for dehydration?

How widely used is the term Treppenwitz? Is it something that most Germans know?

How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Why does Python start at index -1 when indexing a list from the end?

Right-skewed distribution with mean equals to mode?

What makes black pepper strong or mild?

Disable hyphenation for an entire paragraph

What is this single-engine low-wing propeller plane?

How to bypass password on Windows XP account?

What is the longest distance a 13th-level monk can jump while attacking on the same turn?

Sorting numerically

How do I stop a creek from eroding my steep embankment?

Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?

Proof involving the spectral radius and Jordan Canonical form

Models of set theory where not every set can be linearly ordered

When -s is used with third person singular. What's its use in this context?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

Is there a concise way to say "all of the X, one of each"?

How discoverable are IPv6 addresses and AAAA names by potential attackers?

Bonus calculation: Am I making a mountain out of a molehill?



Installing the Tomcat7 examples webapp on Ubuntu 12.04



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Package 'tomcat7' has no installation candidate on ubuntu 12.04tomcat7's CATALINA_HOME in Debian/Ubuntutomcat7 on Ubuntu 12.04 CATALINA_HOME and CATALINA_BASE not available on shellBOTH available-old & available missing from dpkg - “dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading”how to stop tomcat7 in ubuntu?Webapp notifications (Ubuntu Phone)Ubuntu Touch webapp iconWhile installing ftp vsftpd, tomcat7 error is comingConverting website into Ubuntu webappInstall tomcat7 on Ubuntu 17.10



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








5















I used the sudo apt-get install tomcat7-examples.



They were installed in /usr/share/tomcat7-examples/examples directory.



Tomcat could not locate them from the URL :



127.0.0.1:8080/examples/ 
HTTP Status 404 - /examples/


I attempted to copy them to the webapps directory but that failed.



$ sudo cp /usr/share/tomcat7-examples/examples/* /var/lib/tomcat7/webapps/examples/.

cp: omitting directory 'jsp'
cp: omitting directory 'servlets'
cp: omitting directory 'WEB-INF'


What am I missing?



Havingsame problem with docs, common, and admin.










share|improve this question






























    5















    I used the sudo apt-get install tomcat7-examples.



    They were installed in /usr/share/tomcat7-examples/examples directory.



    Tomcat could not locate them from the URL :



    127.0.0.1:8080/examples/ 
    HTTP Status 404 - /examples/


    I attempted to copy them to the webapps directory but that failed.



    $ sudo cp /usr/share/tomcat7-examples/examples/* /var/lib/tomcat7/webapps/examples/.

    cp: omitting directory 'jsp'
    cp: omitting directory 'servlets'
    cp: omitting directory 'WEB-INF'


    What am I missing?



    Havingsame problem with docs, common, and admin.










    share|improve this question


























      5












      5








      5


      0






      I used the sudo apt-get install tomcat7-examples.



      They were installed in /usr/share/tomcat7-examples/examples directory.



      Tomcat could not locate them from the URL :



      127.0.0.1:8080/examples/ 
      HTTP Status 404 - /examples/


      I attempted to copy them to the webapps directory but that failed.



      $ sudo cp /usr/share/tomcat7-examples/examples/* /var/lib/tomcat7/webapps/examples/.

      cp: omitting directory 'jsp'
      cp: omitting directory 'servlets'
      cp: omitting directory 'WEB-INF'


      What am I missing?



      Havingsame problem with docs, common, and admin.










      share|improve this question
















      I used the sudo apt-get install tomcat7-examples.



      They were installed in /usr/share/tomcat7-examples/examples directory.



      Tomcat could not locate them from the URL :



      127.0.0.1:8080/examples/ 
      HTTP Status 404 - /examples/


      I attempted to copy them to the webapps directory but that failed.



      $ sudo cp /usr/share/tomcat7-examples/examples/* /var/lib/tomcat7/webapps/examples/.

      cp: omitting directory 'jsp'
      cp: omitting directory 'servlets'
      cp: omitting directory 'WEB-INF'


      What am I missing?



      Havingsame problem with docs, common, and admin.







      12.04 webapps tomcat7






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 27 '13 at 7:43







      user224082

















      asked Dec 27 '13 at 6:14









      David Lionel ParkerDavid Lionel Parker

      36114




      36114




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Use cp -r to copy over directories. Also make sure target directories exist






          share|improve this answer























          • In it's current state, the answer is not very useful. Would you elaborate the answer to include more details like an example?

            – Registered User
            Jun 17 '14 at 3:51


















          0














          Don't copy anything.



          After you have started your copy command, you should now remove the folder /var/lib/tomcat7/webapps/examples via



          sudo rm -r /var/lib/tomcat7/webapps/examples



          The correct way



          After installing the package tomcat7-examples restart your tomcat7



          sudo service tomcat7 restart


          After that open the URL http://localhost:8080/examples/ and you will see this



          enter image description here






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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%2faskubuntu.com%2fquestions%2f396263%2finstalling-the-tomcat7-examples-webapp-on-ubuntu-12-04%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














            Use cp -r to copy over directories. Also make sure target directories exist






            share|improve this answer























            • In it's current state, the answer is not very useful. Would you elaborate the answer to include more details like an example?

              – Registered User
              Jun 17 '14 at 3:51















            0














            Use cp -r to copy over directories. Also make sure target directories exist






            share|improve this answer























            • In it's current state, the answer is not very useful. Would you elaborate the answer to include more details like an example?

              – Registered User
              Jun 17 '14 at 3:51













            0












            0








            0







            Use cp -r to copy over directories. Also make sure target directories exist






            share|improve this answer













            Use cp -r to copy over directories. Also make sure target directories exist







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 16 '14 at 22:10









            Brian G.Brian G.

            11




            11












            • In it's current state, the answer is not very useful. Would you elaborate the answer to include more details like an example?

              – Registered User
              Jun 17 '14 at 3:51

















            • In it's current state, the answer is not very useful. Would you elaborate the answer to include more details like an example?

              – Registered User
              Jun 17 '14 at 3:51
















            In it's current state, the answer is not very useful. Would you elaborate the answer to include more details like an example?

            – Registered User
            Jun 17 '14 at 3:51





            In it's current state, the answer is not very useful. Would you elaborate the answer to include more details like an example?

            – Registered User
            Jun 17 '14 at 3:51













            0














            Don't copy anything.



            After you have started your copy command, you should now remove the folder /var/lib/tomcat7/webapps/examples via



            sudo rm -r /var/lib/tomcat7/webapps/examples



            The correct way



            After installing the package tomcat7-examples restart your tomcat7



            sudo service tomcat7 restart


            After that open the URL http://localhost:8080/examples/ and you will see this



            enter image description here






            share|improve this answer



























              0














              Don't copy anything.



              After you have started your copy command, you should now remove the folder /var/lib/tomcat7/webapps/examples via



              sudo rm -r /var/lib/tomcat7/webapps/examples



              The correct way



              After installing the package tomcat7-examples restart your tomcat7



              sudo service tomcat7 restart


              After that open the URL http://localhost:8080/examples/ and you will see this



              enter image description here






              share|improve this answer

























                0












                0








                0







                Don't copy anything.



                After you have started your copy command, you should now remove the folder /var/lib/tomcat7/webapps/examples via



                sudo rm -r /var/lib/tomcat7/webapps/examples



                The correct way



                After installing the package tomcat7-examples restart your tomcat7



                sudo service tomcat7 restart


                After that open the URL http://localhost:8080/examples/ and you will see this



                enter image description here






                share|improve this answer













                Don't copy anything.



                After you have started your copy command, you should now remove the folder /var/lib/tomcat7/webapps/examples via



                sudo rm -r /var/lib/tomcat7/webapps/examples



                The correct way



                After installing the package tomcat7-examples restart your tomcat7



                sudo service tomcat7 restart


                After that open the URL http://localhost:8080/examples/ and you will see this



                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 12 '15 at 6:40









                A.B.A.B.

                69.9k12173267




                69.9k12173267



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f396263%2finstalling-the-tomcat7-examples-webapp-on-ubuntu-12-04%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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?