Hi,

we're running the UserApp 3.0.1 as a password self-service portal for
our users for some years now. Somehow we have a strange Exception as
soon as we restart the LDAP (eDirectory) server that is referenced in
the configuration. The restart just takes some seconds - so the timeout
for the Connection (5 minutes) cannot be reached...

it seems like an unhandled exception while reconnecting to the
eDirectory - from the stack trace we see the following:


Caused by: java.lang.NullPointerException
at com.sun.jndi.ldap.LdapClient.usingSaslStreams(Unkn own Source)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.reconnect(Unknown Source)
at javax.naming.ldap.InitialLdapContext.reconnect(Unk nown Source)
at
com.sssw.fw.directory.core.EboLdapContextProxyHand ler.doReconnect(EboLdapContextProxyHandler.java:13 8)


Is it possible to specify multiple LDAP servers (we have three
eDirectory replicas / LDAP servers available) for the UserApp? The
documentation
(<http://www.novell.com/documentation/idm35/install/index.html?page=/documentation/idm35/install/data/front.html>)
only shows the option to set one single eDirectory - even for
clustered UserApp setups?

Is there any other way to fix the error shown above? Below I attached
the content of the error page that the users get as soon as we restart
the eDirectory service... we use 636 (LDAPS) for connecting to the host,
as you can see from the stack trace...

Thanks in advance for any help!


Status Code
500
Exception Type
class com.novell.afw.portal.exception.EboPortletActionEx ception

Message
PortletContainerImpl: Portlet wurde nicht ausgeführt: 'IDMLoginPortlet''.

Exception
com.novell.afw.portal.exception.EboPortletActionEx ception:
PortletContainerImpl: Portlet wurde nicht ausgeführt: 'IDMLoginPortlet''.

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionHelper.handlePortletActionException(EboPortalA ggregationHelper.java:2107)

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.checkAndHandleActionURLType(Ebo PortalAggregationControllerImpl.java:2409)

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.initiateRendering(EboPortalAggr egationControllerImpl.java:1621)

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.initiateRendering(EboPortalAggr egationControllerImpl.java:1501)

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.renderPortalResponse(EboPortalA ggregationControllerImpl.java:790)

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.handlePortalContainerRequest(EboPortal AggregationServlet.java:755)

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.callService(EboPortalAggregationServle t.java:353)

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.doPost(EboPortalAggregationServlet.jav a:133)

at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)

at javax.servlet.http.HttpServlet.service(HttpServlet .java:810)

at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)

at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)

at
com.novell.afw.portal.l18n.CharacterEncodingFilter .doFilter(CharacterEncodingFilter.java:145)

at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)

at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)

at
com.novell.afw.portal.xforms.EboXFormClientDetecti onFilter.doFilter(EboXFormClientDetectionFilter.ja va:101)

at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)

at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)

at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:81)

at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)

at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)

at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)

at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)

at
org.jboss.web.tomcat.security.CustomPrincipalValve .invoke(CustomPrincipalValve.java:39)

at
org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:159)

at
org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:59)

at
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)

at
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)

at
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)

at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)

at
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:856)

at
org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:744)

at
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)

at
org.apache.tomcat.util.net.MasterSlaveWorkerThread .run(MasterSlaveWorkerThread.java:112)

at java.lang.Thread.run(Unknown Source)

Caused by: com.sssw.fw.exception.EboRuntimeException:
PortletContainerImpl: Portlet wurde nicht ausgeführt: 'IDMLoginPortlet''.

at
com.novell.afw.portlet.core.EboPortletContainer.pr ocessOperation(EboPortletContainer.java:650)

at
com.novell.afw.portlet.core.EboPortletContainer.pr ocessOperation(EboPortletContainer.java:548)

at
com.novell.afw.portlet.core.EboPortletContainer.pe rformBlockingInteraction(EboPortletContainer.java: 209)

at
com.novell.afw.portlet.consumer.core.EboPortletCon sumerContainer.processOperation(EboPortletConsumer Container.java:298)

at
com.novell.afw.portlet.consumer.core.EboPortletCon sumerContainer.performBlockingInteraction(EboPortl etConsumerContainer.java:154)

at
com.novell.afw.portal.proxy.EboPortletContainerPro xy.performBlockingInteraction(EboPortletContainerP roxy.java:177)

at
com.novell.afw.portal.aggregation.EboPortletProxyH elper.callPortletActionRequest(EboPortletProxyHelp er.java:518)

at
com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.checkAndHandleActionURLType(Ebo PortalAggregationControllerImpl.java:2382)

.... 33 more

Caused by: java.lang.NullPointerException

at com.sun.jndi.ldap.LdapClient.usingSaslStreams(Unkn own Source)

at com.sun.jndi.ldap.LdapCtx.ensureOpen(Unknown Source)

at com.sun.jndi.ldap.LdapCtx.ensureOpen(Unknown Source)

at com.sun.jndi.ldap.LdapCtx.reconnect(Unknown Source)

at javax.naming.ldap.InitialLdapContext.reconnect(Unk nown Source)

at
com.sssw.fw.directory.core.EboLdapContextProxyHand ler.doReconnect(EboLdapContextProxyHandler.java:13 8)

at
com.sssw.fw.directory.core.EboLdapContextProxyHand ler.reconnect(EboLdapContextProxyHandler.java:114)

at
com.sssw.fw.directory.core.EboLdapContextProxyHand ler.invoke(EboLdapContextProxyHandler.java:91)

at $Proxy51.search(Unknown Source)

at
com.sssw.fw.persist.jndi.impl.EboJndiDataAccessor. findSearchResults(EboJndiDataAccessor.java:264)

at
com.sssw.fw.persist.jndi.impl.EboJndiPersistencePr ovider.findSearchResults(EboJndiPersistenceProvide r.java:134)

at
com.sssw.fw.server.ldap.realm.EboJndiLdapRealm.get RealmUser(EboJndiLdapRealm.java:515)

at
com.sssw.fw.server.ldap.realm.EboJndiLdapRealm.aut hUserPassword(EboJndiLdapRealm.java:705)

at
com.sssw.fw.server.ldap.realm.EboJndiLdapCachingRe alm.authUserPassword(EboJndiLdapCachingRealm.java: 166)

at
com.sssw.fw.directory.core.EboDirectoryManager.aut hUserPassword(EboDirectoryManager.java:287)

at
com.novell.srvprv.impl.portlet.core.IDMLoginPortle t.loginDirectorRealm(IDMLoginPortlet.java:768)

at
com.novell.srvprv.impl.portlet.core.IDMLoginPortle t.loginUser(IDMLoginPortlet.java:1275)

at
com.novell.srvprv.impl.portlet.core.IDMLoginPortle t.processAction(IDMLoginPortlet.java:537)

at
com.novell.afw.portlet.core.EboPortletContainer.pr ocessOperation(EboPortletContainer.java:636)

.... 40 more

Root Cause











Header List

Name
Value

accept-language
de-de

accept-encoding
gzip, deflate

cookie
JSESSIONID=AE521962062217C4905174757C76A3F3

referer

https://benutzer-portal.gwdg.de/IDM/...OESTERNWelcome

user-agent
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; de-de)
AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.18

content-type
application/x-www-form-urlencoded

accept

text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

content-length
22

connection
keep-alive

host
benutzer-portal.gwdg.de









Attribute List

javax.servlet.forward.request_uri
/IDM/portal/cn/GuestContainerPage/GOESTERNWelcome

javax.servlet.forward.context_path
/IDM

javax.servlet.forward.servlet_path
/portal

javax.servlet.forward.path_info
/jsps/error.jsp

javax.servlet.forward.query_string

urlType=Action&novl-inst=ea04675933724c8c960017ab9aa845c6&wsrp-mode=view&wsrp-windowstate=normal

NOVELL_AGGREGATION_ERROR_LINK
/IDM/portal/cn/GuestContainerPage/GOESTERNWelcome

javax.servlet.error.status_code
500

NOVELL_AGGREGATION_ERROR_LINK_MSG
zurück zu Standard

javax.servlet.error.exception_type
class com.novell.afw.portal.exception.EboPortletActionEx ception

javax.servlet.error.servlet_name
PortalAggregator

javax.servlet.request.key_size
0

javax.portlet.container.EbiRequestContext
com.sssw.portal.core.EboPortalContext@e3ff04

javax.servlet.request.ssl_session
482aad47a4f630aa2f8fcc4dbce50deb52a6c5d2ba3a335ea4 caeda94592ff3d

javax.servlet.error.message
PortletContainerImpl: Portlet wurde nicht ausgeführt: 'IDMLoginPortlet''.

NOVELL_AGGREGATION_ERROR
PortletContainerImpl: Portlet wurde nicht ausgeführt: 'IDMLoginPortlet''.

javax.servlet.request.cipher_suite
TLS_RSA_WITH_AES_128_CBC_SHA

javax.servlet.error.exception
com.novell.afw.portal.exception.EboPortletActionEx ception:
PortletContainerImpl: Portlet wurde nicht ausgeführt: 'IDMLoginPortlet''.

javax.servlet.error.request_uri
/IDM/portal/cn/GuestContainerPage/GOESTERNWelcome