Unable to forward requests from apache2 to Tomcat 7: Ubuntu 16 LTSapache2 tomcat6 virtual hostingRunning Apache and Tomcat together on different subdomains?Virtualhost Serveralias does not display picturesVirtual Hosts Not Working (12.10)Why dont ProxyPass work in Apache hardy box with virtual hosts?Ubuntu 12.04 apache server errorit is about Apache server , is it right or wrong what i have done?Apache2 Virtual Hosting ServerName in Ubuntu Server 14.04 in LAN not WorkingApache2 - Virtual Host - Error 404 Not FoundI can't get wordpress on working on a apache! Please help!
Make a transparent 448*448 image
How to discourage/prevent PCs from using door choke-points?
Making a sword in the stone, in a medieval world without magic
Is it true that real estate prices mainly go up?
Confusion with the nameplate of an induction motor
Sword in the Stone story where the sword was held in place by electromagnets
Is King K. Rool's down throw to up-special a true combo?
When two POV characters meet
Is it ok to include an epilogue dedicated to colleagues who passed away in the end of the manuscript?
Can someone explain what is being said here in color publishing in the American Mathematical Monthly?
Question about partial fractions with irreducible quadratic factors
Replacing Windows 7 security updates with anti-virus?
Is going from continuous data to categorical always wrong?
Why would a jet engine that runs at temps excess of 2000°C burn when it crashes?
Why do Australian milk farmers need to protest supermarkets' milk price?
Nimitta - sutta references
What to do when during a meeting client people start to fight (even physically) with each others?
Prove that the total distance is minimised (when travelling across the longest path)
Who is our nearest neighbor
Can't remove a file with file mode bits a+rw
Is a lawful good "antagonist" effective?
What exactly is the purpose of connection links straped between the rocket and the launch pad
Is this animal really missing?
Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements
Unable to forward requests from apache2 to Tomcat 7: Ubuntu 16 LTS
apache2 tomcat6 virtual hostingRunning Apache and Tomcat together on different subdomains?Virtualhost Serveralias does not display picturesVirtual Hosts Not Working (12.10)Why dont ProxyPass work in Apache hardy box with virtual hosts?Ubuntu 12.04 apache server errorit is about Apache server , is it right or wrong what i have done?Apache2 Virtual Hosting ServerName in Ubuntu Server 14.04 in LAN not WorkingApache2 - Virtual Host - Error 404 Not FoundI can't get wordpress on working on a apache! Please help!
I followed this tutorial to forward some of the requests from apache2 to tomcat 7. The first difference, I have from this tutorial is that I already have port 8009 occupied by some other process and I can't claim from it. So, I replaced every occurrence of 8009 with 8019. The second difference is that I am using zip distribution of tomcat 7 as opposed to installing it using apt-get. The relevant portion of server.xml file is
<Connector port="8019" protocol="AJP/1.3" redirectPort="8443" />
worker.properties have following entries
workers.tomcat_home=/home/adeel/apache-tomcat-7.0.82
workers.java_home=/usr/lib/jvm/java-8-openjdk-amd64/jre
worker.list=ajp13_worker
worker.ajp13_worker.port=8019
worker.ajp13_worker.host=localhost
worker.ajp13_worker.type=ajp13
worker.ajp13_worker.lbfactor=1
/etc/apache2/sites-available/000-default.conf file has following entries
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
JkMountCopy On
JkMount /assemble_empty_node* ajp13_worker
JkMount /bpcom* ajp13_worker
JkMount /bpcom2* ajp13_worker
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
I restarted both apache2 and tomcat but requests do not get forwarded from apach2 to tomcat. I have done some googling and tried different solutions but none did work.
16.04 apache2 tomcat tomcat7
New contributor
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I followed this tutorial to forward some of the requests from apache2 to tomcat 7. The first difference, I have from this tutorial is that I already have port 8009 occupied by some other process and I can't claim from it. So, I replaced every occurrence of 8009 with 8019. The second difference is that I am using zip distribution of tomcat 7 as opposed to installing it using apt-get. The relevant portion of server.xml file is
<Connector port="8019" protocol="AJP/1.3" redirectPort="8443" />
worker.properties have following entries
workers.tomcat_home=/home/adeel/apache-tomcat-7.0.82
workers.java_home=/usr/lib/jvm/java-8-openjdk-amd64/jre
worker.list=ajp13_worker
worker.ajp13_worker.port=8019
worker.ajp13_worker.host=localhost
worker.ajp13_worker.type=ajp13
worker.ajp13_worker.lbfactor=1
/etc/apache2/sites-available/000-default.conf file has following entries
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
JkMountCopy On
JkMount /assemble_empty_node* ajp13_worker
JkMount /bpcom* ajp13_worker
JkMount /bpcom2* ajp13_worker
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
I restarted both apache2 and tomcat but requests do not get forwarded from apach2 to tomcat. I have done some googling and tried different solutions but none did work.
16.04 apache2 tomcat tomcat7
New contributor
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I followed this tutorial to forward some of the requests from apache2 to tomcat 7. The first difference, I have from this tutorial is that I already have port 8009 occupied by some other process and I can't claim from it. So, I replaced every occurrence of 8009 with 8019. The second difference is that I am using zip distribution of tomcat 7 as opposed to installing it using apt-get. The relevant portion of server.xml file is
<Connector port="8019" protocol="AJP/1.3" redirectPort="8443" />
worker.properties have following entries
workers.tomcat_home=/home/adeel/apache-tomcat-7.0.82
workers.java_home=/usr/lib/jvm/java-8-openjdk-amd64/jre
worker.list=ajp13_worker
worker.ajp13_worker.port=8019
worker.ajp13_worker.host=localhost
worker.ajp13_worker.type=ajp13
worker.ajp13_worker.lbfactor=1
/etc/apache2/sites-available/000-default.conf file has following entries
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
JkMountCopy On
JkMount /assemble_empty_node* ajp13_worker
JkMount /bpcom* ajp13_worker
JkMount /bpcom2* ajp13_worker
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
I restarted both apache2 and tomcat but requests do not get forwarded from apach2 to tomcat. I have done some googling and tried different solutions but none did work.
16.04 apache2 tomcat tomcat7
New contributor
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I followed this tutorial to forward some of the requests from apache2 to tomcat 7. The first difference, I have from this tutorial is that I already have port 8009 occupied by some other process and I can't claim from it. So, I replaced every occurrence of 8009 with 8019. The second difference is that I am using zip distribution of tomcat 7 as opposed to installing it using apt-get. The relevant portion of server.xml file is
<Connector port="8019" protocol="AJP/1.3" redirectPort="8443" />
worker.properties have following entries
workers.tomcat_home=/home/adeel/apache-tomcat-7.0.82
workers.java_home=/usr/lib/jvm/java-8-openjdk-amd64/jre
worker.list=ajp13_worker
worker.ajp13_worker.port=8019
worker.ajp13_worker.host=localhost
worker.ajp13_worker.type=ajp13
worker.ajp13_worker.lbfactor=1
/etc/apache2/sites-available/000-default.conf file has following entries
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
JkMountCopy On
JkMount /assemble_empty_node* ajp13_worker
JkMount /bpcom* ajp13_worker
JkMount /bpcom2* ajp13_worker
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
I restarted both apache2 and tomcat but requests do not get forwarded from apach2 to tomcat. I have done some googling and tried different solutions but none did work.
16.04 apache2 tomcat tomcat7
16.04 apache2 tomcat tomcat7
New contributor
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 hours ago
Muhammad Adeel ZahidMuhammad Adeel Zahid
1011
1011
New contributor
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Muhammad Adeel Zahid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
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
);
);
Muhammad Adeel Zahid is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1125430%2funable-to-forward-requests-from-apache2-to-tomcat-7-ubuntu-16-lts%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Muhammad Adeel Zahid is a new contributor. Be nice, and check out our Code of Conduct.
Muhammad Adeel Zahid is a new contributor. Be nice, and check out our Code of Conduct.
Muhammad Adeel Zahid is a new contributor. Be nice, and check out our Code of Conduct.
Muhammad Adeel Zahid is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1125430%2funable-to-forward-requests-from-apache2-to-tomcat-7-ubuntu-16-lts%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