Knowledge Base Help Center
Modifying Maximo Configuration to Register MapEngine
Modifying Maximo Configuration to Register MapEngine
The following files need to be modified to register the MapEngine services with the MAXIMO web application server:
…/maximouiweb/webmodule /WEB-INF/web.xml
…/maximo/properties/component-registry.xml
…/maximo/properties/control-registry.xml
Copy the code snippets below and modify the respective files. You’ll need to rebuild the Maximo EAR and redeploy it after these changes.
MapEngine edits to Maximo's web.xml
<!-- start activeG MAP service stuff -->
<servlet>
<servlet-name>AGServlet</servlet-name>
<servlet-class>com.activeg.servlets.AGServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AGServlet</servlet-name>
<url-pattern>/AGServlet/*</url-pattern>
</servlet-mapping>
<!-- end activeG MAP service stuff -->
MapEngine edits to ...maximo/properties/component-registry.xml
<component-descriptor name="agm7map" instance-class="psdi.webclient.components.agm7map_comp">
<property-list>
<property name="jsp-filename">
<default-value>agm7map</default-value>
</property>
<property name="filename">
<default-value>agMapESRI</default-value>
</property>
<property name="tabnames">
<default-value>map</default-value>
</property>
<property name="id">
<flag name="final"/>
</property>
<property name="height"/>
<property name="width"/>
<property name="tooltip">
<flag name="translatable"/>
</property>
<property name="defaultrender">
<default-value>false</default-value>
</property>
<property name="alwaysinclude">
<default-value>true</default-value>
</property>
<property name="datasrc">
<flag name="global"/>
</property>
<property name="actiondatasrc" />
<property name="nodedatasrc" />
<property name="dataattribute" />
<property name="mxevent"/>
</property-list>
</component-descriptor>
MapEngine edits to ...maximo/properties/control-registry.xml
<control-descriptor name="agm7map" >
<property-list>
<property name="id">
<flag name="final"/>
</property>
<property name="filename"/>
<property name="aghost"/>
<property name="tabnames"/>
<property name="height"/>
<property name="width"/>
<property name="tooltip" >
<flag name="translatable"/>
</property>
<property name="datasrc">
<flag name="nonconditional"/>
<flag name="global"/>
</property>
<property name="actiondatasrc"/>
<property name="nodedatasrc"/>
<property name="dataattribute">
<flag name="final"/>
</property>
<property name="assetdatasrc" />
</property-list>
<component-list>
<components id="${name}_components_v" layout="vertical" >
<components id="${name}_components_h" layout="horizontal" >
<agm7map id="${name}_agm7map" src="@{filename}" height="@{height}" width="@{width}" filename="@{filename}" aghost="@{aghost}" tooltip="@{tooltip}"/>
</components>
</components>
</component-list>
<containers>
<container name="controlcontainer"/>
<container name="section"/>
<container name="clientarea"/>
</containers>
</control-descriptor>