I try not to enter passwords in versioned files and packed files. To do this, I cannot have context.xml (which contains database information) inside my project.
I am currently deploying my war file using Tomcat 7.0.35 Manager, because it allows you to specify the path to the context.xml file on the server.
All this works great, except that I have not found a way to do this in development from Netbeans 7.2.1. So when I try to run my project in Netbeans, I get the following message
In-place deployment at (...)/trace
(...)/trace/target/trace/META-INF/context.xml (No such file or directory)
Any help for setting up Netbeans or another way to accomplish my goal would be greatly appreciated.
clark source
share