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!













0















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.










share|improve this question







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.
























    0















    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.










    share|improve this question







    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.






















      0












      0








      0








      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.










      share|improve this question







      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






      share|improve this question







      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.











      share|improve this question







      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.









      share|improve this question




      share|improve this question






      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.




















          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.









          draft saved

          draft discarded


















          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.









          draft saved

          draft discarded


















          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.




          draft saved


          draft discarded














          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





















































          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

          Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

          What to do with chalk when deepwater soloing? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Photo Competition: April - At Home in The Great OutdoorsIs it ok for my climbing shoes/chalk bag to get wet?What hand and finger exercises help with climbing?Chalk: pure, plus drying agent, liquid?What can I do with a retired rope and harness?What to do with the lap coiled rope if the belayer wishes to lead consecutive pitches?How do to a safety knot when abseiling with 2 ropes?What are the advantages of being short when climbing?When should you start to train with Campus Boards, Hang Boards and Peg Boards?Climbing: fear/panic on boulder wallWith what specific techniques are various bouldering grades associated?What are the most important numerical features to look for when comparing climbing ropes?

          How to start Thunderbird minimized on start-up?How to run Thunderbird on startup, minimised?How to make Thunderbird Mail runs at startup?How do I start applications automatically on login?How can I delay a specific program on startup?How do I hide Thunderbird from the launcher while running?How to keep Thunderbird and Pidgin running on background?How to open Thunderbird minimised at startup in Ubuntu 16.04How to start Thunderbird minimized to Unity system tray on start-up?Minimize Thunderbird to Traythunderbird script to disable option: “delete message on server”Why is Thunderbird pegging a core at 100%?Thunderbird resets profile after second start upClearing out Thunderbird on UbuntuThunderbird and a shared “home” partitionBidirectionally synchronize Thunderbird profiles (POP3 mail accounts) between two computersWhy doesn't Ubuntu/Thunderbird save my PGP key?How to start Thunderbird minimized to Unity system tray on start-up?Recovering thunderbird files from quick formatted drive?