[ http://issues.apache.org/jira/browse/GERONIMO-2186?page=all ]

Paul McMahan updated GERONIMO-2186:
-----------------------------------

     Patch Info: [Patch Available]
    Component/s: core
                     (was: console)
       Assignee: Paul McMahan  (was: Donald Woods)
       Priority: Major  (was: Minor)

Saving changes to a connection pool where the value of at least one attribute 
is null triggers a NPE on the background timer thread that rewrites config.xml. 
 Derby connection pools commonly don't require username/password so that 
triggers the exception.  The inability to edit a connection pool after editing 
a Derby connection pool is misleading because changes to the Derby pool seemed 
to have worked, but they really triggered the NPE which leads to problems later 
when the GBeanOverride  timer has popped.

The attached patch to GBeanOverride checks GBean attribute values for null and 
uses the null="true" when persisting them to config.xml.

> Editing of Connection Pools other than Derby from console not working
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-2186
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2186
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: core
>    Affects Versions: 1.1
>            Reporter: Krishnakumar B
>         Assigned To: Paul McMahan
>             Fix For: 1.1.1
>
>         Attachments: GERONIMO-2186.patch
>
>
> Editing of connection pools other than Derby is currently not working 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to