Details

    • Sprint:
      DV Sprint 55
    • Story Points:
      1
    • Workaround Description:
      Hide

      diff --git a/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java b/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java
      index e59a80b304..449b2213b1 100644
      — a/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java
      +++ b/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java
      @@ -65,7 +65,7 @@ public class SolrConnectionImpl extends BasicConnection implements SolrConnectio
      params.set(HttpClientUtil.PROP_BASIC_AUTH_PASS, password);
      }
      url = url + config.getCoreName();

      • this.server = new Builder().withInvariantParams(params).build();
        + this.server = new Builder(url).withInvariantParams(params).build();

      if (config.getSoTimeout() != null) {
      this.server.setSoTimeout(config.getSoTimeout());

      Show
      diff --git a/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java b/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java index e59a80b304..449b2213b1 100644 — a/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java +++ b/wildfly/connectors/solr/connector-solr/src/main/java/org/teiid/resource/adapter/solr/SolrConnectionImpl.java @@ -65,7 +65,7 @@ public class SolrConnectionImpl extends BasicConnection implements SolrConnectio params.set(HttpClientUtil.PROP_BASIC_AUTH_PASS, password); } url = url + config.getCoreName(); this.server = new Builder().withInvariantParams(params).build(); + this.server = new Builder(url).withInvariantParams(params).build(); if (config.getSoTimeout() != null) { this.server.setSoTimeout(config.getSoTimeout());

      Description

      Solr JCA connector does not pass the configured url

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                german.tejero german tejero
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: