Database pool portlet has incorrect driver connection properties and 
driverClass values for MacOS
-------------------------------------------------------------------------------------------------

                 Key: GERONIMO-4322
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4322
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.1.3
         Environment: MacOS
            Reporter: Lin Sun
            Priority: Minor


I have been debugging a weird prob with the console db pool portlet.   The prob 
only happens when selecting a db that has something like the following, for 
example database type = SQL Server

jdbc:sqlserver://{Host}:{Port};DatabaseName={Database}

I suspect it is the semi-colon causing the prob as this seems only happen with 
the JDBCUrl that contains ";DatabaseName={Database}".   

Then the JDBC url is interpreted as on the resulting page:

        jdbc:microsoft:sqlserver://{Host}:{Port}

By going through the debugger, the parameter is stored fine in ActionResponse, 
however, it is incorrect when retrieved from RenderRequest.    And this caused 
other parameter values (such as DriverClass) got lost in RenderRequest too.

First I saw this was working on G 2.1.3 on my winxp(firefox 2), but failed on G 
trunk on my mac book pro (safari & firefox 2).  Then I turned on an older 
version of G 2.1.2 or G2.1.3 on my MacOS and it failed too.  It sounds a pluto 
prob to me and we are using the same version of pluto between 2.1.3 and trunk.  
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to