Custom login and/or logout pages not being displayed

  • 3725467
  • 06-Jul-2007
  • 26-Apr-2012

Environment


Novell Access Management 3 Linux Novell Identity Server
Novell Access Management 3 Linux Access Gateway
Novell Access Management 3 Netware Access Gateway
Novell Access Management 3 Access Administration

Situation

Custom login and/or logout pages have been created, and copied to the appropriate directories:

Access Gateway:
/var/opt/novell/tomcat4/webapps/nesp/jsp
Identity Server:
/var/opt/novell/tomcat4/webapps/nidp/jsp
In the case of a custom login page, the class, method, and contract have been added to a custom contract, and the class 'JSP' property points to the custom JSP page created.

When the pages are accessed, the old pages are still displayed.

Resolution

Whenever changes are made to the login and logout pages, the Tomcat server needs to be restarted. After running /etc/init.d/novell-tomcat4 restart, the new pages should be used. However, if they are not being displayed, the old pages may need to be removed to force the new ones to be used.

The pages in the /var/opt/novell/tomcat4/webapps/nesp/jsp and /var/opt/novell/tomcat4/webapps/nidp/jsp directories are not the actual pages being served. When you restart Tomcat, the actual pages used are generated elsewhere. Removing these pages and then restarting Tomcat will force it to re-read the login and logout jsp's and recreate the pages.

The pages that should be removed are located in the following directories:

Identity Server login pages:
/var/opt/novell/tomcat4/work/Standalone/localhost/nidp/jsp/customlogin_jsp.class
/var/opt/novell/tomcat4/work/Standalone/localhost/nidp/jsp/customlogin_jsp.java
(where "customlogin" is the name of the customized login page as specified in the class 'JSP' property)
Identity Server logout pages:
/var/opt/novell/tomcat4/work/Standalone/localhost/nidp/jsp/logoutSuccess_jsp.class
/var/opt/novell/tomcat4/work/Standalone/localhost/nidp/jsp/logoutSuccess_jsp.java
Access Gateway logout pages:
/var/opt/novell/tomcat4/work/Standalone/localhost/nesp/jsp/logoutSuccess_jsp.class
/var/opt/novell/tomcat4/work/Standalone/localhost/nesp/jsp/logoutSuccess_jsp.java
After deleting these files and running /etc/init.d/novell-tomcat4
restart, the new pages should now be displayed.