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;
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
add a comment |
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
add a comment |
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
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
12.04 webapps tomcat7
edited Dec 27 '13 at 7:43
user224082
asked Dec 27 '13 at 6:14
David Lionel ParkerDavid Lionel Parker
36114
36114
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Use cp -r to copy over directories. Also make sure target directories exist
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
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Use cp -r to copy over directories. Also make sure target directories exist
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
add a comment |
Use cp -r to copy over directories. Also make sure target directories exist
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
add a comment |
Use cp -r to copy over directories. Also make sure target directories exist
Use cp -r to copy over directories. Also make sure target directories exist
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
add a comment |
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
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Oct 12 '15 at 6:40
A.B.A.B.
69.9k12173267
69.9k12173267
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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