Apache Tomcat not working Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionApache and Tomcat integrationapache, tomcat context pathRunning Apache with TomcatTomcat 8 doesn't startCan't connect to Tomcat on port 8080 (port 80 works)Is it this Tomcat server correctly running? Why it seems that it is not listening on the 8080 port?How to install Apache Tomcat 8 on centos 7?How to config HTTPS on Apache tomcatApache, Tomcat : Loadbalancing not working, failed to connect with TomcatApache, Tomcat : Load balancing not working with 2nd server
Mortgage adviser recommends a longer term than necessary combined with overpayments
What's the point in a preamp?
New Order #5: where Fibonacci and Beatty meet at Wythoff
Strange behaviour of Check
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Do working physicists consider Newtonian mechanics to be "falsified"?
Unexpected result with right shift after bitwise negation
Antler Helmet: Can it work?
Can the prologue be the backstory of your main character?
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
Estimated State payment too big --> money back; + 2018 Tax Reform
Do we know why communications with Beresheet and NASA were lost during the attempted landing of the Moon lander?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
How to say that you spent the night with someone, you were only sleeping and nothing else?
What do you call a plan that's an alternative plan in case your initial plan fails?
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
What's the difference between (size_t)-1 and ~0?
Can smartphones with the same camera sensor have different image quality?
Why is "Captain Marvel" translated as male in Portugal?
I'm thinking of a number
Stop battery usage [Ubuntu 18]
Was credit for the black hole image misattributed?
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
Using "nakedly" instead of "with nothing on"
Apache Tomcat not working
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionApache and Tomcat integrationapache, tomcat context pathRunning Apache with TomcatTomcat 8 doesn't startCan't connect to Tomcat on port 8080 (port 80 works)Is it this Tomcat server correctly running? Why it seems that it is not listening on the 8080 port?How to install Apache Tomcat 8 on centos 7?How to config HTTPS on Apache tomcatApache, Tomcat : Loadbalancing not working, failed to connect with TomcatApache, Tomcat : Load balancing not working with 2nd server
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to Connect. I have also tried changing the connector port in the tomcat server config but still unable to connect.
etc/profile
PATH=/usr/local/jdk1.8.0/bin:$PATH
JRE_HOME=/usr/local/jdk1.8.0/jre/bin
CATALINA_HOME=/media/new/softwares/Tomcat/apache-tomcat-8.0.5/
export PATH
export JRE_HOME
export CATALINA_HOME
host file
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
terminal on starting Tomcat
Using CATALINA_BASE: /media/new/softwares/Tomcat/apache-tomcat-8.0.5
Using CATALINA_HOME: /media/new/softwares/Tomcat/apache-tomcat-8.0.5
Using CATALINA_TMPDIR: /media/new/softwares/Tomcat/apache-tomcat-8.0.5/temp
Using JRE_HOME: /usr/local/jdk1.8.0/jre/bin
Using CLASSPATH: /media/new/softwares/Tomcat/apache-tomcat 8.0.5/bin/bootstrap.jar:/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/tomcat-juli.jar
Tomcat started.
tomcat's log
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
centos java tomcat
add a comment |
I have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to Connect. I have also tried changing the connector port in the tomcat server config but still unable to connect.
etc/profile
PATH=/usr/local/jdk1.8.0/bin:$PATH
JRE_HOME=/usr/local/jdk1.8.0/jre/bin
CATALINA_HOME=/media/new/softwares/Tomcat/apache-tomcat-8.0.5/
export PATH
export JRE_HOME
export CATALINA_HOME
host file
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
terminal on starting Tomcat
Using CATALINA_BASE: /media/new/softwares/Tomcat/apache-tomcat-8.0.5
Using CATALINA_HOME: /media/new/softwares/Tomcat/apache-tomcat-8.0.5
Using CATALINA_TMPDIR: /media/new/softwares/Tomcat/apache-tomcat-8.0.5/temp
Using JRE_HOME: /usr/local/jdk1.8.0/jre/bin
Using CLASSPATH: /media/new/softwares/Tomcat/apache-tomcat 8.0.5/bin/bootstrap.jar:/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/tomcat-juli.jar
Tomcat started.
tomcat's log
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
centos java tomcat
add a comment |
I have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to Connect. I have also tried changing the connector port in the tomcat server config but still unable to connect.
etc/profile
PATH=/usr/local/jdk1.8.0/bin:$PATH
JRE_HOME=/usr/local/jdk1.8.0/jre/bin
CATALINA_HOME=/media/new/softwares/Tomcat/apache-tomcat-8.0.5/
export PATH
export JRE_HOME
export CATALINA_HOME
host file
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
terminal on starting Tomcat
Using CATALINA_BASE: /media/new/softwares/Tomcat/apache-tomcat-8.0.5
Using CATALINA_HOME: /media/new/softwares/Tomcat/apache-tomcat-8.0.5
Using CATALINA_TMPDIR: /media/new/softwares/Tomcat/apache-tomcat-8.0.5/temp
Using JRE_HOME: /usr/local/jdk1.8.0/jre/bin
Using CLASSPATH: /media/new/softwares/Tomcat/apache-tomcat 8.0.5/bin/bootstrap.jar:/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/tomcat-juli.jar
Tomcat started.
tomcat's log
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
centos java tomcat
I have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to Connect. I have also tried changing the connector port in the tomcat server config but still unable to connect.
etc/profile
PATH=/usr/local/jdk1.8.0/bin:$PATH
JRE_HOME=/usr/local/jdk1.8.0/jre/bin
CATALINA_HOME=/media/new/softwares/Tomcat/apache-tomcat-8.0.5/
export PATH
export JRE_HOME
export CATALINA_HOME
host file
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
terminal on starting Tomcat
Using CATALINA_BASE: /media/new/softwares/Tomcat/apache-tomcat-8.0.5
Using CATALINA_HOME: /media/new/softwares/Tomcat/apache-tomcat-8.0.5
Using CATALINA_TMPDIR: /media/new/softwares/Tomcat/apache-tomcat-8.0.5/temp
Using JRE_HOME: /usr/local/jdk1.8.0/jre/bin
Using CLASSPATH: /media/new/softwares/Tomcat/apache-tomcat 8.0.5/bin/bootstrap.jar:/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/tomcat-juli.jar
Tomcat started.
tomcat's log
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
centos java tomcat
centos java tomcat
edited 17 hours ago
Rui F Ribeiro
42.1k1483142
42.1k1483142
asked Mar 28 '14 at 23:02
UDBUDB
108114
108114
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
Seems pretty cut and dry. You don't have Java installed. Or at least it isn't in the location that Tomcat is looking.
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
You'll need to to go www.java.com
and download JDK 1.8.0 or some version of Java and install it to /usr/local/...
and then change the configurations around in Tomcat so that it can find Java.
I have java installed commandjava -version
showsjava version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
. Can you tell me how to change Tomcat configuration to let it find java
– UDB
Mar 29 '14 at 8:03
Try setting the variable$JDK_HOME
, and exporting it similar to the other variables.
– slm♦
Mar 29 '14 at 12:48
add a comment |
This path of JDK exist? Give more information about this JDK if you see this error message :
/usr/local/jdk1.8.0/jre/**bin/bin**/java
There are two /bin/bin maybe this is the error. If jdk exists, try to use this config:
Using JRE_HOME: /usr/local/jdk1.8.0/jre
add a comment |
I was also facing same problem and found that is was because catalina.sh not figure out jre path. So solved by setting following path variables :
export JAVA_HOME="/usr/java/jdk1.8.0_25"
export JRE_HOME=/usr/java/jdk1.8.0_25/jre
add a comment |
You should set JAVA_HOME=/usr/local/jdk1.8.0
or JRE_HOME=/usr/local/jdk1.8.0/jre
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f122045%2fapache-tomcat-not-working%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Seems pretty cut and dry. You don't have Java installed. Or at least it isn't in the location that Tomcat is looking.
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
You'll need to to go www.java.com
and download JDK 1.8.0 or some version of Java and install it to /usr/local/...
and then change the configurations around in Tomcat so that it can find Java.
I have java installed commandjava -version
showsjava version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
. Can you tell me how to change Tomcat configuration to let it find java
– UDB
Mar 29 '14 at 8:03
Try setting the variable$JDK_HOME
, and exporting it similar to the other variables.
– slm♦
Mar 29 '14 at 12:48
add a comment |
Seems pretty cut and dry. You don't have Java installed. Or at least it isn't in the location that Tomcat is looking.
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
You'll need to to go www.java.com
and download JDK 1.8.0 or some version of Java and install it to /usr/local/...
and then change the configurations around in Tomcat so that it can find Java.
I have java installed commandjava -version
showsjava version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
. Can you tell me how to change Tomcat configuration to let it find java
– UDB
Mar 29 '14 at 8:03
Try setting the variable$JDK_HOME
, and exporting it similar to the other variables.
– slm♦
Mar 29 '14 at 12:48
add a comment |
Seems pretty cut and dry. You don't have Java installed. Or at least it isn't in the location that Tomcat is looking.
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
You'll need to to go www.java.com
and download JDK 1.8.0 or some version of Java and install it to /usr/local/...
and then change the configurations around in Tomcat so that it can find Java.
Seems pretty cut and dry. You don't have Java installed. Or at least it isn't in the location that Tomcat is looking.
/media/new/softwares/Tomcat/apache-tomcat-8.0.5/bin/catalina.sh: line 399: /usr/local/jdk1.8.0/jre/bin/bin/java: No such file or directory
You'll need to to go www.java.com
and download JDK 1.8.0 or some version of Java and install it to /usr/local/...
and then change the configurations around in Tomcat so that it can find Java.
answered Mar 29 '14 at 3:12
slm♦slm
256k71544690
256k71544690
I have java installed commandjava -version
showsjava version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
. Can you tell me how to change Tomcat configuration to let it find java
– UDB
Mar 29 '14 at 8:03
Try setting the variable$JDK_HOME
, and exporting it similar to the other variables.
– slm♦
Mar 29 '14 at 12:48
add a comment |
I have java installed commandjava -version
showsjava version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
. Can you tell me how to change Tomcat configuration to let it find java
– UDB
Mar 29 '14 at 8:03
Try setting the variable$JDK_HOME
, and exporting it similar to the other variables.
– slm♦
Mar 29 '14 at 12:48
I have java installed command
java -version
shows java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
. Can you tell me how to change Tomcat configuration to let it find java– UDB
Mar 29 '14 at 8:03
I have java installed command
java -version
shows java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
. Can you tell me how to change Tomcat configuration to let it find java– UDB
Mar 29 '14 at 8:03
Try setting the variable
$JDK_HOME
, and exporting it similar to the other variables.– slm♦
Mar 29 '14 at 12:48
Try setting the variable
$JDK_HOME
, and exporting it similar to the other variables.– slm♦
Mar 29 '14 at 12:48
add a comment |
This path of JDK exist? Give more information about this JDK if you see this error message :
/usr/local/jdk1.8.0/jre/**bin/bin**/java
There are two /bin/bin maybe this is the error. If jdk exists, try to use this config:
Using JRE_HOME: /usr/local/jdk1.8.0/jre
add a comment |
This path of JDK exist? Give more information about this JDK if you see this error message :
/usr/local/jdk1.8.0/jre/**bin/bin**/java
There are two /bin/bin maybe this is the error. If jdk exists, try to use this config:
Using JRE_HOME: /usr/local/jdk1.8.0/jre
add a comment |
This path of JDK exist? Give more information about this JDK if you see this error message :
/usr/local/jdk1.8.0/jre/**bin/bin**/java
There are two /bin/bin maybe this is the error. If jdk exists, try to use this config:
Using JRE_HOME: /usr/local/jdk1.8.0/jre
This path of JDK exist? Give more information about this JDK if you see this error message :
/usr/local/jdk1.8.0/jre/**bin/bin**/java
There are two /bin/bin maybe this is the error. If jdk exists, try to use this config:
Using JRE_HOME: /usr/local/jdk1.8.0/jre
edited Mar 29 '14 at 1:14
slm♦
256k71544690
256k71544690
answered Mar 28 '14 at 23:55
ttuxttux
1
1
add a comment |
add a comment |
I was also facing same problem and found that is was because catalina.sh not figure out jre path. So solved by setting following path variables :
export JAVA_HOME="/usr/java/jdk1.8.0_25"
export JRE_HOME=/usr/java/jdk1.8.0_25/jre
add a comment |
I was also facing same problem and found that is was because catalina.sh not figure out jre path. So solved by setting following path variables :
export JAVA_HOME="/usr/java/jdk1.8.0_25"
export JRE_HOME=/usr/java/jdk1.8.0_25/jre
add a comment |
I was also facing same problem and found that is was because catalina.sh not figure out jre path. So solved by setting following path variables :
export JAVA_HOME="/usr/java/jdk1.8.0_25"
export JRE_HOME=/usr/java/jdk1.8.0_25/jre
I was also facing same problem and found that is was because catalina.sh not figure out jre path. So solved by setting following path variables :
export JAVA_HOME="/usr/java/jdk1.8.0_25"
export JRE_HOME=/usr/java/jdk1.8.0_25/jre
answered Nov 17 '14 at 8:18
Manish PrajapatiManish Prajapati
101
101
add a comment |
add a comment |
You should set JAVA_HOME=/usr/local/jdk1.8.0
or JRE_HOME=/usr/local/jdk1.8.0/jre
add a comment |
You should set JAVA_HOME=/usr/local/jdk1.8.0
or JRE_HOME=/usr/local/jdk1.8.0/jre
add a comment |
You should set JAVA_HOME=/usr/local/jdk1.8.0
or JRE_HOME=/usr/local/jdk1.8.0/jre
You should set JAVA_HOME=/usr/local/jdk1.8.0
or JRE_HOME=/usr/local/jdk1.8.0/jre
edited Feb 23 '15 at 9:11
PersianGulf
7,06343663
7,06343663
answered Feb 23 '15 at 8:05
vvshvvsh
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f122045%2fapache-tomcat-not-working%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
-centos, java, tomcat