Last Updated on

Issue Description:

You may observe an issue on browser after starting/restarting Transact Tomcat service stating “Invalid direct reference page seen, appears to happen”.

 

Component:

Tomcat

Root Cause:

This happens since tomcat keeps track of last requested resource and in this case there is no defined uri/landing page due to which 400 exception is thrown.

Solution:

  1. Open <Ephesoft>\Application\WEB-INF\web.xml
  2. Add following highlighted entry in web.xml

      <errorpage>

         <error-code>503</error-code>

         <location>/home.html</location>

     </errorpage>

    <errorpage>

        <error-code>400</error-code>

        <location>/home.html</location>

   </errorpage>

  1. Restart Ephesoft server.
  2. This way if 400 error appears then the user will be taken to home page and the next login attempt should be success as the url will contain proper requested resource.

 

Was this article helpful to you?

Abhishek Jain