Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

Article Number: 000171657


ViPR SRM | Watch4net: Tomcat logs showing ws-user failing log in continuously

Summary: Tomcat logs showing ws-user failing log in continuously, due to missing user or wrong password

Article Content


Symptoms



Tomcat Catalina Logs are showing:    
/opt/APG/Web-Servers/Tomcat/Default/logs/
WARNING: User ws-user failed to authenticate.
Jul 01, 2018 11:08:53 AM com.watch4net.apg.v2.gui.tomcat.LoggingValve logError
SEVERE: Attempt to login to tomcat realm as 'ws-user' has failed from 'XX.XX.XX.XXX'.
Jul 01, 2018 11:08:53 AM com.watch4net.apg.v2.gui.tomcat.impl.MasterRealmImpl authenticate
WARNING: User ws-user failed to authenticate.
Jul 01, 2018 11:08:53 AM com.watch4net.apg.v2.gui.tomcat.LoggingValve logError
SEVERE: Attempt to login to tomcat realm as 'ws-user' has failed from 'XX.XX.XX.XXX'.
Jul 01, 2018 11:08:53 AM com.watch4net.apg.v2.gui.tomcat.impl.MasterRealmImpl authenticate
WARNING: User ws-user failed to authenticate.
Jul 01, 2018 11:08:53 AM com.watch4net.apg.v2.gui.tomcat.LoggingValve logError
SEVERE: Attempt to login to tomcat realm as 'ws-user' has failed from 'XX.XX.XX.XXX'.
Jul 01, 2018 11:08:53 AM com.watch4net.apg.v2.gui.tomcat.impl.MasterRealmImpl authenticate

Cause

ws-user is missing from the Users database as confirmed from (Administration > Users)

Resolution

  1. Create User "ws-user" 
    1. From Administration > Users > New User- User Login: ws-user
    2. Password: changeme
    3. User Status, Assign the role 'Web Service Role'
    4. Save, and Restart Tomcat
  2. Update the Frontend Webservice username and password on all the Services
    1. From Centralized Management > Central Configuration Repository > Frontend Webservice
    2. Renter the Username and Password as above and Save
Note: Ideally all services should be using same config for Frontend Webservice so there should be only one entry with the details:    
Tomcat Hostname: FQDN of frontend host
Tomcat Port: 58080 or 58443
Tomcat communication protocol: HTTP or HTTPS
Username: ws-user
Password: changeme
Frontend Webservice Instance name: APG-WS

Article Properties


Product

SRM

Last Published Date

20 Nov 2020

Version

2

Article Type

Solution