Google Map in your Intranet

Applications Manager | August 21, 2006 | 2 min read

Now, you can integrate Google Map Business View in your intranet web page.

Download the Google Zip. You will find google-appmanager_V2.html.

Follow the steps given below:

1) Unzip the file to the /working folder in your Applications Manager installation.

2) Specify the Google Map key for your host and port in the google-appmanager_V2.html file. (Do a text search for ‘key’ and replace appropriately)

3) Now to test : Open a browser and access this html file in Applications Manager directly. Make sure App Manager is running.

Eg: http://win2k:9090/google-appmanager_V2.html

That’s it, you can see the Google Map over an unauthenticated URL.

4) Then in your intranet portal, specify the below tag :

<iframe frameborder=’0′

src=’http://win2k:9090/google-appmanager_V2.html’ width=’860′

height=’680′></iframe>

5) You have to disable “authorization” for the URL

/jsp/gmap_severity.jsp from web.xml.

This returns the status of servers and is queried by the attached html file.

For disabling the authentication for this servlet, please follow

the below steps.

a) Go to AppManager7/working/WEB-INF folder.

b) Open the web.xml file in that folder and search for the below

content.

<url-pattern>/jsp/gmap_severity.jsp</url-pattern>

The above content will be present in two places.You have to remove the above line which is present under the

<web-resource-name>UserModule</web-resource-name> tag.

c) Restart the Applications Manager.

Now you can access the http://host/jsp/gmap_severity.jsp servlet without authentication.

Note:

If you have any difficulties in removing the tag from the web.xml, kindly send us the xml file to support[a]appmanager.com. We will modify that and send it to you.

Modify the height and width according to your intranet specifications.

And you are ready to track the monitors, location wise in your intranet

Susan