• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Tomcat Manager and Admin Login

 
Ranch Hand
Posts: 300
Eclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i want to configure the admin and manager for the tomcat 5.5 that is installed on my machine, my tomcat path is
c:\Tomcat 5.5
i unziped the apache-tomcat-5.5.27-admin folder from http://tomcat.apache.org/download-55.cgi and copied \conf\Catalina\localhost\admin.xml file of unzipped apache-tomcat-5.5.27-admin folder in my c:\Tomcat 5.5\conf and also copied the admin folder present in the server\webapps\ of unzipped apache-tomcat-5.5.27-admin in my
C:\Tomcat 5.5\server\webapps
Now i could see the tomcat web server administration tool page which asks for username and password, on entering the username="admin" and password=""
it says Invalid username or password! in my tomcat users.xml file i have the entries as

<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="standard"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="administrator" password="ruquia" roles="admin,standard,manager"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="admin" password="" roles="admin,manager"/>
</tomcat-users>


i tried with all the username and passwords but it still says that invalid username and password.
any suggestions on this issue i need to install admin and manager console.
 
carina caoor
Ranch Hand
Posts: 300
Eclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i could solve this issue the realm that i was specifying in the server.xml file doesnot describe any role thats why it was taking that as null and was not allowing to login when i commented out the realm i could log into admin console.
<Realm className="org.apache.catalina.realm.JDBCRealm"
debug="99" driverName="net.sourceforge.jtds.jdbc.Driver"
connectionURL="jdbc:jtds:sqlserver://DCSRV02:1433/REGISTRATION_TEMP_LTR_PRINT;username=sa;password=water"
connectionName="sa" connectionPassword="water"
userTable="login1" userNameCol="loginname" userCredCol="password"


/>
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

You can see same topic at the side bar of this site. You can find out some thing same your questions.

Rgs
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic