My tomcat is not working, it just opens and closes when I click on tomcat7.exe

I install tomcat 7 on my PC, it works in eclipse, but when I try to open in bin / tomcat7. ex, it just opens and closes, (I stop the server in eclipse), also, in eclipse I try to open the admin console, like URL: (localhost: 1234 / admin), it shows error 404, can any authority know this problem, please help me..

+4
source share
8 answers

If you are using Windows, you can follow these steps to run "tomcat7.exe":

  • Open command prompt (cmd)
  • Set JAVA_HOME or JRE_HOME. For instance. set JRE_HOME = C: \ Program Files \ Java \ jre7
  • . . cd C:\Program Files\apache-tomcat-7.0.35\bin
  • startup.bat. . .

tomcat Eclipse.

+8

: 1. . ( ). 2. (..\apache-tomcat-8.0.27\bin) startup.bat 3. , , .

, , . 1. tomcat Eclipse. 2. , server.xml, , . [ netstat] 3. , 80XX.

, localhost: ( http), server.xml -.

.

+3

Tomcat, EXE, .
startup.bat , shutdown.bat .
, -. , , . , , .
, exe.

+1

JAVA_HOME JRE_HOME System environment. JAVA_HOME JRE_HOME , JRE, , JDK, JAVA_HOME. - , JDK, . JDK JRE.

+1

32-/64- Windows (pgp, md5) tomcat, , tomcat , tomcat tomcat.

0

tomcat7 , JAVA_PATH JDK_PATH , "Program Files (x86)". , JDK .

0

JAVA_HOME JRE_HOME ; ... ... ; tomcat, cmd ( tomcat..bin).

0

jar catilana.bat, , . Tomcat , catilana.bat

0

Source: https://habr.com/ru/post/1534409/


All Articles