prx69 Posted October 14, 2010 Share Posted October 14, 2010 Hi,may be an obvious question, I did not find anywhere what is the user and password of Tomcat Manager installed with the embedded Tomcat of CE installer.bin ?there is no file of tomcat-usersthanks in advance.William Link to comment Share on other sites More sharing options...
cyberdemos Posted January 10, 2011 Share Posted January 10, 2011 prx69Wrote: Hi, may be an obvious question, I did not find anywhere what is the user and password of Tomcat Manager installed with the embedded Tomcat of CE installer.bin ? there is no file of tomcat-users thanks in advance. William It's not so obvious because i've the same problem...There's anyone who knows how to access into Tomcat Manager?Thank you in advance. Link to comment Share on other sites More sharing options...
ramnik Posted January 12, 2011 Share Posted January 12, 2011 the tomcat-users.xml file can be found under {jasperserver_install}\apache-tomcat\confBy default , all users are commented out in that file see details from file <tomcat-users><!-- NOTE: By default, no user is included in the "manager" role required to operate the "/manager" web application. If you wish to use this app, you must define such a user - the username and password are arbitrary.--><!-- NOTE: The sample user and role entries below are wrapped in a comment and thus are ignored when reading this file. Do not forget to remove <!.. ..> that surrounds them.--><!-- <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/>--></tomcat-users> Link to comment Share on other sites More sharing options...
cyberdemos Posted January 13, 2011 Share Posted January 13, 2011 ramnikWrote: the tomcat-users.xml file can be found under {jasperserver_install}apache-tomcatconf By default , all users are commented out in that file see details from file <tomcat-users> <!-- NOTE: By default, no user is included in the "manager" role required to operate the "/manager" web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. --> <!-- NOTE: The sample user and role entries below are wrapped in a comment and thus are ignored when reading this file. Do not forget to remove <!.. ..> that surrounds them. --> <!-- <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> --> </tomcat-users> Hi and thank you for your answer.Unfortunately this file is not present in bundled Jasperserver-CE 3.7.1 TOMCAT and so i tryed to create it in the path you mentioned in following way:<?xml version='1.0' encoding='utf-8'?><tomcat-users> <role rolename="dbadmin"/> <role rolename="manager"/> <user username="admin" password="admin" roles="dbadmin,manager"/> <user username="manager" password="manager" roles="manager"/></tomcat-users>When i try to access from Tomcat Login page (http://localhost:8080/) but with no success.Administration page returns a message "Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it.While manager page doesn't accept manager/manager user.How can i proceed? Thank you in advance. Link to comment Share on other sites More sharing options...
cyberdemos Posted January 13, 2011 Share Posted January 13, 2011 SOLVED.I downloaded TOMCAT with same version overriding bundled version in Jasperserver CE.Then i modified tomcat-user.xml as above and now manager login is all right.Bye all! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now