This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm trying to deploy a simple hello world webapp to tomcat through netbeans. I'm running ubuntu 8.x. I'm getting the following error:
Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager. When I googled this, it seemed that I need to create a user in the tomcat-users.xml file. I've done this and it is pasted below: <user username="jjgrego" password="copycat" roles="manager,admin"/>
However, I've bounced the server and it still shows the error. Does anyone have any ideas on how to fix this?