简体   繁体   中英

I do not have the catalina directory in the Tomcat folder. In this case where can i find application specific context.xml file?

I have two projects with working server as Tomcat . From their website ,I came to know that application specific context.xml files are located inside the catalina/localhost directory.

I do not have the catalina directory in the Tomcat folder. I have installed Tomcat with netbeans. In this case where can I locate the context.xml for each application ?

在此处输入图片说明

Note : This question may be linked to this question but they are different

I'm not sure with your question, but if you are referring to each specific application folder, you can find it under :

work\Catalina\localhost\{yourappwebcontext}

Otherwise you are referring to $CATALINA_HOME or $CATALINA_BASE which is actually your tomcat installation path. You can set this in your environment variables also, ie :

c:/program files/apacheTomcatFoundation/ApacheTomcat7.0.22

the website says In the $CATALINA_BASE/conf/[enginename]/[hostname]/context.xml.default file: the Context element information will be loaded by all webapps of that host. I do not have engine name in the conf directory

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM