can't connect crowd to ldap

hello.

in crowd, i pressed 'add directory'

i defined the connector, tested it and it worked.

i then defined the configuration, set the timeout to be very long and clicked 'test'

nothing happens for a while and then a blank page loads in the browser with the url:

http://wiki-upgrade:8095/crowd/console/secure/directory/testPrincipalSearch!testPrincipalSearch.action

the logs only have one line in them:

2012-08-08 18:20:42,995 http-8095-5 WARN com.opensymphony.xwork.DefaultActionInvocation No result defined for action com.atlassian.crowd.console.action.directory.CreateConnector and result input

i did tcpdump on port 389, and there is definetly activity there.

3 answers

I'm having exactly the same issue. I've enabled debug logging and I see a timeout:

2012-12-10 20:30:21,075 Timer-0 DEBUG [mchange.v2.resourcepool.BasicResourcePool] EXPIRED idle resource: com.mchange.v2.c3p0.impl.NewPooledConnection@19e8dd7a ---> idle_time: 35045; max_idle_time: 30000 [com.mchange.v2.resourcepool.BasicResourcePool@2bf525ec
2012-12-10 20:30:21,076 com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0 DEBUG [v2.c3p0.impl.C3P0PooledConnectionPool] Preparing to destroy PooledConnection: com.mchange.v2.c3p0.impl.NewPooledConnection@19e8dd7a
2012-12-10 20:30:21,078 com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0 DEBUG [v2.c3p0.impl.NewPooledConnection] com.mchange.v2.c3p0.impl.NewPooledConnection@19e8dd7a closed by a client.
java.lang.Exception: DEBUG -- CLOSE BY CLIENT STACK TRACE
	at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:566)
2012-12-10 20:30:21,080 com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0 DEBUG [mchange.v2.resourcepool.BasicResourcePool] Successfully destroyed resource: com.mchange.v2.c3p0.impl.NewPooledConnection@19e8dd7a
2012-12-10 20:30:33,880 http-8095-1 DEBUG [atlassian.xwork.interceptors.TransactionalInvocation] Committing transaction for action /console/secure/directory/testPrincipalSearch.action (CreateConnector.testPrincipalSearch())
2012-12-10 20:30:33,880 http-8095-1 DEBUG [atlassian.xwork.interceptors.TransactionalInvocation] Creating transaction for action result: /console/secure/directory/testPrincipalSearch.action (CreateConnector.testPrincipalSearch())
2012-12-10 20:30:33,880 http-8095-1 WARN [com.opensymphony.xwork.DefaultActionInvocation] No result defined for action com.atlassian.crowd.console.action.directory.CreateConnector and result input

what solved the problem for me was downgrading from crowd 2.5 to 2.4.1

Hi Gregory,

Good to know that the problem is solved now. If you experience any other problem please feel free to raise a support ticket at our support.atlassian.com and we will be glad to help you.

Cheers,

LJ.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 27, 2018 in Crowd

The Crowd team is looking for feedback on Server & Data Center customers' identity strategies!

Do you own more than one Server or Data Center product? Do you have challenges provisioning users across your Atlassian products? Are you spending a lot of time integrating each Atlassian product wit...

1,574 views 6 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you