Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
antdurif
Contributor

LDAP Connection problem

Hello,

 

I used Talend Open Studio for Data Integration tool for quite some time now. Until there I used the v6.2 version. It works fine but in order to stay up to date and for technological evolutions I would like to do migrations to the newest versions now. I tried the v7.2 version and begun to import my jobs but I met a problem with LDAP components. 

When I want to edit my metadata LDAP connection or schema I cannot connect to my LDAP server. The first step with the host's test is ok but not the second with authentication. I use a simple authentification with same parameters I have in my v6.2 TOS tool (the connection works fine in this version and on the same computer by the way).

0683p000009M9gN.png

 

I also tried to directly run my job but in this case I had a tLDAPConnection_1 Exception:

Exception in component tLDAPConnection_1 (MY_JOB)
javax.naming.CommunicationException: simple bind failed: MY_LDAP:636 [Root exception is java.net.SocketException: Connection or outbound has closed]
	at java.naming/com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:219)
	at java.naming/com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2795)
	at java.naming/com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:320)
	at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
	at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
	at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
	at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
	at java.naming/javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:730)
	at java.naming/javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)
	at java.naming/javax.naming.InitialContext.init(InitialContext.java:236)
	at java.naming/javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
	at project.my_job_0_1.MY_JOB.tLDAPConnection_1Process(MY_JOB.java:2161)
	at project.my_job_0_1.MY_JOB.tMysqlConnection_2Process(MY_JOB.java:1932)
	at project.my_job_0_1.MY_JOB.runJobInTOS(MY_JOB.java:15448)
	at project.my_job_0_1.MY_JOB.main(MY_JOB.java:15024)
Caused by: java.net.SocketException: Connection or outbound has closed
	at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:975)
	at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
	at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
	at java.naming/com.sun.jndi.ldap.Connection.writeRequest(Connection.java:398)
	at java.naming/com.sun.jndi.ldap.Connection.writeRequest(Connection.java:371)
	at java.naming/com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:359)
	at java.naming/com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214)
	... 14 more

 

I assume my certificats are good because it works fine with the other version...

I don't understand what can cause this connection problem. Is there any configuration to add/change in this TOS version ?

 

Thanks in advance for your advises and answers.

 

Anthony.

Labels (5)
1 Reply
antdurif
Contributor
Author

Hello,

 

I allow myself to up this topic.

Does anyone have an idea or an advise for my problem ?

 

Thanks.