Kuv yuav paub li cas yog Tomcat khiav ntawm Windows?
Kuv yuav paub li cas yog Tomcat khiav ntawm Windows?

Video: Kuv yuav paub li cas yog Tomcat khiav ntawm Windows?

Video: Kuv yuav paub li cas yog Tomcat khiav ntawm Windows?
Video: Install latest Version of Tomcat server in Windows 10 PC 2024, Kaum ib hlis
Anonim

Ib txoj kev yooj yim pom yog Tomcat khiav yog to kuaj yog tias muaj kev pabcuam mloog ntawm TCP chaw nres nkoj 8080 nrog rau netstat hais kom ua. Qhov no, ntawm chav kawm, tsuas yog ua haujlwm yog koj yog khiav Tomcat ntawm qhov chaw nres nkoj koj teev (nws qhov chaw nres nkoj 8080, piv txwv li) thiab tsis yog khiav lwm yam kev pabcuam ntawm qhov chaw nres nkoj.

Tsuas yog li ntawd, kuv yuav ua li cas thiaj paub yog Tomcat khiav?

Siv lub browser rau kuaj seb Tomcat tab tom khiav ntawm URL https://localhost:8080, qhov twg 8080 yog lub Tomcat chaw nres nkoj teev hauv conf/server.xml. Yog Tomcat tab tom khiav kom raug thiab koj teev tus yog qhov chaw nres nkoj, tus browser qhia lub Tomcat homepage.

Kuv yuav paub li cas yog Apache khiav ntawm Windows? 4 Teb

  1. Nqa tus thawj tswj haujlwm los ntawm nias Ctrl + Ua haujlwm + Esc.
  2. Mus rau Cov Txheej Txheem tab thiab txheeb los ntawm Duab Lub Npe. Hauv Server 2012, mus rau Cov Lus Qhia tab thiab xaiv los ntawm Lub Npe.
  3. Saib rau apache.exe (lossis httpd.exe) thiab tshawb xyuas Tus Neeg Siv Lub Npe.

Kuj nug, Kuv yuav ua li cas thiaj paub yog Tomcat tau nruab rau ntawm Windows?

Koj ua tau kuaj server.xml cov ntaub ntawv hauv conf folder rau cov ntaub ntawv chaw nres nkoj. Koj tuaj yeem tshawb nrhiav yog tomcat raug ntsia ntawm koj lub tshuab. Cia li mus pib thiab ces ntaus ntawv tomcat . Yog nws yog ntsia nws yuav muab koj cov directory qhov twg nws yog ntsia.

Kuv yuav ua li cas kom Tomcat khiav hauv keeb kwm yav dhau?

Rau nres Tomcat khiav raws li Windows Services, OpenWindows Control Vaj Huam Sib Luag. Nrhiav qhov kev pabcuam "Apache Tomcat "thiab Nres nws. Lwm txoj kev yog tua cov txheej txheem khiav ntawm qhov chaw nres nkoj 8080 siv cmd.

Kuv daws qhov teeb meem no:

  1. mus rau hauv lub tomcat los ntawm sai.
  2. pib startup.bat.
  3. pib shutdown.bat.
  4. pib tomcat los ntawm dab noj hnub.

Pom zoo: