<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Spring Community Forums - LDAP</title>
		<link>http://forum.springsource.org/</link>
		<description>Discussion on simplifying LDAP-based data access with the Spring LDAP project.</description>
		<language>en</language>
		<lastBuildDate>Sat, 25 May 2013 19:37:05 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forum.springsource.org/images/misc/rss.png</url>
			<title>Spring Community Forums - LDAP</title>
			<link>http://forum.springsource.org/</link>
		</image>
		<item>
			<title>LDAP number of connection exceeded from defined limit and connection unavailable</title>
			<link>http://forum.springsource.org/showthread.php?137708-LDAP-number-of-connection-exceeded-from-defined-limit-and-connection-unavailable&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 10:15:27 GMT</pubDate>
			<description>Server: jetty-8.1.8.v20121106 
Deployed platform:SunOS espa 5.10 Generic_147440-27 sun4v sparc sun4v 
Spring: 3.1.2 
LDAP Novel: jldap 4.3 
Spring...</description>
			<content:encoded><![CDATA[<div>Server: jetty-8.1.8.v20121106<br />
Deployed platform:SunOS espa 5.10 Generic_147440-27 sun4v sparc sun4v<br />
Spring: 3.1.2<br />
LDAP Novel: jldap 4.3<br />
Spring LDAP: 1.3.1<br />
Apache Commons Pool:1.5.4<br />
<br />
we observed two issues as follows:<br />
1. Connection lost issue with exceeded number of connections size from the defined maximum number of connection pool size.<br />
2. Unavailable: Failed to borrow DirContext from pool.; nested exception is java.util.NoSuchElementException: Timeout waiting for idle object. Ongoing transaction aborted.<br />
<br />
Logs of both issues attached with LDAP context settings.<br />
<br />
Please help me and let me know if any configured parameters tuning will resolve the issue or is a known issue which resolved by upgrading any component. <br />
<br />
Here we are suspecting concurrent transaction management issue of commons pool which exceeded pool size than defined limit and in another case ongoing transaction of a connection aborted during that concurrent transaction load time. <br />
<br />
So we are in a plan to upgrade Apache Commons Pool 1.5.4 to latest version 1.6. Expecting this pool issue resolved in the latest release one.<br />
<br />
Please let me have your kind guidances to be in right track for the issue resolutions.</div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="http://forum.springsource.org/images/attach/zip.gif" alt="File Type: zip" />
	<a href="http://forum.springsource.org/attachment.php?attachmentid=5637&amp;d=1369130898">ldapContext.xml.zip</a> 
(744 Bytes)
</li><li>
	<img class="inlineimg" src="http://forum.springsource.org/images/attach/zip.gif" alt="File Type: zip" />
	<a href="http://forum.springsource.org/attachment.php?attachmentid=5638&amp;d=1369130898">Issue2_ErrorUnavailable.txt.zip</a> 
(2.3 KB)
</li><li>
	<img class="inlineimg" src="http://forum.springsource.org/images/attach/txt.gif" alt="File Type: txt" />
	<a href="http://forum.springsource.org/attachment.php?attachmentid=5639&amp;d=1369130898">Issue1_errorLDAPConnectionLost.txt</a> 
(13.8 KB)
</li>
			</ul>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://forum.springsource.org/forumdisplay.php?40-LDAP">LDAP</category>
			<dc:creator>SripatiDas</dc:creator>
			<guid isPermaLink="true">http://forum.springsource.org/showthread.php?137708-LDAP-number-of-connection-exceeded-from-defined-limit-and-connection-unavailable</guid>
		</item>
		<item>
			<title>Nog able to create users or groups with a slash</title>
			<link>http://forum.springsource.org/showthread.php?137078-Nog-able-to-create-users-or-groups-with-a-slash&amp;goto=newpost</link>
			<pubDate>Mon, 06 May 2013 14:48:35 GMT</pubDate>
			<description><![CDATA[Hi,  
 
We're getting weird errors when we are trying to create LDAP entries (users or groups) with a slash. 
Unfortunatly, we receive these names...]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
We're getting weird errors when we are trying to create LDAP entries (users or groups) with a slash.<br />
Unfortunatly, we receive these names from different parties, so we're not able to change the names easily.<br />
<br />
org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - No Such Object]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'uid=M16452test/,ou=People,o=MAK16452,o=gdp3000.com' org.springframework.ldap.support.LdapUtils.convert  LdapException(LdapUtils.java:174) org.springframework.ldap.core.LdapTemplate.execute  WithContext(LdapTemplate.java:810) org.springframework.ldap.core.LdapTemplate.execute  ReadWrite(LdapTemplate.java:802) org.springframework.ldap.core.LdapTemplate.bind(Ld  apTemplate.java:1010) com.gudrun.gdp3000.permission.dao.ldap.PermissionD  AOLdapImpl.createUser(PermissionDAOLdapImpl.java:2  62) com.gudrun.gdp3000.permission.admin.PermissionAdmi  nServiceImpl.createUser(PermissionAdminServiceImpl  .java:209) com.gudrun.gdp3000.permission.usecase.PermissionUs  eCaseImpl.createUser(PermissionUseCaseImpl.java:10  6) sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ  e Method) <br />
...<br />
<br />
Our code is as simple as this:<br />
	public void createUser(UserImpl user) {<br />
		Attributes attributes = new UserImplContextMapper().mapFromObject(user, false);<br />
		ldapTemplate.bind(user.getId(), null, attributes);<br />
	}<br />
<br />
This works fine with other chars such as an ampersand, a comma or a back-slash. Only the forward slash gives us trouble.<br />
<br />
With our older product, which uses ldapsdk, this works without problems. We're using spring-ldap-1.3.1.RELEASE.ALL.jar with JBoss 5.1.2 EAP and an old version of Sun's LDAP server.<br />
<br />
Anyone has some clues? <br />
<br />
Thanks,<br />
Stefaan.</div>

]]></content:encoded>
			<category domain="http://forum.springsource.org/forumdisplay.php?40-LDAP">LDAP</category>
			<dc:creator>sdestoop</dc:creator>
			<guid isPermaLink="true">http://forum.springsource.org/showthread.php?137078-Nog-able-to-create-users-or-groups-with-a-slash</guid>
		</item>
		<item>
			<title>Get DN of entries found using LdapTemplate.search</title>
			<link>http://forum.springsource.org/showthread.php?136938-Get-DN-of-entries-found-using-LdapTemplate-search&amp;goto=newpost</link>
			<pubDate>Wed, 01 May 2013 20:56:55 GMT</pubDate>
			<description><![CDATA[Hi there 
I'm able to use LdapTemplate.search but I'd like to get the DN's of each entry in the search result. Even when I search using no search...]]></description>
			<content:encoded><![CDATA[<div>Hi there<br />
I'm able to use LdapTemplate.search but I'd like to get the DN's of each entry in the search result. Even when I search using no search attributes (which means retrieve all), there is no DN of the found entry.<br />
How can I get the DN of the found entry?<br />
Thanks<br />
Oli</div>

]]></content:encoded>
			<category domain="http://forum.springsource.org/forumdisplay.php?40-LDAP">LDAP</category>
			<dc:creator>owulff</dc:creator>
			<guid isPermaLink="true">http://forum.springsource.org/showthread.php?136938-Get-DN-of-entries-found-using-LdapTemplate-search</guid>
		</item>
	</channel>
</rss>
