File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes linux and tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "linux and tomcat" Watch "linux and tomcat" New topic

linux and tomcat

John Gregory
Ranch Hand

Joined: Oct 05, 2006
Posts: 118
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

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?


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

Have you tried without netbeans?

[Asking smart questions] [About Bear] [Books by Bear]
Pat Farrell

Joined: Aug 11, 2007
Posts: 4659

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?
I agree. Here's the link:
subject: linux and tomcat
It's not a secret anymore!