Ignore:
Timestamp:
02/21/13 07:33:35 (11 years ago)
Author:
keeloo
Message:

Instead of retrieving the SolrUrl? from the context of the application, retrieve the location of an external VloConfig? from the context, preferably the file used by the importer. By using the context in this way, the configuration for both the importer and the web application will be one and the same.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-2.13-param/vlo_webapp/src/main/webapp/META-INF/context.xml

    r2597 r2600  
    22<!-- VLO application context file
    33
    4 solrURL : URL through which the Solr server should be reached<br><br>
    5 
    6 Note that the VLO importer needs to know about this URL to. Because the
    7 importer is not a web application, the value of the parameter should
    8 be defined in the ImporterConfig.xml<br><br>
    9 
    10 as<br><br>
    11 
    12 <solrUrl>http://localhost:8084/vlo_solr/</solrUrl><br><br>
     4explain about how the configurtion works
    135
    146-->
    157<Context antiJARLocking="true" path="/vlo">
    16   <Parameter name="solrUrl" value="http://localhost:8084/vlo_solr/"/>
     8  <Parameter name="externalConfig" value="/Users/keeloo/VloConfig.xml"/>
    179</Context>
Note: See TracChangeset for help on using the changeset viewer.