Installing the Tomcat7 examples webapp on Ubuntu 12.04 The 2019 Stack Overflow Developer Survey Results Are InPackage '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 come people say “Would of”?
Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?
Match Roman Numerals
Why can't devices on different VLANs, but on the same subnet, communicate?
How did passengers keep warm on sail ships?
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
Kerning for subscripts of sigma?
Variable with quotation marks "$()"
What do these terms in Caesar's Gallic Wars mean?
Why not take a picture of a closer black hole?
"as much details as you can remember"
What do I do when my TA workload is more than expected?
Is bread bad for ducks?
What information about me do stores get via my credit card?
How to charge AirPods to keep battery healthy?
What is the meaning of Triage in Cybersec world?
How to translate "being like"?
Short story: man watches girlfriend's spaceship entering a 'black hole' (?) forever
Is Cinnamon a desktop environment or a window manager? (Or both?)
What is the most efficient way to store a numeric range?
Why is this code so slow?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
Why isn't the circumferential light around the M87 black hole's event horizon symmetric?
How do you keep chess fun when your opponent constantly beats you?
Installing the Tomcat7 examples webapp on Ubuntu 12.04
The 2019 Stack Overflow Developer Survey Results Are InPackage '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
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
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
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
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
bumped to the homepage by Community♦ 6 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♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
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.9k12172267
69.9k12172267
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