<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Thanks,</div><div><br></div><div>That solved the issue. Stable as a rock through my load test as well.</div><div><br></div><div>/Stefan</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> users <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a>> on behalf of Daniel Fisher <<a href="mailto:dfisher@vt.edu">dfisher@vt.edu</a>><br><span style="font-weight:bold">Reply-To: </span> Shib Users <<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>><br><span style="font-weight:bold">Date: </span> Tuesday 14 July 2015 16:04<br><span style="font-weight:bold">To: </span> Shib Users <<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>><br><span style="font-weight:bold">Subject: </span> Re: Strange PermGen out of memory error - Shib IdP V3<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 14, 2015 at 9:43 AM, Stefan Santesson <span dir="ltr"><<a href="mailto:stefan@aaa-sec.com" target="_blank">stefan@aaa-sec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I tried to change to BeanManagedConnection.<br><br>
I used the example from the Wiki:<br><a href="https://wiki.shibboleth.net/confluence/display/IDP30/BeanManagedConnection" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/display/IDP30/BeanManagedConnection</a><br><br>
I had to add commons-dbcp-1.4.jar to the lib.<br>
I added the bean declaration in global.xml.<br><br>
I get an error trying to start the IdP, saying that the drivarClass<br>
property is not writable:<br><br>
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid<br>
property 'driverClass' of bean class<br>
[org.apache.commons.dbcp.BasicDataSource]: Bean property 'driverClass' is<br>
not writable or has an invalid setter method. Does the parameter type of<br>
the setter match the return type of the getter?<br></blockquote><div><br></div><div>That looks like a typo in the docs. Try using this instead:</div><div><br></div><bean id="MyDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"<br>    p:driverClassName="%{datasource.driverClass}"<br>    p:url="%{datasource.jdbcUrl}" p:username="%{datasource.user}" p:password="%{datasource.password}"<br>    p:maxActive="10" p:maxIdle="5" p:maxWait="2000" p:testOnBorrow="true"<br>    p:validationQuery="select 1" p:validationQueryTimeout="5" /><div><br></div><div>--Daniel Fisher</div><div><br></div></div></div></div>
-- 
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a></blockquote></span></body></html>