Apache Tomcat webapps have to use a proxy Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Running Apache and Tomcat together on different subdomains?Can't complete dropbox installation from behind proxygnome-shell Doesn't read the system-wide proxy configuration when installing extensionsApache tomcat clusterHow to fix very slow network access through proxy after upgrading to 12.04Having some trouble authenticating via proxy in order to use apt-get successfully on a corporate networkERROR Tomcat: Apache - Java - Tomcat - CatalinaGit error: unable to connect to “…”Apache Tomcat 8.5.4 Ubuntu 16.04 not working!Tomcat 9 doesn't have tomcat.pid file

What do you call the main part of a joke?

Is CEO the profession with the most psychopaths?

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?

Significance of Cersei's obsession with elephants?

Is the Standard Deduction better than Itemized when both are the same amount?

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

How to convince students of the implication truth values?

If a contract sometimes uses the wrong name, is it still valid?

For a new assistant professor in CS, how to build/manage a publication pipeline

If my PI received research grants from a company to be able to pay my postdoc salary, did I have a potential conflict interest too?

Is it fair for a professor to grade us on the possession of past papers?

Most bit efficient text communication method?

What is the longest distance a player character can jump in one leap?

Maximum summed powersets with non-adjacent items

8 Prisoners wearing hats

How come Sam didn't become Lord of Horn Hill?

Do jazz musicians improvise on the parent scale in addition to the chord-scales?

How do I make this wiring inside cabinet safer? (Pic)

How to find all the available tools in mac terminal?

Trademark violation for app?

Why do we bend a book to keep it straight?

Around usage results

Wu formula for manifolds with boundary

What's the meaning of "fortified infraction restraint"?



Apache Tomcat webapps have to use a proxy



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Running Apache and Tomcat together on different subdomains?Can't complete dropbox installation from behind proxygnome-shell Doesn't read the system-wide proxy configuration when installing extensionsApache tomcat clusterHow to fix very slow network access through proxy after upgrading to 12.04Having some trouble authenticating via proxy in order to use apt-get successfully on a corporate networkERROR Tomcat: Apache - Java - Tomcat - CatalinaGit error: unable to connect to “…”Apache Tomcat 8.5.4 Ubuntu 16.04 not working!Tomcat 9 doesn't have tomcat.pid file



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








1















I've installed Apache Tomcat and want to use a proxy for my webapps. Some apps request data from the internet, they don't have an own/internal possibility to use a proxy.



I added the following lines at the beginning of my startup.sh:



CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyHost=foo.bar" 
CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyPort=3128"


But these settings don't seem to work.



Server version: Apache Tomcat/7.0.34



JVM Version: 1.6.0_24-b24



Ubuntu 10.04.4










share|improve this question
















bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    1















    I've installed Apache Tomcat and want to use a proxy for my webapps. Some apps request data from the internet, they don't have an own/internal possibility to use a proxy.



    I added the following lines at the beginning of my startup.sh:



    CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyHost=foo.bar" 
    CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyPort=3128"


    But these settings don't seem to work.



    Server version: Apache Tomcat/7.0.34



    JVM Version: 1.6.0_24-b24



    Ubuntu 10.04.4










    share|improve this question
















    bumped to the homepage by Community 9 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1








      I've installed Apache Tomcat and want to use a proxy for my webapps. Some apps request data from the internet, they don't have an own/internal possibility to use a proxy.



      I added the following lines at the beginning of my startup.sh:



      CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyHost=foo.bar" 
      CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyPort=3128"


      But these settings don't seem to work.



      Server version: Apache Tomcat/7.0.34



      JVM Version: 1.6.0_24-b24



      Ubuntu 10.04.4










      share|improve this question
















      I've installed Apache Tomcat and want to use a proxy for my webapps. Some apps request data from the internet, they don't have an own/internal possibility to use a proxy.



      I added the following lines at the beginning of my startup.sh:



      CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyHost=foo.bar" 
      CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyPort=3128"


      But these settings don't seem to work.



      Server version: Apache Tomcat/7.0.34



      JVM Version: 1.6.0_24-b24



      Ubuntu 10.04.4







      java proxy tomcat






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 15 '13 at 19:54









      bender

      1,5711223




      1,5711223










      asked Jan 15 '13 at 18:09









      trolltroll

      10612




      10612





      bumped to the homepage by Community 9 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 9 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          please check if those catalina opts are loaded and where.
          It's safer to use java_opts , or create an environment variables JAVA_OPTS with that value "-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=8080 ".
          Also make sure you know what JRE is used. Sometimes tomcat loads one of his own.
          I used it in both ways and it worked. You can also setup the proxy dynamically at runtime, but that is nasty.



          Cheers, Nicu






          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%2f243532%2fapache-tomcat-webapps-have-to-use-a-proxy%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            please check if those catalina opts are loaded and where.
            It's safer to use java_opts , or create an environment variables JAVA_OPTS with that value "-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=8080 ".
            Also make sure you know what JRE is used. Sometimes tomcat loads one of his own.
            I used it in both ways and it worked. You can also setup the proxy dynamically at runtime, but that is nasty.



            Cheers, Nicu






            share|improve this answer



























              0














              please check if those catalina opts are loaded and where.
              It's safer to use java_opts , or create an environment variables JAVA_OPTS with that value "-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=8080 ".
              Also make sure you know what JRE is used. Sometimes tomcat loads one of his own.
              I used it in both ways and it worked. You can also setup the proxy dynamically at runtime, but that is nasty.



              Cheers, Nicu






              share|improve this answer

























                0












                0








                0







                please check if those catalina opts are loaded and where.
                It's safer to use java_opts , or create an environment variables JAVA_OPTS with that value "-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=8080 ".
                Also make sure you know what JRE is used. Sometimes tomcat loads one of his own.
                I used it in both ways and it worked. You can also setup the proxy dynamically at runtime, but that is nasty.



                Cheers, Nicu






                share|improve this answer













                please check if those catalina opts are loaded and where.
                It's safer to use java_opts , or create an environment variables JAVA_OPTS with that value "-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=8080 ".
                Also make sure you know what JRE is used. Sometimes tomcat loads one of his own.
                I used it in both ways and it worked. You can also setup the proxy dynamically at runtime, but that is nasty.



                Cheers, Nicu







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 22 '13 at 8:48









                Nicolae PetrideanNicolae Petridean

                1




                1



























                    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%2f243532%2fapache-tomcat-webapps-have-to-use-a-proxy%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

                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»