aspose file tools*
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "linux and tomcat" Watch "linux and tomcat" New topic
Author

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
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

Joined: Jan 10, 2002
Posts: 61766
    
  67

Have you tried without netbeans?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

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: http://aspose.com/file-tools
 
subject: linux and tomcat