[ https://issues.apache.org/jira/browse/GERONIMO-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Song closed GERONIMO-3383. -------------------------- Fixed > "Connect" button on LDAP Viewer portlet just listens on port "1389" ,not > 10389 > ------------------------------------------------------------------------------- > > Key: GERONIMO-3383 > URL: https://issues.apache.org/jira/browse/GERONIMO-3383 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: console > Affects Versions: 2.0-M5 > Environment: Windows xp sp2 x86-32 > Reporter: Song > Assignee: Jarek Gawor > Fix For: 2.0.x, 2.1 > > > Under LDAP portlet, after input Host "localhost",port "10389" and User DN, > click "Connect" > button, a window pops up prompting: (Note: ApacheDS is running on localhost > and listening on port 10389) > > Error: Problem connecting to directory server: localhost:1389 > ** Make sure LDAP Server i srunning and /or connection properties are correct > > And,The below error can be found in the server.log: > --------------------------------------------------------------- > 14:48:08,359 WARN [ExecuteQuery] Method execution failed: > java.lang.Exception: Problem connecting to directory server: localhost:1389 > at > org.apache.geronimo.console.ldapmanager.LDAPManagerHelper.<init>(LDAPManagerHelper.java:113) > at java.lang.Class.newInstanceImpl(Native Method) > at java.lang.Class.newInstance(Class.java:1300) > at uk.ltd.getahead.dwr.create.NewCreator.getInstance(NewCreator.java:59) > at uk.ltd.getahead.dwr.impl.ExecuteQuery.execute(ExecuteQuery.java:181) > at > uk.ltd.getahead.dwr.impl.DefaultExecProcessor.handle(DefaultExecProcessor.java:48) > at > uk.ltd.getahead.dwr.impl.DefaultProcessor.handle(DefaultProcessor.java:81) > at > uk.ltd.getahead.dwr.AbstractDWRServlet.doPost(AbstractDWRServlet.java:162) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.geronimo.console.servlet.ForwardDispatchFilter.doFilter(ForwardDispatchFilter.java:59) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) > at > org.apache.geronimo.console.servlet.ContextForwardServlet.doPost(ContextForwardServlet.java:71) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) > at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:351) > at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > at java.lang.Thread.run(Thread.java:801) > 14:48:08,359 WARN [DefaultExecProcessor] Erroring: id[4549_1186469287343] > [EMAIL PROTECTED] > 14:48:16,515 WARN [ExecuteQuery] Method execution failed: > java.lang.Exception: Problem connecting to directory server: localhost:1389 > at > org.apache.geronimo.console.ldapmanager.LDAPManagerHelper.<init>(LDAPManagerHelper.java:113) > at java.lang.Class.newInstanceImpl(Native Method) > at java.lang.Class.newInstance(Class.java:1300) > at uk.ltd.getahead.dwr.create.NewCreator.getInstance(NewCreator.java:59) > at uk.ltd.getahead.dwr.impl.ExecuteQuery.execute(ExecuteQuery.java:181) > at > uk.ltd.getahead.dwr.impl.DefaultExecProcessor.handle(DefaultExecProcessor.java:48) > at > uk.ltd.getahead.dwr.impl.DefaultProcessor.handle(DefaultProcessor.java:81) > at > uk.ltd.getahead.dwr.AbstractDWRServlet.doPost(AbstractDWRServlet.java:162) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.geronimo.console.servlet.ForwardDispatchFilter.doFilter(ForwardDispatchFilter.java:59) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) > at > org.apache.geronimo.console.servlet.ContextForwardServlet.doPost(ContextForwardServlet.java:71) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) > at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:351) > at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > at java.lang.Thread.run(Thread.java:801) > 14:48:16,515 WARN [DefaultExecProcessor] Erroring: id[8673_1186469295484] > [EMAIL PROTECTED] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.