Posts

Maximo Youtube Links

Add embedded YouTube videos to any Maximo / SmartCloud Control Desk application

The following article will show you how to create a custom control wrapper for an embedded YouTube player.
1.            Create the control and component registry declarations for the new control
The main registries are located in (all paths are relative to the installation directory/application server deployment location):
applications/maximo/properties/product/control-registry.xml applications/maximo/properties/product/component-registry.xml
We'll declare our new control in a registry extension in order to keep the main registries clear. Registry extensions are placed in the following location:
applications/maximo/properties/registry-extensions
Find the complete Control and Component registry files in Tables 1 & 2.
2.            Create JavaServer Page (JSP) wrapper
The JSP file name is defined in the component registry xml; 'video' below corresponds to video.jsp:
="jsp-filename"> ault-value>video fault-value>

All component JSP files are placed in …

maximo links

Skip fields during duplication

This article describes how to skip the user-defined fields during duplication of a record. To skip the user-defined fields during duplication of a record, complete the following steps: Extend the existing MBO class, for example XYAsset.java
Define a static HashSet that contains the names of the fields whose values need not be copied from the source MBO to the target MBO. This HashSet is loaded in the loadXYSkipFieldCopyHashSet.· private static HashSet<String> skipXYFieldCopy = new HashSet<String> ();
Define private boolean variable to check whether the HashSet has already been loaded. The HashSet is loaded only once since it is static. The same hashSet can be used by all duplicate methods after it has been loaded.· private static boolean isXYHashSetLoaded = false;

Define method loadXYSkipFieldCopyHashSet() that loads the static HashSet with the names of the fields whose values need not be copied from the source Mbo to the target M…

MEA Web services do not automatically redeploy when application server restarted

Problem(Abstract) Looking at your Maximo interfaces, the "deployed as web service" checkbox is checked, but the web service is not available for use. Resolving the problem WebSphere: A generic JVM argument is required to be set for the JVM to automatically redeploy the web services after the application server is restarted.
In the WebSphere console, navigate to your application server instance.
On the right side of the screen select "Java and Process Management"
Then, select "Process Definition"
Under additional properties, select "Java Virtual Machine"
In the "Generic JVM Arguments" field, add the following parameter:

-Daxis.EngineConfigFactory=psdi.iface.webservices.WSEngineConfigFactory

Restart the application server.

WebLogic:

Modify your service script to add the axis engine class, following the instructions below:

1. from the bea/user_projects/domains/mydomain folder, run uninstallservice.cmd

2. Edit the file in the same folder …

Enabling SSL At HTTP Web Server level

Steps : 1.Open the Key Management tool from window start menu 2.Click New 3.From the List of Key Database Type select the CMS. 4.Enter the File Name. 5.Create a New Folder in HTTP Server folder and store the .kdb file as shown in the above screen. Note:  Don’t overwrite Existing key.kdb file. 6.Click ok and provide the password .select the Stash password to file option. 7.Select the Personal Certificates option and click Import. 8.Select the PKCS12 option and brows the certificate and click ok. 9.Enter the private key password. 10.Once certificate is imported, it will display the Private key and Public key. Select all and click ok. 11.Click Ok. HTTP Server Configuration1.Go to Http Server Folder   E:\IBM\HTTPServer\conf    Open the httpd.conf file uncomment the below lines. LoadModule ibm_ssl_module modules/mod_ibm_ssl.so Listen 0.0.0.0:443 ## IPv6 support: #Listen [::]:443 SSLEnable SSLProtocolDisable SSLv2 Key File E:/IBM/HTTPServer/SSL/key.kdb (Add the kdb file which you created in the above steps i…