I have just installed the NetBeans IDE in Linux RHEL6.
I have to create an XML file for my Java application in conf/Catalina/localhost/something.xml
The problem is, there are two Apache Tomcats.
The first one is the one which is used as CATALINA_BASE in /home/../.netbeans/7.3.1/apache-tomcat-7.0.34.0_base the one contains the Catalina/localhost in the conf folder. But if I insert something.xml in that directory, nothing will happen.
So, I thought that I must insert something.xml into the second Apache Tomcat /usr/local/apache-tomcat-7.0.34 with the CATALINA_HOME. But I cannot find Cataline/localhost in the conf directory. I have tried to start Tomcat manually using ./startup.sh and from NetBeans, but still the Catalina/localhost cannot be found in that directory.
How to solve this?
Thank you!
If all you want is to create something.xml in correct location then all you should do is this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With