File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
PostGIS in Action
this week in the
JDBC and Relational Databases
Java Advanced Topics Training
Java in General
maven tomcat: cannot invoke tomcat manager
Joined: Dec 26, 2008
Feb 18, 2009 03:14:48
need some help here with
i got this error: cannot invoke tomcat manager when i try to deploy on tomcat using maven. I am new to maven and tomcat.
i tried searching for an answer and edited my tomcat-user.xml file and my setting.xml at maven. below are my xml files:
tomcat-user.xml for tomcat
<?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="manager"/> <role rolename="admin"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> <user username="manager" password="manager" roles="manager"/> <user username="admin" password="" roles="admin,manager"/> </tomcat-users>
setting.xml for maven
<servers> <server> <id>myserver</id> <username>manager</username> <password>manager</password> </server> </servers>
please give me advice for this problem. thank you very much
Joined: Dec 26, 2008
Feb 18, 2009 05:56:13
i tested with userid as "admin" and password = "" but it doesn't work either..... can someone please help me??? thank you
Author and all-around good cowpoke
Joined: Mar 22, 2000
Feb 18, 2009 07:28:40
1. You do know that the manager application is not part of the normal Tomcat download for security reasons, right? So how did you install it?
what was the error message and where did it show up?
I agree. Here's the link:
subject: maven tomcat: cannot invoke tomcat manager
username and password for tomcat manager
forget the tomcat credentials
HTTP Status 403
Can't Login as admin
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015