geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <>
Subject [jira] Commented: (GERONIMO-1336) Setting the Max PoolSize on a DataBase pool with invalid information does not yield an error message and silently fails
Date Wed, 25 Jan 2006 23:22:10 GMT
    [ ] 

Aaron Mulder commented on GERONIMO-1336:

Joe, could you adjust the patch to not submit the form if there's an error (so the user can
review the stuff) and also to validate that the max size is greater than the min size if both
values are present?  Thanks.

> Setting the Max PoolSize on a DataBase pool with invalid information does not yield an
error message and silently fails
> -----------------------------------------------------------------------------------------------------------------------
>          Key: GERONIMO-1336
>          URL:
>      Project: Geronimo
>         Type: Bug
>   Components: console
>     Versions: 1.0-M5
>     Reporter: Matt Hogstrom
>     Assignee: Matt Hogstrom
>     Priority: Minor
>      Fix For: 1.1, 1.0.1
>  Attachments: DBPoolValidate.patch
> When attempting a set of the SystemDatabase pool to a negative value the save command
executes and gives the appearance that the change was made.  At least there is no information
that indicates it failed.  The following error is logged in the geronimo.log.  The Console
should detect this error and inform the user that an invalid value was specified.
> 13:38:37,813 ERROR [DatabasePoolPortlet] Unable to save connection pool
> java.lang.IllegalArgumentException: Max size must be positive, not -1
>         at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.setPartitionMaxSize(
>         at org.apache.geronimo.connector.outbound.connectionmanagerconfig.SinglePool.setPartitionMaxSize(
>         at org.apache.geronimo.connector.outbound.AbstractConnectionManager.setPartitionMaxSize(
>         at org.apache.geronimo.connector.outbound.AbstractConnectionManager$$FastClassByCGLIB$$80012030.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(
>         at org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue(
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(
>         at org.apache.geronimo.gbean.runtime.RawInvoker.setAttribute(
>         at org.apache.geronimo.kernel.basic.RawSetAttributeInvoker.invoke(
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(
>         at org.apache.geronimo.connector.outbound.ConnectionManagerContainer$$EnhancerByCGLIB$$813b4258.setPartitionMaxSize(<generated>)
>         at
>         at org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.processAction(
>         at org.apache.pluto.core.PortletServlet.dispatch(
>         at org.apache.pluto.core.PortletServlet.doGet(

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message