[ 
https://issues.apache.org/jira/browse/GERONIMO-4405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646503#action_12646503
 ] 

Rex Wang commented on GERONIMO-4405:
------------------------------------

This is because the latest version - 8.3 of postgresql is not list in the 
"http://geronimo.apache.org/driver-downloads.properties";, which the portlet 
used to generate the drop-down list.

And the incidental issue is that even if you download the 8.3 jars from the 
other site and copy them to the geronimo repository with the path 
"postgresql/postgresql-8.3//jar", the portlet won't show it  in the select-list 
that represents the installed jdbc driver jars. This is because  the plan.xml 
of sysdb-console-tomcat has the following lines for the <gbean> of postgresql:
<attribute 
name="dependencyFilterStrings">postgresql/postgresql//jar,postgresql/postgresql-7.3//jar,postgresql/postgresql-7.4//jar,postgresql/postgresql-8.0//jar,postgresql/postgresql-8.1//jar,postgresql/postgresql-8.2//jar</attribute>

There are 3 ways to resolve this problem:
1. remove the above line
such as DB2, and the weak point is that the select-list will list all the jars 
in repo

2. use the filter pattern "postgresql///jar" instead of 
"postgresql/postgresql//jar"
has a wider scope

3. change the filter mechanism
allow user to use "*" to represent any character.
we need add a new method to the org.apache.geronimo.kernel.repository.Artifact 
class

So, any comments?


> Postgresql new drives would not be listed in Drive Jars list and download 
> driver list
> -------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4405
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4405
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: databases
>    Affects Versions: 2.1.3
>         Environment: Any platform
>            Reporter: viola.lu
>            Priority: Minor
>
> Steps:
> 1.login admin console, go to "repository" porlet, install a postgresql jdbc 
> driver 8.3
> 2.Go to "database pool" porlet->create a datasource type postgresql local or 
> XA, click next.Newly installed driver is not listed in driver jars.
> 3.CLick "download driver" button, just postgresql 8.1.8.2,7.4 is listed, 
> can't choose 8.3.

-- 
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