VERIFIED SOLUTION i
X

How to change routing data without reinstalling the server in ClickSchedule

UPDATED: August 23, 2017


To change the routing data please follow the steps below:

1. Put the data folder at any location of you computer.

2. Open the web.xml file present in the clickSchedule routing server installation folder :
..\ClickSoftware\GIS\MapInfo\RoutingServer\webapps\routing40\WEB-INF\

3. Here you will get one web.xml file. open this file in edit mode. 

4. You will see an xml structure same as mentioned bellow:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>routing</servlet-name>
<servlet-class>com.mapinfo.routing.RoutingServlet</servlet-class>
 
<!-- data configuration -->
<init-param>
<param-name>datasetList</param-name>
<param-value>D:\ClickSoftwareDATA\GIS\MapInfo\Data\Routing\GDT\VEHICLE</param-value>
</init-param> 

5. Here you have to change the data folder path which you will find in  <param-value> tags, i have made it bold for better understanding. replace this path with your routing data folder's path. if you want to add more than one folder separate the paths with semicolon(;).

6. Save this file and check the server prompt. you will see the effect of changes on the server prompt.   

If the data will not be there at the location which you have mentioned in the web.xml. you will get a FileNotFound error on the server prompt. 

Downloads

  • No Downloads