You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2009/03/19 19:26:50 UTC

[jira] Created: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

JdbcDataSource should resolve variables in jdbc url, username and password
--------------------------------------------------------------------------

                 Key: SOLR-1076
                 URL: https://issues.apache.org/jira/browse/SOLR-1076
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 1.3
            Reporter: Shalin Shekhar Mangar
            Assignee: Shalin Shekhar Mangar
             Fix For: 1.4


It is not possible to use request parameters as a variable in JdbcDataSource.

Related discussion on solr-user at
http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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


[jira] Updated: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-1076:
----------------------------------------

    Attachment: SOLR-1076.patch

Patch with the fix.

> JdbcDataSource should resolve variables in jdbc url, username and password
> --------------------------------------------------------------------------
>
>                 Key: SOLR-1076
>                 URL: https://issues.apache.org/jira/browse/SOLR-1076
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1076.patch
>
>
> It is not possible to use request parameters as a variable in JdbcDataSource.
> Related discussion on solr-user at
> http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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


[jira] Resolved: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-1076.
-----------------------------------------

    Resolution: Fixed

Committed revision 771656.

> JdbcDataSource should resolve variables in jdbc url, username and password
> --------------------------------------------------------------------------
>
>                 Key: SOLR-1076
>                 URL: https://issues.apache.org/jira/browse/SOLR-1076
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1076.patch, SOLR-1076.patch, SOLR-1076.patch
>
>
> It is not possible to use request parameters as a variable in JdbcDataSource.
> Related discussion on solr-user at
> http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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


[jira] Resolved: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-1076.
-----------------------------------------

    Resolution: Fixed

Committed revision 756340.

> JdbcDataSource should resolve variables in jdbc url, username and password
> --------------------------------------------------------------------------
>
>                 Key: SOLR-1076
>                 URL: https://issues.apache.org/jira/browse/SOLR-1076
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1076.patch, SOLR-1076.patch
>
>
> It is not possible to use request parameters as a variable in JdbcDataSource.
> Related discussion on solr-user at
> http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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


[jira] Updated: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-1076:
----------------------------------------

    Attachment: SOLR-1076.patch

Resolve all variables before extracting jndi name

> JdbcDataSource should resolve variables in jdbc url, username and password
> --------------------------------------------------------------------------
>
>                 Key: SOLR-1076
>                 URL: https://issues.apache.org/jira/browse/SOLR-1076
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1076.patch, SOLR-1076.patch, SOLR-1076.patch
>
>
> It is not possible to use request parameters as a variable in JdbcDataSource.
> Related discussion on solr-user at
> http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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


[jira] Updated: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-1076:
----------------------------------------

    Attachment: SOLR-1076.patch

Updated to resolve variables once again before a connection is created. I'll commit this shortly.

> JdbcDataSource should resolve variables in jdbc url, username and password
> --------------------------------------------------------------------------
>
>                 Key: SOLR-1076
>                 URL: https://issues.apache.org/jira/browse/SOLR-1076
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1076.patch, SOLR-1076.patch
>
>
> It is not possible to use request parameters as a variable in JdbcDataSource.
> Related discussion on solr-user at
> http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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


[jira] Updated: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-1076:
----------------------------------------

    Component/s: contrib - DataImportHandler

> JdbcDataSource should resolve variables in jdbc url, username and password
> --------------------------------------------------------------------------
>
>                 Key: SOLR-1076
>                 URL: https://issues.apache.org/jira/browse/SOLR-1076
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1076.patch, SOLR-1076.patch
>
>
> It is not possible to use request parameters as a variable in JdbcDataSource.
> Related discussion on solr-user at
> http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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


[jira] Reopened: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar reopened SOLR-1076:
-----------------------------------------


JNDI name is not resolved

> JdbcDataSource should resolve variables in jdbc url, username and password
> --------------------------------------------------------------------------
>
>                 Key: SOLR-1076
>                 URL: https://issues.apache.org/jira/browse/SOLR-1076
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1076.patch, SOLR-1076.patch, SOLR-1076.patch
>
>
> It is not possible to use request parameters as a variable in JdbcDataSource.
> Related discussion on solr-user at
> http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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


[jira] Commented: (SOLR-1076) JdbcDataSource should resolve variables in jdbc url, username and password

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699543#action_12699543 ] 

Shalin Shekhar Mangar commented on SOLR-1076:
---------------------------------------------

Fixing a bug with resolving batchSize parameter in JdbcDataSource introduced by the last commit.

Committed revision 765481.

> JdbcDataSource should resolve variables in jdbc url, username and password
> --------------------------------------------------------------------------
>
>                 Key: SOLR-1076
>                 URL: https://issues.apache.org/jira/browse/SOLR-1076
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1076.patch, SOLR-1076.patch
>
>
> It is not possible to use request parameters as a variable in JdbcDataSource.
> Related discussion on solr-user at
> http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

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