Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

linux and tomcat

 
John Gregory
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks,

John
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64858
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried without netbeans?
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
netbeans has its own, internal tomcat. Are you talking to it? or another tomcat running alone? or a tomcat glued to Apache?

Or all three at once?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic