MyIT- SmartIT consoles not accessible gives HTTP 404 ERROR

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MyIT Digital Workplace



    PROBLEM:

    We are unable to access any of the MyIT-SmartIT Consoles gives HTTP 404 error.

    If we access below URL's we get the 404 Error,

    http://<smartit-myitserver:port>/ux/myitapp
    http://<smartit-myitserver:port>/ux/console(till version 2.5) or http://<myitserver:port>/ux/admin (version 2.6 and above)
    http://<smartit-myitserver:port>/ux/smartit-it


    SOLUTION:

    Whenever you see HTTP 404 ERROR while accessing consoles always go and look for the errors in Tomcat logs which will give you information why 404 ERROR is caused.

    In this case from the tomcat logs below was the cause identified,

    =============
    Caused by: java.security.UnrecoverableKeyException: Password verification failed
    ... 27 more
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied.
    Jan 11, 2016 11:07:57 AM org.apache.catalina.core.NamingContextListener addResource
    WARNING: Failed to register in JMX: javax.naming.NamingException: ORA-01017: invalid username/password; logon denied

    Jan 11, 2016 11:07:57 AM org.apache.tomcat.jdbc.pool.ConnectionPool init
    WARNING: maxIdle is smaller than minIdle, setting maxIdle to: 10 Jan 11, 2016 11:07:57 AM org.apache.naming.NamingContext lookup
    WARNING: Unexpected exception resolving reference
    java.sql.SQLException: ORA-28000: the account is locked

    Jan 11, 2016 11:07:57 AM org.apache.catalina.core.NamingContextListener addResource
    WARNING: Failed to register in JMX: javax.naming.NamingException: ORA-28000: the account is locked

    Jan 11, 2016 11:08:14 AM org.apache.tomcat.jdbc.pool.ConnectionPool init
    WARNING: maxIdle is smaller than minIdle, setting maxIdle to: 10 Jan 11, 2016 11:08:15 AM org.apache.naming.NamingContext lookup
    WARNING: Unexpected exception resolving reference
    java.sql.SQLException: ORA-28000: the account is locked
    =============

    The error basically means user accounts are locked into the DB and you need to check with your DBA.

    For MyIT-SmartIT the DB connection details are registered in ux.xml located at "tomcat/conf/catalina/localhost/ux.xml"

    1.) Try connecting to the Smart-IT - MYIT DB using those credentials it will not allow to connect as user account is locked or credentials registered in ux.xml file are incorrect.

    In this case we unlocked the User SmartIT_System and SmartIT_Business and tried connecting to database which was then was successful however the URL was still not loading.

    We figured the login details in ux.xml file were incorrect.
    Corrected the same and restarted all SmartIT-MyIT services with which we were able to access and launch the consoles successfully and resolve HTTP 404 ERROR.


    Article Number:

    000101032


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles