I've just bought an iMac and would like to start programming on it. But I can't configure Tomcat and Netbeans to work together. I installed Tomcat and it seems it is working. But when I try to build a web application, netbeans ask all the time my user name and password. I already configured the user.xml but it's not working.
Can anyone give a tip?
Cheers
I had the same issue and I followed @Raph's answer and it worked. After that, I had another issue, Netbeans returned this error message:
Deployment error: Starting of Tomcat failed, check whether the /Applications/Tomcat/bin/catalina.sh and related scripts are executable
To solve this, in terminal, I navigated to tomcat-folder/bin and executed:
chmod 755 *.sh
And it solved my issue, cause it made the scripts executable.
Add a new Tomcat server is quite easy on NB. No "install" as a traditional sense needed to do that:
This is a good way to configure as many servers as you want, and easily configure its access and management data.
I hope it helps.
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