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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can Log into Tomcat

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please I know this simple for you Gurus for newbies like me am totally.

Am using Apache Tomcat 7 on Windows 7 (64 bit), my JDK 6.1 is 64 bit, my AT 7 is 64 bit, HOME_JAVA is set other AT wont start,

comments have been removed from the C:\apache-tomcat-7.0.19\conf\tomcat-users.xml
contents are:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<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>

Once just once Tomcat/Tomcat worked then nothing works again, I am totally convinced AT is not reading the tomcat-users.xml because when I rename and delete it, I get no error at all just the usual HTTP 401 error, please help, I have tried other forum but I guess they are not interested in simple questions.

P Lease help, I keep seeing comments about Realms but I don understand
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do not post the same question more than once. Please continue the discussion in your original topic.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic