Tomcat teeb tsa muaj pes tsawg lub valve?
Tomcat teeb tsa muaj pes tsawg lub valve?

Video: Tomcat teeb tsa muaj pes tsawg lub valve?

Video: Tomcat teeb tsa muaj pes tsawg lub valve?
Video: F-14 Tomcat: An Endangered Species 2024, Kaum ib hlis
Anonim

Valves yog tus tswv rau Tomcat thiab tsis tuaj yeem, lub sijhawm no, siv rau hauv lub thawv sib txawv / JSP. Ntawm kev sau ntawv no, Tomcat los teeb tsa nrog plaub li qub : Access Log. Chaw Nyob Chaw Taws Teeb Lim.

Dhau li ntawd, Tomcat configuration file yog dab tsi?

XML Configuration Files . Qhov thib ob tseem ceeb tshaj plaws configuration files kom tau Tomcat nce thiab khiav yog hu ua server. xml thiab web. xml. Los ntawm lub neej ntawd, cov no cov ntaub ntawv nyob ntawm TOMCAT -HIM / conf / server.

Qhov thib ob, txoj kev tag nrho ntawm Tomcat nkag mus rau cov ntaub ntawv yog dab tsi? Los ntawm default, lub Tomcat HTTP Nkag mus log tau khaws cia hauv dotserver / tomcat -X.x/ cov ntaub ntawv / folder hauv dotCMS faib, thiab cov cov ntaub ntawv muaj npe dotcms_access. YYYY-MM-DD. log , qhov twg YYYY-MM-DD hauv lub ntaub ntawv lub npe yog hloov los ntawm hnub tim log ntaub ntawv.

Ib yam li ntawd, Tomcat tuaj yeem thov ntau npaum li cas?

200

Tomcat server ua haujlwm li cas?

Thaum ib daim ntawv thov web raug xa mus rau tomcat , tomcat scans lub Webapp, nyeem nws cov deployment descriptor (web. xml los yog qhov sib npaug) thiab txiav txim siab tias Servlets (thiab JSPs) yuav tsum tau deployed thiab ua kom muaj. Txawm li cas los xij yog qhov zoo txaus kom nkag siab li cas koj lub servlet ua haujlwm thiab leej twg khiav nws rau koj.

Pom zoo: