telliers Absent Member.
Absent Member.
319 views

NAM 4.1.1 modif custom jsp pages missing after IDP restart


When a jsp file is modify more than 1 times, when we restart the IDP,
the initial page always come back.
All modifications are missing.

This is a fresh 4.1.1 installation. (no upgrade from 3.2 or 4.0)
In DEV, no change but this is an upgrade from 3.2 -> 4.0 -> 4.1.1


--
TellierS
------------------------------------------------------------------------
TellierS's Profile: https://forums.netiq.com/member.php?userid=2550
View this thread: https://forums.netiq.com/showthread.php?t=55761

0 Likes
2 Replies
telliers Absent Member.
Absent Member.

Re: NAM 4.1.1 modif custom jsp pages missing after IDP restart


Other info: if we remove the custom jsp file and we restart the IDP
service, the pages come back also !! Were is the cache??


--
TellierS
------------------------------------------------------------------------
TellierS's Profile: https://forums.netiq.com/member.php?userid=2550
View this thread: https://forums.netiq.com/showthread.php?t=55761

0 Likes
Knowledge Partner
Knowledge Partner

Re: NAM 4.1.1 modif custom jsp pages missing after IDP resta

TellierS;2426891 wrote:
Other info: if we remove the custom jsp file and we restart the IDP
service, the pages come back also !! Were is the cache??


--
TellierS
------------------------------------------------------------------------
TellierS's Profile: https://forums.netiq.com/member.php?userid=2550
View this thread: https://forums.netiq.com/showthread.php?t=55761


I had the same thing.

There is/was a bug in that version of NAM that would cause the behavior you describe (I had an SR open on it) and observed the same behavior. I believe it was fixed in 4.2.

For example, the docs tell you that if you want to CUSTOMIZE the login page, to place the customized .jsp files here:
/opt/novell/nids/lib/webapp/jsp

In the troubleshooting section:
https://www.netiq.com/documentation/access-manager-42/admin/data/b1caoduo.html#bkqw142


If you see pages that you have deleted or pages where your modifications have not been implemented:

Open the new custom file with a text editor to ensure it has a newer date than the compiled file.

If this does not solve the problem, continue with Step 3.b.

Delete the nidp directory in the Tomcat work directory on each Identity Server to recompile JSP pages.

Linux: /opt/novell/nam/idp/work/Catalina/localhosts/nidp


HOWEVER, the above is information from the 4.2 docs. I don't know if it applies to the 4.1.1 docs.

--Kevin
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.