Environment
NetIQ Access Manager 4.3.x
Situation
The tomcat server of the IDP does start but throws an error that it is unable to start the IDP. The stderr / catalina.out shows the following errors:
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/nidp]]
<snip>
Caused by: java.lang.IllegalArgumentException: The servlets named [com.novell.nidp.servlets.portalmenu.PortalMenuServlet] and [com.novell.nidp.servlets.portalmenu.PortalMenuServlet] are both mapped to the url-pattern [/portal/uiIcons.xml] which is not permitted
Resolution
Remove all duplicate nidp.jar files from the following folder:
When using Windows: 'c:\Program Files(x86)\Novell\Tomcat\webapps\nidp\WEB-INF\lib'
When using Linux: '/opt/novell/nids/lib/webapp/WEB-INF/lib'
When replacing one nidp.jar with another, remove the old JAR-file to another location e.g. c:\temp or /tmp, instead of renaming it into e.g. nidp-org.jar.
When using Windows: 'c:\Program Files(x86)\Novell\Tomcat\webapps\nidp\WEB-INF\lib'
When using Linux: '/opt/novell/nids/lib/webapp/WEB-INF/lib'
When replacing one nidp.jar with another, remove the old JAR-file to another location e.g. c:\temp or /tmp, instead of renaming it into e.g. nidp-org.jar.
Cause
When the nidp.jar file is just renamed, the /nidp service running on the Tomcat web-server will load both JAR files, which is causing the duplicate 'com.novell.nidp.servlets.portalmenu.PortalMenuServlet' trying to access the same URL '/portal/uiIcons.xml'