Hello,

I have a urgent problem to solve with ZCM and LDAPs.

Basically, ZCM lost the connexion with the LDAPs servers in a random way. After a few seconds connection is back.

Here is my test lab:

- Windows 2008 RC2 and ZCM 10 SP3 RC1
- SLES 11 and ZCM 10 SP3 Beta 3

Two servers and two zones.

I've never seen the problem with an AD source using SSL before.

With eDirectory, I tried to use a Netware 6.5 SP8 and SLES servers with eDirectory 8.8.

A ndsrace shows the following errors:

TLS shutdown failure 5 on connection 0x15986c0, setting err = -5875. Error stack:
TLS shutdown failure 5 on connection 0x87bc000, setting err = -5875. Error stack:
TLS shutdown failure 5 on connection 0x4e1b680, setting err = -5875. Error stack:
BIO ctrl called with unknown cmd 7
Cannot resolve NDS name 't=TSTREE' in ResolveAndAuthNDSName, err = no such entry (-601)


ZCM.LOG shows the following messages:


09 mars 2010 17:14:01

Exception Info:
09 mars 2010 17:14:01 Class....... com.novell.zenworks.datamodel.exceptions.Authorita tiveSourceConnectionException
09 mars 2010 17:14:01 Message..... javax.naming.CommunicationException: connection closed [Root exception is java.io.IOException: connection closed]; remaining name ''
09 mars 2010 17:14:01 Logged at... BundleAssignmentDe..520
09 mars 2010 17:14:01 ============== Exception (end) =============================
09 mars 2010 17:14:12 BundleAssignmentDe..642 :Target Type:com.novell.zenworks.wakeonlan.TargetsType={_T arget=[Lcom.novell.zenworks.wakeonlan.TargetType;@1dedf97 }--Server GUIDs:null--Broadcast Addresses:null----Action Type:PROCESS_WOL_TASKTimeout:2--Retries:1
09 mars 2010 17:14:16 BundleAssignmentDe..642 :Target Type:com.novell.zenworks.wakeonlan.TargetsType={_T arget=[Lcom.novell.zenworks.wakeonlan.TargetType;@1a518c6 }--Server GUIDs:null--Broadcast Addresses:null----Action Type:PROCESS_WOL_TASKTimeout:2--Retries:1
09 mars 2010 17:14:22 BundleAssignmentDe..642 :Target Type:com.novell.zenworks.wakeonlan.TargetsType={_T arget=[Lcom.novell.zenworks.wakeonlan.TargetType;@3987d9}--Server GUIDs:null--Broadcast Addresses:null----Action Type:PROCESS_WOL_TASKTimeout:2--Retries:1
09 mars 2010 17:18:31 MessageUtil..........85 :Error: Attempt to forward user to object details page failed.
09 mars 2010 17:18:31 ============== Exception (begin) ===========================
09 mars 2010 17:18:31 Exception occured
com.novell.zenworks.datamodel.exceptions.Authorita tiveSourceConnectionException: javax.naming.CommunicationException: connection closed [Root exception is java.io.IOException: connection closed]; remaining name ''
at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. handleSearchException(LDAPUtil.java:1041)
at com.novell.zenworks.datamodel.session.jndi.ldap.Ld apAuthoritativeSourceSession.search(LdapAuthoritat iveSourceSession.java:1665)
at com.novell.zenworks.datamodel.session.jndi.ldap.Ld apAuthoritativeSourceSession.searchForObject(LdapA uthoritativeSourceSession.java:1521)
at com.novell.zenworks.datamodel.session.jndi.ldap.Ld apAuthoritativeSourceSession.searchForObject(LdapA uthoritativeSourceSession.java:1436)
at com.novell.zenworks.datamodel.session.jndi.ldap.Ld apAuthoritativeSourceSession.getBasicObject(LdapAu thoritativeSourceSession.java:873)
at com.novell.zenworks.datamodel.services.authsources .AuthoritativeSourceServiceImpl.getBasicObject(Aut horitativeSourceServiceImpl.java:215)
at com.novell.zenworks.datamodel.services.users.UserA dminImpl.getBasicObject(UserAdminImpl.java:269)
at com.novell.zenworks.fw.web.util.PageUtil.showDetai lsPage(PageUtil.java:638)
at com.novell.zenworks.core.web.objects.ObjectListEdi tor.objectLink_ViewDetails(ObjectListEditor.java:2 447)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.novell.web.controls.WebControl.fireEvent(WebCo ntrol.java:1977)
at com.novell.web.controls.WebControl.fireEvent(WebCo ntrol.java:1952)
at com.novell.zenworks.core.web.objects.ObjectLink.ob jectNameLink_Command(ObjectLink.java:620)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.novell.web.controls.WebControl.fireEvent(WebCo ntrol.java:1977)
at com.novell.web.controls.BasePostbackControl.fireCo mmand(BasePostbackControl.java:462)
at com.novell.web.controls.LinkButton.raisePostBackEv ent(LinkButton.java:276)
at com.novell.web.controls.Page.raisePostBackEvent(Pa ge.java:885)
at com.novell.web.controls.Page.raisePostBackEvents(P age.java:872)
at com.novell.web.controls.Page.internalProcessReques t(Page.java:584)
at com.novell.web.controls.Page.processRequest(Page.j ava:528)
at com.novell.zenworks.fw.web.internal.layout.Index.p rocessRequest(Index.java:518)
at com.novell.web.internal.controls.PageTag.doEndTag( PageTag.java:86)
at org.apache.jsp.jsp.index_jsp._jspService(index_jsp .java:178)
at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:364)
at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:301)
at com.novell.web.NJWCServlet.serviceImpl(NJWCServlet .java:97)
at com.novell.zenworks.fw.web.internal.ZENworksServle t.service(ZENworksServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188)
at com.patchlink.sapphire.web.pages.vulnerability.ses sion.HibernateSessionFilter.doFilter(HibernateSess ionFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:174)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:108)
at com.novell.zenworks.tomcat.ZENRequestValve.invoke( ZENRequestValve.java:1128)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.CommunicationException: connection closed [Root exception is java.io.IOException: connection closed]; remaining name ''
at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:19 86)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1 830)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:17 55)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_sea rch(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:338)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:321)
at com.novell.zenworks.datamodel.session.jndi.ldap.Na mingEnumerationPart.<init>(NamingEnumerationPart.j ava:115)
at com.novell.zenworks.datamodel.session.jndi.ldap.Na mingEnumerationPart.<init>(NamingEnumerationPart.j ava:171)
at com.novell.zenworks.datamodel.session.jndi.ldap.Ld apAuthoritativeSourceSession.search(LdapAuthoritat iveSourceSession.java:1643)
... 62 more
Caused by: java.io.IOException: connection closed
at com.sun.jndi.ldap.LdapClient.ensureOpen(LdapClient .java:1559)
at com.sun.jndi.ldap.LdapClient.search(LdapClient.jav a:505)
at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:19 68)
... 70 more

I really need to solve this issue before ZCM comes into production mode.

Thanks in advance.