VERIFIED SOLUTION i
X

Resolve error "The URL provided is not a valid supported MapMarker Java server: http:// localhost:8095/mapmarker40/servlet/mapmarker Could not create connection." in MapMarker

Issue

When trying to start the server customer was getting an error message "The URL provided is not a valid supported MapMarker Java server: http:// localhost:8095/mapmarker40/servlet/mapmarker Could not create connection."
 

Cause

Not able to connect to the MapMarker server using URL : "http://localhost:8095/mapmarker40/servlet/mapmarker" and for each time customer want's to geocode the data he need to start the service by manually.

Resolution

UPDATED: August 23, 2017


Need to install the apache tomcat service as a windows service, and set it to auto start a tomcat instance so that nobody need to manually start it. 
Installation steps :- 


1. Open command prompt as administrator and navigate to the MapMarker tomcat bin folder.  
For example:- C:\Program Files\MapInfo\MapMarker\MapMarker_USA_v22\SDK\MapMarker-4.0.0\tomcat\bin

2. on command prompt enter the following command to install service :-
service.bat install MM 

3.Start the MapMarker Service(from the Windows Start menu, choose Panel > Administrative Tools > Service). It will be listed as Apache Tomcat MM.

4.Use the Java sample application to test the service.

If the service does not start, follow these additional steps:

1. Choose Start > Run, type regedit, and enter.

2.Navigate through the tree on the left to My Computer > HKEY_LOCAL_MACHINE > Software > Apache Software foundation > Procrun 2.0 > MM > Parameter > Java.

3. In the right side there is a key called JVM that specifies the path of the jvm.dll file. by default, this is set to "auto". Right - click on the jvm key and choose Modify. Change this key to point to a proper jvm.dll location. and click ok to save the change.

4.Close the registry editor.

5. Attempt to start the service(it will be listed as Apache TOmcat MM) and run the Java sample application as before.

Downloads

  • No Downloads