Jump to content
Changes to the Jaspersoft community edition download ×

Tomcat Manager user / paswd ?


prx69

Recommended Posts

  • 2 months later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

prx69
Wrote:
 

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

the tomcat-users.xml file can be found under {jasperserver_install}\apache-tomcat\conf

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>

Link to comment
Share on other sites

ramnik
Wrote:
 

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...