Tuesday, 29 March 2022

Every technologies future is all automation - No need for writing code or script..................

 Why I am saying this because thier is huge cost in development which developer's are asking. companies look for developing software / maintaining it enhancing it......we require developers...

Some company spend 40percent on it...

Now this was done in old languages using C / Cobol/C++...........

For this we require expertise..

Now in newer languages like .Net, Ruby......anyone can work because of those IDE's and simplification of Syntax so we dont need  many expertise and we can work with avg. developers....

So slowly in future software's will come where AI / ML will be so strong that we dont need developers to write code all will be done by instructions even by verbal instructions......(dont worry support will always be their..........)

Also in new languages we require less no of developers due to automations.....which saves cost...


Monday, 28 March 2022

Maximo Duplicate Button in Child Table

 Inorder to implement Duplicate Button in Child Table their are 2 options

1. Use duplicate event on button(No Customization required OOB)

2. Write a bean class (Custom methods need to be created custom databean class inorder +helpful in scenario's like handling Validation and Checking parent Save)

Maximo Work Management

Friday, 25 March 2022

Server not Reachable Error Step by Step

 Server not Reachable Error Step by Step

1. Ping server

Like ping google.com

2. If its not working ping the ip address

for finding ipaddress use netslookup commad

netslookup google.com

ip is 192.................

*********************

then ping ip 

ping 192..............................

3. If if its still not accessible check you are connected to network.. :)

4. Check etc\hosts file 

5. Check resolve Config file on your computer.

Thursday, 24 March 2022

Maximo Customizing Response in Enterpise Service

 How to Customizing Response in Maximo....

As we know default queue based services does not send response.

By invocation Channel we can configure response.

For enterprise service response is autogenerated, if we need to customize response we can write User exit with the help of irData we can setvalue in IRData than in our response this value will be added...

Sunday, 20 March 2022

Maximo upgrade steps to 7.6

Pre upgrade steps

1. Check current configurations and  maximo upgraded configurations and note down difference and impacts..
2. Repeat similar steps for integrations
.....
3. Check what all new features in the new versions
4. Check maximo compatibility matrix ...

Below are steps to upgrade Maximo to 7.6
1. Compile all Java class to version 8.
2. Run integrity checker in report mode and resolve all issues.
3. Install 7.6
4. Point your smp to 7.6 
5. Run updatedb script.
6. Run post installation fixes 
7. Check all applications are opening and hv your configurations if not import oob xmls and modify it using beyond compare 
8. Run all autoscripts (Many autoscripts will not work because of syntax change in libraries)
9. Create temporary records for sequence related errors. Resolve maxsequence errors
10. Reapply all statistics and indexes and check all procedures are working otherwise fix them...
11. Check system properties and end points.
12. Check doclinks
13 Check security access...
Limitations


a. cannot upgrade directly from 7.1 to 7.6.

We run integrity checker again and again in normal mode and not in repair mode...before ever upgrade db run...if error found we resolve all errors before upgrade db...

Saturday, 19 March 2022

Maximo Integrity checker a boon for Developers

 Sometimes we have an issue and after spending hours we can't identify how this has been occurred after our new deployment........

There comes to rescue Maximo Integrity Check.

Maximo Integration Checker utility checks integrity of your Database as per Maximo's best practices..it should run after every deploment or upgrade or Ifix applying..

Note do not run it in Repair mode (untill IBM PMR team ask you ) run in report mode.

Its logs are saved to Maximo/logs/integrityXXXX.log

steps

  1.  Stop the serer. Open command prompt
  2. Go to c:\ibm\SMP\maximo\tools\maximo 
  3. Run integrityui.bat  from command prompt
  4.  Click on Check integrity tab  and click run integrity tab
  5. Click ok.







How to handle maximo Integration issues

  •  Check Technical document for the integration...
  •  Check Logs..
  • Check publish channel for Skip rule, User exit classes and Integration Scripts..
  • Check crontask (ifaceconsume, Sequential Consume is On)
  •  Check Message in External system (add/modify queues)
  • Check integration Bus
  • Check message Tracking
  • Check if the error is found in Ifix or something?
  • Check classes with error....to debug...
  • Ask Customer if you dont know these questions. When this issue occur 2. What is the issue. 3. is the issue replicable

4. time of the issue 5. is issue replicable in lower environment 6. Priority 7. No of users impacted 8. Screenshot of issue.

Friday, 18 March 2022

Configuring Eclipse for Mobile First Development

 

Configuring Eclipse for Mobile First Development


Steps 1. Go to Eclipse Ini file and change heap size from 512 to 1024 or 830 as per requiremen

Steps 2. Click on Install new Software and give path for Mobile first studio.zip file.

(Note you can download from Marketplace)

Step 3. Import Maximoanywhere Project in Workspace using import existing project in Workspace.

Step 4. Click on WindowsShow Ant View

Step 5. Turn off Auto Build

Step 6 Copy Ant Scripts in Ant View from Project Explorer 

Step 7. Deploy OSLC Generic Adapter on Mobile First Server

 Install Adroid SKD

Go to android SDK--->tools-->Andoird.bat.

 

 

This allows are to Deploy apps in Mobile First.

Files are deploying on Server

Step 8 Run Any Mobile First Application on Developer Mobile First Server

Step 9. Set Path For Android Studio using Preference-Mobile First -Location

 login to worklight 

Login with admin/admin credentials.

 

Step 11 Check Application Deployed


Click on eye icon to Preview application


 

Enter Wilson/Wilson as credentials

 

 

Login to App Center


Click on inspection Android

This is where you will upload Maximo Anywhere APK.


1. Go to Ant tab and expand applicaiton build script.

build -all..

2. Deploy the OSLC Adapter

In Eclipse, under Project Explorer go to MaximoAnywhere > adapters > OSLCGenericAdapter (right click) > Run As > Deploy MobileFirst Adapter

3. Launch your Anywhere App and test the login. You should now be able to login successfully

 

Note in Maximo Anywhere fold we have build.cmd command if will type

build.cmd -all it will build all files including .war file which we can deploy in anywhere console for preview.

 

After Build war is available in bin folder in the same folder .apk file is also available along with walp file.

 

To install it we use application center application.


 

For transalation we need to update Artificate.js file.

 

To maximo anywhere to other environment

change worklight.properties.

change build.properties

Stop mobile first server and build an deploy ear

 

build and deploy maixmoanywhere war file

 

Configuring or taking backup of Before Installing or configuring Maximo Anywhere

 

Take backup of Admin Work Station

Maximo Admin Workstation: /IBM/SMP

Take backup of Build Server.

Maximo Anywhere Build Server: /IBM/Anywhere

Post Instllation Steps

 

Verifying that your local customizations still exist:

 

Run a comparison tool like Beyond Compare to compare your backed up directory to the newly updated one.

 

Verify that any (class files, device native code or javascript) customizations you have made are still in place, and reapply them if not.

 

Verify that your app.xml file changes are still there.

 

Verify that the bundleids in your application-description.xml file are correct.

 

If you have customized the logos on the login screen or any of the platform XML files, you must manually reapply those changes.

 

Check changes made app feature.properties files

Reapply any changes you might have made to the app-feature.properties file to reenable any custom properties you might have changed.

f you have customized your Maximo Object Structures rerun the OSLC RDF Puller to pull the latest OSLC RDF documents:

 

https://www.ibm.com/support/knowledgecenter/SSPJLC_7.6.2/com.ibm.si.mpl.doc/integration/t_import_resource_data.html

 

 

Commands to upgrade individual Files

4. Run the following command to upgrade your WorkExecution.xml file to the latest version: 

 ant -f app-sparse-xml-processor.xml upgrade-previous-release-app-artifacts

 

5. Run the anywhere-rdfs-puller.xml file that is in the MaximoAnywhere directory.

 

6. If you are building Android apps, update your build.properties property to specify the version of the Android SDK that you are using, for example, Android_TARGET_DEVICE_NAME=android-23.

Also, you must download the same Android SDK in your Android SDK Manager. Android 23 SDK is the minimum supported version for Android 7 apps.

 Otherwise, Android 21 SDK is the minimum supported version.


 

Also, make a complete backup of the Maximo database instance.

 

We can navigate App.xml using UI Section also.

 

Maximo Anywhere Interview Questions

Anywhere Question
1. What are new changes in 7.6.4
2. How to add a new domain value in Anywhere
3. How to enable esignation in Maximo Anywhere
4. How to enable ldap in Anywhere
6. How to Build apk (command)
7. What is RdfPuller cmd do?
8. What is a ant file?
9. What are Maximo Anywhere applications.
10. How would u test your Maximo Anywhere Application?
11. What you use Anywhere administration application For?

Maximo challenging things to learn

This blog is for people who havs seen everything in development integration funtional etc and got bored from Maximo and Java integration........

..they can start exploring Maximo Gis 
 maximo schedular customization 
 maximo anywhere development...
Explore Rest ApI... 
Call and Insert data using Maximo webservice from Java.
Integration Maximo with Spring jar's

Wednesday, 16 March 2022

maximo query to create new attribute

Query to insert into maxattributecfg (Add attribute from backend) insert into maxattributecfg (OBJECTNAME,ATTRIBUTENAME,ALIAS,AUTOKEYNAME,ATTRIBUTENO,CANAUTONUM,CLASSNAME,COLUMNNAME,DEFAULTVALUE ,DOMAINID,EAUDITENABLED,ENTITYNAME,ESIGENABLED,ISLDOWNER,ISPOSITIVE,LENGTH,MAXTYPE,MUSTBE,REQUIRED,PERSISTENT,PRIMARYKEYCOLSEQ ,REMARKS,SAMEASATTRIBUTE,SAMEASOBJECT,SCALE,TITLE,USERDEFINED,CHANGED,SEARCHTYPE,MLSUPPORTED,MLINUSE,HANDLECOLUMNNAME, MAXATTRIBUTEID,RESTRICTED,LOCALIZABLE,TEXTDIRECTION,COMPLEXEXPRESSION) values ('JOBPLAN', 'TESTING', 'TESTING', null, (SELECT MAX(ATTRIBUTENO)+1 FROM MAXIMO.MAXATTRIBUTECFG WHERE OBJECTNAME='JOBPLAN'), 0, null,'TESTING', null, null, 0, 'JOBPLAN',0,0,0,20,'UPPER',0,0,1,null, 'TESTING',null,null,0,'TESTING',1,'I','NONE',0,0,null,MAXATTRIBUTECFGSEQ.NEXTVAL,0,0,null,null); update maxobjectcfg set changed = 'A' where objectname = 'JOBPLAN'; Run db config for migratinf audit enabled attribes u need to prepare similar query for audit records....and migrate in similar way... anotjer approach is dbc scripts ...

Sunday, 13 March 2022

Steps to install Maximo in windows

  1.  Download maximo files for was db2 and maximo from passport advantable 
  2. run launchpad exe
  3. Run verification Tool
  4. select db2 websphere maximo
  5. select db2 studio if you want to install db2 
  6. select path to install maximo/ http server/db2 etc......
  7. select http port db2 password and db2 port details 
  8. complete websphere configuration
  9. Configure Database 
  10. select language 
  11. Build Ear

Saturday, 12 March 2022

Exit Full screen of oracle virtual box

 CTRL+SHIFT+Q or  CTRL+SHIFT+F

Integrate Maximo birt with Zxing to generate Bar code....

How to generate Workorder for only the parent PM and not for the child PM

  •  Use this PM to Trigger PM Hierarchy :- This is option you will use to generate workroder only for the parent PM and not for child pM.
For parent it will be checked and for child you can unselect it so when parent is due it will generate workroder for parent only and not for child ...

If pm is top level this field will be readonly...........


Thursday, 10 March 2022

BMXAA5626E site is inactive

  when creating site go to user and check can access inactive site

Unable to login to maximo

  check ldapusermngmt , appserversecurity 

 check default site present for user exists in organization

 check check ssl configuration.

check maxadmin or mxintadm user is blocked ?

check loginblock table.

Have u  deleted an attribute or object:- If yes it might impact because their is a chance that u have not deleted dependencies impacting maximo's cache..

Have u added any  attribute or object:- If yes it might impact because their is a chance that attribute already refrenced somewhere from previous migration....

Check are u able to login to admin accounts like MAXADMIN  or Maxintadm user...

Hv u recently upgraded maximo or installed fixpack if yes check url of maximo is in trusted zone of browser...

maximo format date time in birt

Easy way to format date time in maximo birt for a field is 




Tuesday, 8 March 2022

BMXAA1983E cannot approve invoice XXX. the difference in cost between line 2 of the invoice and purchase order is -0.05 USD which is less than tolerance of 0 USD

BMXAA1983E cannot approve invoice XXX. the difference in cost between line 2 of the invoice and purchase order  is 5 USD which is less than tolerance of 0 USD


This issue occurs when their is a difference between Cost in PO and Cost in Receipt or their is a difference between Currency of PO and invoice.........which is greater or less than threshold.

Inorder to check this use the below query to check whether limit tolerance is set or not

select * from maximo.LIMITTOLERANCE where and groupname in (select groupname from groupuser where userid in (XXXX)

Limit tolerance i.e tolerance % can also be set at PO level in PO line details section......

if their is a difference between cost and it is greater or less than threshold i.e limit defined in security group this error occurs. 

Check if tolerance is defined and what is value of tolerance..............

Check if this invoice can be approved by another user of some different group where tolerance is defined...............

Monday, 7 March 2022

Java Interview Concepts

 Java Interview Concepts

  • A Functional interface should have only 1 abstract method.
  • All Non static methods of an interface should be abstract.
  • When we write code we have to write too many null checks else we get Null point exception inorder to avoid it Optional class came in Java 8. Two methods 1. static <T> Optional<T> ofNullable(T value) 2. orElse(T other)
  • Returns the value if present, otherwise returns other.
  • Returns an Optional describing the specified value, if non-null, otherwise returns an empty Optional
  • Enum Constructor must be private.

Friday, 4 March 2022

Oracle Virtual box VM very slow

 Oracle Virtual box VM very slow getting hang


1. set base memory to 4 gb (50%) of your ram.

2. set video memory 32%.

3. Go to System -> Processor - set processor to 2 and execution cap to 40% and Enable PAE/NX 

4. Start VM.