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;
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
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.
add a comment |
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
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.
add a comment |
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
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
java proxy tomcat
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.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
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%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
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
add a comment |
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
add a comment |
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
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
answered Jan 22 '13 at 8:48
Nicolae PetrideanNicolae Petridean
1
1
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%2f243532%2fapache-tomcat-webapps-have-to-use-a-proxy%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