Saturday, 13 August 2022

Profiles in Websphere

 their are 2 types of profiles in websphere


1. Standalone (single JVM) can have multiple application installation... no clustering here 

2. Federated one here we have dmgr and node agent and clustering etc...

when u create dmgr profile a jvm is automitally created for this profile..

3. custom profile or slave profile : it will not have JVM this is nodeagent only.. 

4. APplication server profile : it has 1 jvm  it is  used as a slave.

5. Cell profile 6. Admin Agent 7. Job Manager

Websphere isntallation and setup

 Basically websphere we install in 2 ways


1. Using Root user 

2. Non root user (preferred for produciton too..)


First we will unizip installation manager 


Go to folder where installation manager exists 


cd opt\OurMaximo\IM

unzip imZipFile.unzip


For Root user

./install

For non root user 

.userinst






Wednesday, 10 August 2022

Maximo disabling Ldap..

 

BMXAA4214E Unknow error occurred generating XML or WSDL

 BMXAA4214E Unknow error occurred generating  XML or WSDL 







Solution to this error 

1. Check Directory path in Maximo global directly is correct


2. Check any objectstructure details exists where their is no corresponding objectstructure 
via these queries

select intobjectname, objectname from maxintobjdetail
where objectname not in ( select objectname from maxobject)
order by intobjectname, objectname

select intobjectname, objectname, name from maxintobjcols m
where not exists (select 1 from maxattribute a where a.objectname = m.objectname
and a.attributename = m.name) and intobjectname not like 'REP_%'
order by intobjectname, objectname, name

If objectdetail exists and not object structure.. you need to take backup and remove the objectdetail...for consistency of syste....

Best Email Tips

Want to become email pro.. want your email looks like professional.. Use these tips.. 

1. Use Who What and When when writing email.

2. Break longer email into 2 or more marks with each part defining its own purpose..

3. Try Order TO and CC as per designation .. 

4. Rather than going for @Team Go to particular member's if you want task to be done by some one or 2, 3 people..

5. Specify proper day date and Time when writing email.. do no confuse recipient with CST or IST..

6. Use Attachments in your email or screenshots.. mark in screenshot where to go or where is the issue.. rather than writing in email..

7. If you don't want recipient reply to your email Write FYI or NNTR (no need to reply) in subject itself

8. Info or Urgent should be in subject and should be first character because their may chance if you keep it last, receipt will miss it due to screen and other settings in his/her device..

9. Spell check your email.

10. Draft repeated Emails and Save it

Sunday, 10 July 2022

Troubleshoot Maven Issues

 Steps for troubleshooting maven issues.


1. In your project go to .m2 folder and delete repository folder.

2. Right click on project and do maven clean.

3. Right click on project again and do maven install it will pick latest files from central maven repository.

4. Whenever you change pom.xml then you should do Maven update project this should resolve your issues..

Monday, 27 June 2022

Maximo Sigoption not working giving attribute not found or null pointer exception

 Maximo Sigoption not working giving attribute not found or null pointer exception





When we apply sigoption on application we should apply datasource also to mainrecord so sigoption conditions work for main record for example if I am apply a condition worktype='EM' and does not give the mainrecord for sigoption then Maximo does not know what's main object for this cause worktype attribute not found or null pointer exception etc.....

Thursday, 2 June 2022

'jar' is not recognized as an internal or external command, operable program or batch file.

 Solution :-

set path=C:\Program Files\Java\jdk-11.0.13\bin

set JAVA_HOME=C:\Program Files\Java\jdk-11.0.13\


C:> jar

Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...

Try `jar --help' for more information.


To create jar file


jar -cvf C:\myJars myFolder

jar -cf C:\myJars myFolder

c is create

f is folder

v is verbose.

Wednesday, 18 May 2022

Tips for clearing JAVA 11 819 Exam

1. Practice Dumps atleast 1000 questions you should know the answer.... (better prepare a notebook for it also)
2. See the topics and only prepare for the topics... which are in Exam.
3. Do some courses specially free videos available in Oracle Learning website
4. Do Java magazine quizes. atlease 25 questions......
5. Prepare Notes for study during end time..
6. Prepare a rulebood to note down rules.
7. Go through Java docs..
8. Solve atleast 5 practice questions given on various websites........
9. When in exam first tick the questions you know were right and skip lengthy or tough once ......
10. Then jump to smaller once.
11. At last to Lengthy once.......
12. If solving dumps also see the other option bcoz in exam u often gets confused.....
13. For last 3 days u should only see your rulebook and notes.. which you prepare nothing else.
14. Prepare time table Java required 120 hours of dedicated coding for experience professional with 5 yrs experience and 240 hours of preparation for experienced...one..
15. Focus more on easy topics first like security, annotations., jdbc,Enumeration, etc.......They will help u clear the certification rather than Lambda, OOPS and File handling.
16. Check my Blog :)

Setting Field length in Application XML

In Maximo field length of 3-30 maximo create a textbox with size 10 and if its greater than 31 it consider its size to 40 actually this is obviously disappointed for developers because customer won't like that so here is what u can do...


For Combobox use Width (this one is pixel format so give value like 120 or 150 to see changes)

For Textbox use Size attribute......in XML (this will be db field size)

Maximo Sending email in table format with Multiple rows...

Maximo Sending email in table format with Multiple rows...


2. ways to achieve it...
1. This can be achieved with the help of Automation script (Here we construct message at the time of sending)
2. Using Automation script at the time of saving record...( Here we construct message before sending probably when record is saved and save the mail in db in HTML format) in a custom field...this is send via escalation because constructing and sending email via each escalation run will be very time consuming for escalation ...........(Imaging u decommisioned 1000 assets and sending email for Workorder' details for each asset in a seperate mail.......)


Logic of constructing this email......

Tuesday, 26 April 2022

mbo is not recognized for Allow object creation script

 mbo is not recognized for Allow object creation script


If you are creating object creation script mbo is not recognized...

You need to use mboset instead of mbo 

so mbo.getOwner() should become mboset.getOwner()......

Sunday, 24 April 2022

Maximo Migration Collection

Maximo Migration Collection

This has been asked in various maximo interview questions and lot of developers don't know this because they don't use it much...

Well we develop components in Maximo or configure applications we maintain changes did for all task in Excel and give it to admin to extract. Admin extract them with the help of Object structures and migration groups..

we offcourse remove dependency at this time..

Now in migration collection we can define list of things we are modifying or changes we are doing or even we can enable an event on application so whenever a change is done like we create a new conditional expression in maximo this will be entered automatically in Collection application.

People don't use it much bcoz they don't know prior to development what all components they will modify..But as soon as developers get experience before doing the requirement or changes they know what all they will modify and start using maximo Migration collection application :)...

Maximo Interview questions

Maximo Interview questions


 Technical Questions


How do you rate your self in :-

1. PL/SQL
2. Java
3. Automation Script
4. Mbo Customization
5. Admininstration Jobs
6. Funtional Concepts
7. Maximo Configuration

Do not rate anything less than 7 unless you don't want interview to skip the topic


Deployment / Administration 

1. Explain LDAP integration?
2. Explain SSO and LTPA token?
3. What is global security?
4. How session is managed in Websphere or Maximo?
16. How to insert attributes from Backend? 5. How request is passed in Maximo?
6. How to do horizontal and vertical clustering?
7. Explain how you confire websphere for maximo manually?
8. What are Websphere MQ?
9. What is JMS, Connection Factory and Queues?
10. What is difference between vmm and ldap sync integration ?
11. What is Standalone and federated repository?
12. How to install a new language in Maximo?
13. What are the steps to apply a Fix pack in Maximo, Websphere or DB2?
14. Have you worked on any performance checking tools?
15. Have you worked on Junit?
16. What is devops in terms of maximo deployment.
17. What is Silent installation?
18. How u resolve port conflicting issues?
19. What are commonly seen issues during installation or maximo upgrade?
20. Why should you never start anything using root user?
21. How do you identify java memory leak and if found what would be your approach to resolve it?
22. What is the log4j vulnerability?
23. How to configure SSL?
24. What are steps of Maximo Installation?
25. What is the command to kill particular process in Unix/Linux
26. What is command to remove all files start with heap*..
27 Where u create Maximo Integration Queues specially continuous queues...

Customization Question

1. Why do we write remote classes?
2. What is the most complex customization you have ever done?
3. How you configure eclipse for customization
4. What is status handler class why we write it ?
5. Explain how can you make an application Stateful?
6. What is the use of event handler class?
7. How can you redirect user's to another JSP page when they are accessing your login page?
8. How to modify product.xml when u are customizing a class?
9. How can we change skin's in Maximo?
10. How do we create a new domain ?
11. How do we create a new synonym domain?
12. How can you make a workflow display a non persistent field or a field which does not exists in current object?
13. What is the use of AppValidate Method?
14. What is JAX-RS?
15. You have a workflow and javacode which is called by action of workflow? if their is an error in code or exception is thrown how it should be handled in class ? Is their any mechanism to handle such event in workflow using conditions?
16. What is new workflow features in current version of Maximo.
17. How u decide which integration is best...
17 User wanted lookup values which will be compination of 2 text box values how can u achieve this without creating new attribute?(this is one is abnormal question right?)

Automation Script

1. Is there a way you can achieve Custom status implementation through Automation Script
2. How can you handle dialog's using automation script?
3. What are types of Automation script you have created or you create.
4. Can automation script replace an event handler class?
5. How to retrieve list in Automation script for an attribute in Maximo 7.6
6. how can I have an automation script to export data at certain time of the day and then send the exported file to other server.
7. What best practices you should follow while writing automation scripts?
8. How to use sqlformatter in automation script?
9. If you need to implement or extend failure list with another level what all configuring/customization should be done (basically user is checking your logic)
10, What are library scripts which you created in your current application ? (example create a small condition script to return true if mbo to be saved and false if not and use it at many places like conditonally configuring UI in appdesigner to make fields readonly after value is entered and also can be called from another script pasing MBO using CTX and MAP).
11. What are the intgeration scripts you worked on ?
12. What is Allow Object deletion and Allow object creation ?
13. Give different methods getting called from automation script and relevant maximo mbo methods?
14. How to set complete mbo to readonly except 4 fields... (what is the script)?

Configuration Question

1.  What is the difference between table domain and synonym domain?
2.  How many types of objects we can create in Maximo?
3. Why do we create non persistent attributes or object?
4. What happens when I run Db Config and Turning on/off admin mode?
5. What would you do if Db Config failed?
6. Can you insert a textbox in a work order application ?
7. How can you replace work order Number with Job Order Number in every application in Maximo?
8. What are the different types of controls ?
9. What are ways to hide a field in Maximo?
10. How to make a kpi?
11. How to add non persistent field in resultset?
12. What is Edit go button in workflow?
13. Can you create 2 alndomain with same name via dataloading if yes then how system will behave?
14. How u will implement multiselect in lookup?
15. How do you change lookup name dinamically?
16. Impact on a field if i use Sigoption condition and Conditional UI both ?when to use conditional UI and when to use Sigoption condition (donot need example of delete given in other blogs)
17. What is impact of Sequence on Conditions in application Designer?



Start Centers/Result sets/KPI

1. How can you refresh start centers every 1 minutes for particular users?
2. How to create WorkCentre?
3. How to give access to WorkCentre in Maximo?

Birt Report  Question
1. How you configure Birt designer from Maximo?
2. How to create Cross tab report?
3. How to create Linked dataset?
4. How to migrate user from one report to another?
5. How can you update database table using report?
6. What is the functionality of ABC Report
7. How to change report title dynamically?
8. What are different functions in report you have used ?
9. What is order of report functions?
10. What is the difference you found in Birt and Other reporting tools?
11. You were investigating some issue and saw 1=0 condition in maximo or in workflow 1=1 what can be a reason to create such conditions in wf or other places?? Think for both conditions.
12. Can I hv 2 wf on same object both active how will system behave can their be 2 options....
13. How to change Date time in Birt (Format date time)
14. How to generate Birt Report barcode?
15. How to use Masterpage in birt report
16. How to break page conditionally...
17. How to use grouping in birt?
18. How to create Multitab report..



Cognos Reporting Question
1. How to configure Maximo with Congnos?

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?


Workflow Question

Migration Manager Question
1. What are different process you use for migration.



MIF Questions

1. What are different integration you have done?
2. What is XSL Map ? Why json mapping preferred over XSL mapping?
2. What is rest api?
3. Differenciate between soap and rest?
4. How many types of web service we can create in Maximo?
5. Explain Maximo Integration Framework and this modules applications use?
6. Apart from Maximo MIF, Rest Api etc what integration you saw ?
7. How you can consume a webservice using Soap?
8. How can you consume a websphere using Rest?
9. Why Rest API I need to send 1 Workorder with 5 tools what code should I write for this  shall I do it why for loop with multiple post or create a json object or is there any other way?
10. Give a scenario of o/b integration and i/b integration what all configuration /customization ?
11. When will you chose Continuous queues/When you will go with Sequencial queues / When you will go with Webservice integration/ When u will go with JMS Queue based integration of or Publish channel based XML interface?
12. Difference between skip and skip record?
13. Methods to loop through tree for ERDatat and IrData 
14. How can u loop through a big xml using Maximo integration methods name few methods and their use?
15. How can u remove duplicates if it comes from inbound integration?
16. how can u customize end point handler ?
17. Difference between HTTP integration Post method and REST API Post?(Here interviewer is confusing you asking do you know what is HTTP integration and Rest API Integration don't get confused.)


Functional Questions :-

1. What is an Asset, Item?
2. On what basis you can select architecture to be single site / multisite etc.
3. What are ways you can create Work order in Maximo?
4. What are ways you can create Invoice in Maximo?
5. What is Asset life cycle?
6. What is Purchasing Life Cycle?
7. What are different modules of Maximo?
8. How many types of contract can be created in Maximo?
9. What is EAM?
10. Explain reorder process?
11. Explain Pm functionality and how earliest next due date calculated?
12. How do you configure security groups?
13. What is an independent security group and dependent security group?
14. You have uploaded some workorders and next day activated pmwogen cron which created some more wo's ? Now client does not wants pmwogen wos sequence to be after uploaded wo's sequence how would you correct it?
15. What is reorder point and economic order quantity?
16. How to call an automation script from another automation script?
17. What type of assets are focus in Maximo?
18. What is the difference between TSRM, SCCD and Maximo
19. What is the difference between Maximo 7.5 and 7.6.
20. How to let maximo not to track status history for tasks workorder?
21. What are features of Maximo 7.6
22. How will you make Maximo Service request application to work as a work order if in case client requires it ? Is it possible?
23. Is there any search criteria for vendor if yes where and how it is used if not how can we create one....in case of po creation automatically by system....
24. Where does entry for Order number (PONUM) for reciept from PO created in vendor ERP goes in maximo.........?
25. What will be setup and what value to be setup for say your invoice is just double the Po cost.?
26. What is Lot ,  ABC Type, ABC Analysis ?
27. When gathering customer requirement or during business discussion how to handle questions for OOB and custom changes like can maximo be  100% customized ?
28. How you gather requirements ? How you map different requirements ?  
29. Give funtional overview of your clients business process?
30. Which add-on of maximo you worked on ? What is CU Estimates?
31. Difference between move modify and inventory usage ( Hint move modify from operative to inventory or operating to another operating location  and inventory usage from storeroom to storeroom)
32. What are all add-ons you worked on in maximo...


Maximo Anywhere :-

1. Explain Architecture of Maximo Anywhere?
2. How to configure mobile first in eclipse for customization?
3. What are anywhere configuration and customization points?
4. What are steps to upgrade anywhere?
5. What files you deploy when you install anywhere ?
6. What is the difference between build mobile first and build all?
7. What are commonly used functions of dojo?
8. What is dojo base and dojo util?
9. What are 2 types of scripts used for build?
10. What is OSLC integration?
11. What is mobile first platform, what are its advantages?
12. What is OSLC?
13. What is an ant file?
14. How can you check Maximo anywhere performance?
15. What are the properties you can setup from build.properties?
16. How to ask for signature (E-signation) which status change in Maximo anywhere (write where you will do the modification)?
17. How to implement status change functionality in Maximo anywhere (How to add new status)


Upgrade

1. What challenges you faced during upgrade how you resolve it ?
2. Functionality of integrity checker?
3. How would you handle maxsequence issues ?
4. What are steps to do maximo upgrade?

PM Questions?

1. How PM hierarchy works in Maximo?
2. How to generate workorder from PM for only parent workorder and not child?
3. How to show, how many workorder are generated from PM - (answer is not counter field but life to date counter field)

Team Lead Questions..(If you are going for this position pls. answer confidently)

1. How u use Agile in your project.. what's the process...?
2. How do you handle difficult clients..?
3. How you keep team motivated...?
4. How much you are involved in Solutioning..
5. What is the size of team you are handling...
6. What are your day to day activities as a Team Lead...



Saturday, 23 April 2022

Maximo Table domain over Aln domain

Maximo Table  domain over Aln domain

sometimes we have requirement to filter aln domain, a way of it can be to create a table domain over the aln domain and apply list where clause.

Technically this design is not incorrent....


* Now their is a catch with this ... what suppose we want to further filter this with automation script...... when maximo build this list where clause 

domain type :- Table domain

ALN Domain :- Months

List where :-  domainid='MYMONTHDOMAIN' 

Automation script :- listwhere("month.startswith [J])


when we apply this to field that field might not respect your list where clause sometimes...so you might need reapply the domain in automation script on field..


so you in autoscript whereclause should be formed like


wherecaluse =domainid='monthdomain' and value in (value.statrtwith (J))


because maximo ignores what's coming with list where clause....

Sunday, 10 April 2022

Improving maximo system performance

Understand existing system, check no of transactions in a day for main objects like workorders Po assets inventory ..

Check no of concurrent users ,
No of clusters...
Ram division between clusters....
Hard disk....
Indexes on main objects and custom objects...
Archiving of old data...
Closure of old records....
Check Maximos best practices are followed in where clauses of conditions queries and relationships...

Check if db can be migrated to exadata for speed...Delete not required or unused migration package inactive wf transactions based on ibm guidelines ....

Check latest fixpacks are installed on Was and db.. and Maximo..

If some custom cron taking too much time check if we can use fetch first aur create an autoscript and do same work from storedproced bco they will more faster than java code or autoscript...

Run integrity checker before and after every deployment of changes to production

Update maximo statistics on regular basis...

Check if can create common scripts or library scripts....

Write a utility to move heap dumps to some other dev server or temporary location so it will not create memory issues for you.......

Create a utility to check heap dumps and send admin email for the same........



Maximo Automation Script Cache issue unable to login

 Unable to login to Maximo because of Cache issue:-


AUTOSCRIPT CACHE ERROR AFTER DB CONFIG...........

WELL IF YOU DELETE A TABLE U NEED TO DELETE ASSOCIATED AUTOMATION SCRIPT ON LAUNCH POINTS.

Similarly this issue can also occur if you add some attribute or migrated some changes related to autoscript but removed a launch point ...

Solution 1.  identify missing attribute lauchpoint or object launch point inactivate entry or delete it..

Solution 2. Turn on admin mode to login and identify which script is causing issue..


Maximo Listner refused connection with error ORA-12516 TNS: Listerner

 This error usually occurs when listernet sessions are full or the TNS listner is blocked. i.e integration system is down To resolve this activate or restart Service handler (3rd Part System)

Post upgrade tasks and testing application in dev...

Monday, 4 April 2022

Item types in Maximo

Their are 3 types of items in maximo

*Stocked
*Non Stocked
* Special 

Stocked items are items you reorder and maintain balance in inventory

Non stock are occationally ordered itesms. You don't put it in for reordering.

Special price items are items for special purpose you don't hold it in inventory as soon as work done with them you delete them...they are just one time useful...

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.

Sunday, 27 February 2022

Maximo technical Interview questions

 Technical Questions


How do you rate your self in :-

1. PL/SQL
2. Java
3. Automation Script
4. Mbo Customization
5. Admininstration Jobs
6. Funtional Concepts
7. Maximo Configuration

Do not rate anything less than 7 unless you don't want interview to skip the topic


Deployment / Administration 

1. Explain LDAP integration?
2. Explain SSO and LTPA token?
3. What is global security?
4. How session is managed in Websphere or Maximo?
5. How request is passed in Maximo?
6. How to do horizontal and vertical clustering?
7. Explain how you confire websphere for maximo manually?
8. What are Websphere MQ?
9. What is JMS, Connection Factory and Queues?
10. What is difference between vmm and ldap sync integration ?
11. What is Standalone and federated repository?
12. How to install a new language in Maximo?
13. What are the steps to apply a Fix pack in Maximo, Websphere or DB2?
14. Have you worked on any performance checking tools?
15. Have you worked on Junit?
16. What is devops in terms of maximo deployment.
17. What is Silent installation?
18. How u resolve port conflicting issues?
19. What are commonly seen issues during installation or maximo upgrade?
20. Why should you never start anything using root user?
21. How do you identify java memory leak and if found what would be your approach to resolve it?
22. What is the log4j vulnerability?
23. How to configure SSL?

Customization Question

1. Why do we write remote classes?
2. What is the most complex customization you have ever done?
3. How you configure eclipse for customization
4. What is status handler class why we write it ?
5. Explain how can you make an application Stateful?
6. What is the use of event handler class?
7. How can you redirect user's to another JSP page when they are accessing your login page?
8. How to modify product.xml when u are customizing a class?
9. How can we change skin's in Maximo?
10. How do we create a new domain ?
11. How do we create a new synonym domain?
12. How can you make a workflow display a non persistent field or a field which does not exists in current object?
13. What is the use of AppValidate Method?
14. What is JAX-RS?
15. You have a workflow and javacode which is called by action of workflow? if their is an error in code or exception is thrown how it should be handled in class ? Is their any mechanism to handle such event in workflow using conditions?
16. What is new workflow features in current version of Maximo.
17. How u decide which integration is best...

Automation Script

1. Is there a way you can achieve Custom status implementation through Automation Script
2. How can you handle dialog's using automation script?
3. What are types of Automation script you have created or you create.
4. Can automation script replace an event handler class?
5. How to retrieve list in Automation script for an attribute in Maximo 7.6
6. how can I have an automation script to export data at certain time of the day and then send the exported file to other server.
7. What best practices you should follow while writing automation scripts?
8. How to use sqlformatter in automation script?
9. If you need to implement or extend failure list with another level what all configuring/customization should be done (basically user is checking your logic)

Configuration Question

1.  What is the difference between table domain and synonym domain?
2.  How many types of objects we can create in Maximo?
3. Why do we create non persistent attributes or object?
4. What happens when I run Db Config and Turning on/off admin mode?
5. What would you do if Db Config failed?
6. Can you insert a textbox in a work order application ?
7. How can you replace work order Number with Job Order Number in every application in Maximo?
8. What are the different types of controls ?
9. What are ways to hide a field in Maximo?
10. How to make a kpi?
11. How to add non persistent field in resultset?
12. What is Edit go button in workflow?
13. Can you create 2 alndomain with same name via dataloading if yes then how system will behave?
14. How u will implement multiselect in lookup?
15. How do you change lookup name dinamically?
16. I want to present user with 4 status options for Workorder to user WMT, Approved, Cancelled, Close from WAPPR how to achieve this requirement
without automation script and customization.?(Hint WF Manual input :) )



Start Centers/Result sets/KPI

1. How can you refresh start centers every 1 minutes for particular users?
2. How to create WorkCentre?
3. How to give access to WorkCentre in Maximo?

Birt Report  Question
1. How you configure Birt designer from Maximo?
2. How to create Cross tab report?
3. How to create Linked dataset?
4. How to migrate user from one report to another?
5. How can you update database table using report?
6. What is the functionality of ABC Report
7. How to change report title dynamically?
8. What are different functions in report you have used ?
9. What is order of report functions?
10. What is the difference you found in Birt and Other reporting tools?
11. You were investigating some issue and saw 1=0 condition in maximo or in workflow 1=1 what can be a reason to create such conditions in wf or other places?? Think for both conditions.
12. Can I hv 2 wf on same object both active how will system behave can their be 2 options....



Cognos Reporting Question
1. How to configure Maximo with Congnos?

Anywhere Question

Workflow Question

Migration Manager Question
1. What are different process you use for migration.



MIF Questions

1. What are different integration you have done?
2. What is XSL Map ? Why json mapping preferred over XSL mapping?
2. What is rest api?
3. Differenciate between soap and rest?
4. How many types of web service we can create in Maximo?
5. Explain Maximo Integration Framework and this modules applications use?
6. Apart from Maximo MIF, Rest Api etc what integration you saw ?
7. How you can consume a webservice using Soap?
8. How can you consume a websphere using Rest?
9. Why Rest API I need to send 1 Workorder with 5 tools what code should I write for this  shall I do it why for loop with multiple post or create a json object or is there any other way?
10. Give a scenario of o/b integration and i/b integration what all configuration /customization ?
11. When will you chose Continuous queues/When you will go with Sequencial queues / When you will go with Webservice integration/ When u will go with JMS Queue based integration of or Publish channel based XML interface?
12. Difference between skip and skip record?
13. Methods to loop through tree for ERDatat and IrData 
14. How can u loop through a big xml using Maximo integration methods name few methods and their use?
15. How can u remove duplicates if it comes from inbound integration?
13. if event listner enabled on a field and processing rule is not configured how u write a code so that u modify a field and it will not cause interation to trigger in this only case for a particular record.........without  processing rule?
14. How ifate tables maintain primary column , do we need to specifically define idex for them...
15. How maximo handles parent child relationship in case of iface tables?
16. What is view based integration?...
17. How will you trigger an integration on Creation of Asset in Maximo?

Companies to work for in java technology

 1. Apple

2. Microsoft

3. Google

4. Accenture

5. IBM

6. WIPRO

7. TCS

8. Infosys

9. L&T

10. Siemens

11. Cognizant

12. FIS Global

13. Thomson Reuters

14. PWC

15 E&Y

16. KPMG

Thursday, 24 February 2022

Difference between Skip and Skip Record

 Skip : This processing Rule will skip the entire transaction. this can be applied on main object or child object.

Message will be deleted from queue


Skip : This processing rule will skip the particular record and child records 


Example If you want to skip transaction when workorder goes to Waiting for material you can use Skip rul e on main record


If you want to skip labor which belong to Organization A but still want to send workorder along with other labors use Skip record action.........

Friday, 18 February 2022

Integration flow in case of Publish Channel Service

Integration Automation Script Basics

Below are option after we select Integration :-


 We create publish channel Scripts for publish channel (data going out)


We create enterprise service Scrips for Enterprise Service (data coming in)


We create Invocation Channel Script for Invocation Channel

Integration flow in case of Enterprise Service

Thursday, 17 February 2022

json Mapping in Maximo

 Json Mapping in Maximo 

When we send data to Maximo, response we receive in XML format. What if we want to receive responce in JSON format with 7.6 version this is possible with JSON API in Maximo.

We creating mapping for json for a particular enterprise service and also cofigure response.


For this we us JSON Mapping application. We can configure properties for mapping source and target values.


Json mapping can be used in caseof inbound transactions as well as outbound transactions....



Monday, 14 February 2022

How to transform inbound message in maximo format

 How to transform inbound message in maximo format

We often have requirement to transform inbound message to maximo format :-

2 ways it can be achieved 


1. XSL transformation

2. User Exit


In case of XSL transformation we create a XSL file based on inbound xml.

Friday, 11 February 2022

Integration error debugging

 1. Check processing rules (Skip Start)

2. Check loggers exception and integration.

3. Check admin mode.

4. Check crontask JMS sequential consumer

5. check end point accesible.

Sequencial Consumer cron task failed with error specified value is not valid yes or no value enter Y or N

 This error can occur during cron run in logs or during process selected message in Maximo.

In logs you can enbale logs for crontask, Exception, Integration to reproduce this error in logs.


Solution : define pretyprint property  with value 0 or 1 in end point for you xml end point.

Creating JMS Consumer queue error :- Attribute Memo does not exists

 Creating JMS Consumer queue error :- Attribute Memo does not exists 


This is cron cron instance class for JMS when u create a new queue to resolve this apply fix pack 7.6.0.8.

Thursday, 10 February 2022

Maximo Integration Scenarios for Practice

 1. Create inbound webservice.

2. Publish data using webservice on event listener

3. Publish data using cron task on particular schedule or on Escalation. 

4. Integrate using Interface Table (Use both Publish and Sync).

5. Create a Java simple web applicaiton and integration with maximo using webservice

6. Read Data using java File handler from Maximo automation script.

7. Write code to insert data in maximo using RMI binding.

8. Open another application like Flipkart or Amazon from maximo from a place where u select items......

9. Connect Maximo with any filenet server or any file based server.

10. Use Flat file consumer to consume flat files using cron.

11.  Use Soap UI or HTTP or JSON Api to send data to Maximo

12. Change Workorder number and prefix it with EXTSYSTEM+WONUM when workorder getting created in maximo from external system.

BMXAA1581E No object with the name {0} is set up in the JNDI tree. Check the JMS/JNDI setup in the server administration console

 BMXAA1581E No object with the name {0} is set up in the JNDI tree. Check the JMS/JNDI setup in the server administration console





This error might come after you setup queue after you create destination then queue in websphere and add same in external system Add/Modify queue and same thing in main table of external system.....

When u click on publish maximo can give this error.........

reason is JNDI name you specifiy in maximo when adding queue from select action does not match with jndi name you specify in websphere......

Go to Websphere ->resources->JMS->queues ->and open your queue and check jndi name now check same name in maximo add/modify queue select your queue and check the jndi name........

Check the connection facility class in add/modify queues compare it with other queue whether it is requried / cusotmized or something

delete data of your new queue(if it is not required else take backup or ask integration team to resend in case you have backup).. and now try....

export message again and check in queue (bus->destination-> your queue - > queue points ->Runtime -> messages ->u will get data flowing...:)

Migrating subprocess in Maximo

 If you are modifying a single workflow subprocess points are 

1. It is not require to activate it else it will be shown as option for default workflow ....

2. After migration only enable it and syncronize with workflow so that new records will pick up your latest workflow........

3. Migrate dependency like email/escalation etc on this wf first then migrate workflow.

escalation not starting

 1. Check donotrun property in particular JVM in system properties application.......

2. Check crontask is working for escalation with instance name as your escalation name...

3. Check your adminemail/global directory is setup

4. check admin mode is on or not?

Running automation script from cron task

 1. Create script named CRONAUTOSCRIPT without launchpoint .......

2. Create a crontask with class name com.ibm.tivoli.maximo.script.ScriptCrontask

3. Give runasUser and create new instance.

4. Give the scriptname as CRONAUTOSCRIPT and give arguments if you need any...

5. Activate crontask.

You can do all work which you will do with crontaskcall like 


Getting mbset from server looping, performing opration in bulk..............

BMXAA4211E - Database error number 1 has occurred when operating mbo...

 BMXAA4211E - Database error number 1 has occurred when operating on WFINSTANCE


This solution you can use for any table generic solution in oracle db only 

this is duplicate id issue.. (if you cannot remove duplicate just increase nextval like i did since in my case too i can't find duplicate and max value is greater than nextval.

select max(WFID) from maximo.wfinstance

*select maximo.WFINSTANCESEQ.NEXTVAL from dual;

increase you value with some 1000's from o/p of query 1...

example

*alter sequence maximo.WFINSTANCESEQ restart start with 17572034;



Similary if it comes for wfcallstack 


 BMXAA4211E – Database error number 1 has occurred when operating on WFCALLSTACK:   Report the error to the owner of the deployment.

   

check maxvalue   

select max(wfcallstackid) from maximo.WFCALLSTACK 

   check next value

   select maximo.WFCALLSTACKSEQ.NEXTVAL from dual;

increase value by some 10000 etc......

alter sequence maximo.WFCALLSTACKSEQ restart start with 36946999;



how to stop all instances of a workflow in bulk

How to stop bulk workflow like all PO workflow's etc........


UPDATE MAXIMO.WFINSTANCE SET ACTIVE = 0
WHERE OWNERTABLE = 'PO' and active=1

UPDATE MAXIMO.WFASSIGNMENT SET ASSIGNSTATUS = 'INACTIVE'
WHERE OWNERTABLE = 'PO'  and ASSIGNSTATUS = 'INACTIVE'
 
UPDATE MAXIMO.WFCALLSTACK SET ACTIVE = 0
WHERE ACTIVE=1 AND WFID IN (SELECT WFID FROM  MAXIMO.WFINSTANCE WHERE ACTIVE = 1
AND OWNERTABLE = 'PO') AND PROCESSNAME LIKE '%PO%'

another way is escalation using oob action class (recommended way) check IBM notes...

Thursday, 3 February 2022

BMXAA4082 WHERE CLAUSE IS EITHER EMPTY ..

 2causes if u are setting null value and you have check option allow null......remove it from db config bcoz it's trying to set null from parent...


1.  Where clause return multiy values use rownum less than 2 or 

2. Use Max or min to return firdt record...

Wednesday, 2 February 2022

Maximo workflow delegate

 If we assig. Delegate in person and date from and too workflow will automatically route to delegate for these dates.

But if we have to create 2assignments then select option preserve original assignment when delegating.....


Thursday, 27 January 2022

Dynamic MboSet a beutiful concept of Maximo

We can create dynamic mboset using relationship 

For this we can use &Owner&.assetnum this is an example for where clause to get the current owner value.


else we have do get Mboset("ourcustomMBOset")


then apply setWhere and reset using sql format.

Friday, 21 January 2022

If Else clause or decode or Case in Where clause

 If Else clause or decode or case in Where clause


We are not going to check here if else or decode or case but i am going to tell u an alternate.........


Suppose we need workorder's with status =APPR  else I need WAPPR but i have to give preference to APPR solution

select * from maximo.workorder where status in (APPR,WAPPR) order by status desc


Now suppose we have 2 records one is appr and one is wappr

Then modify this query like 
Select * from maximo.workorder where workorderid in (
select workorderid  from maximo.wokrorder where workorderid in (select workorderid from maximo.workorder where status in (APPR,WAPPR) order by status desc
)  where rownum<2)


So we are using here rownum to display approve before wappr ............


If we have only wappr records then our subquery will return wappr records only and with  rownum<2 

we will get only one record....................


This you can use in relationship of maximo where u have to find 1 record only as fetch 1st alternate.......

Wednesday, 19 January 2022

how to use sqlformat in automation script

  status=mbo.getString("status")

 siteid=mbo.getString("siteid") 

  assetSet=mbo.getMboSet("ASSET")

  sqlFormat = SqlFormat(assetSet.getUserInfo(), "siteid = :2 and status=:1 ")

  sqlFormat.setObject(1, "ASSET", "STATUS", status)

  sqlFormat.setObject(2, "ASSET", "SITEID", siteid)

  assetSet.setWhere(sqlFormat.format())

throw error in one line

 raise ValueError(' Cust Mesg')

Tuesday, 11 January 2022

Books and Blogs on Maximo

 1. Maximo Functional Consultant :- get it from Amazon/Google Bookstore..

2. IBM Redbooks (User Guide, Certification Guide, Performance Guide, Workflow Guide , Multisite Implementation, Application designer Guide)

3. Bruno's blog

4. Maximoconcepts blog

5. MaximoTimes blog

6. Ourmaximoblotspot


High Level Overview of Maximo Architecture (clustered environment with Ldap)

Saturday, 8 January 2022

cannot find symbol DateTimeFormatter

 java 11 cannot find symbol DateTimeFormatter



This error occur due to import statements are missing..


import java.time.*;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.Month;
import java.time.format.DateTimeFormatter;
import java.util.Date;


public class DateTimeAPI 
{

public static void main(String[] args)
{


 LocalDate date2 = LocalDate.of(2020, Month.NOVEMBER, 10);
        LocalTime time2 = LocalTime.of(19, 23);
        LocalDateTime dt2 = LocalDateTime.of(date2, time2);
System.out.println(date2.format(DateTimeFormatter.ISO_LOCAL_DATE));
        System.out.println(time2.format(DateTimeFormatter.ISO_LOCAL_TIME));
        System.out.println(dt2.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME));
var formatter2 = DateTimeFormatter.ofPattern("MM/dd/yyyy hh:mm:ss");
        System.out.println(dt2.format(formatter2));


System.out.println(LocalDate.now());
System.out.println(LocalTime.now());
System.out.println("Local date time "  +LocalDateTime.now());
System.out.println("Zoned Date time" +ZonedDateTime.now());

LocalDate date1=LocalDate.of(2020,Month.NOVEMBER,10);
System.out.println("local date  "+date1.now());

LocalTime time1=LocalTime.of(10,55);


LocalDateTime ldt2=LocalDateTime.of(2020,Month.NOVEMBER,10,10,55,55);
System.out.println("localdatetime "+ldt2);

System.out.println("day of Year "+ldt2.getDayOfYear());
System.out.println("Get Month Of Year"+ldt2.getDayOfMonth());

//custom format

var dt=LocalDateTime.of(date1,time1);
var formatter1 = DateTimeFormatter.ofPattern("MM/dd/yyyy hh:mm:ss");
System.out.println(dt.format(formatter1));


}


}

Java Secure coding guidlines

 Java Secure coding guidelines

1. Use Security Api's.
2. Always Close open resources use Try with Resources.
3. Use Class Loaders and Policy's for fine grain access
4. Always validate input format and input data .
5. Never grant unnecessary permission to third party code.
6. Never ignore exceptions  
7. Avoid duplications.
8. Document Security Information 
9. Encapsulate your changes.
10. Write Clear Code.
11. Do not log config information of your app.
12. Do not serialize security Codes.
13. Always do negative Testing against your code.
14. Use known and tested libraries
15. Always use prepared statements to handle SQL parameters.
16. Don't reveal implementation via complete error messages example userid failed or password failed.
17. Keep security releases up to date.
18. Look for dependency vulnerabilities.
19  Monitor and log user activity for brute force attack and denial of service.



Friday, 7 January 2022

Need to load millions\lacks of records in Maximo

Need to load millions\lacks of records in Maximo 
 

Their might be chance you need to load millions of records in existing maximo records but since ur system might have already so many records uploading using dataloader or any csv will be difficult another option you can use  iface tables in another schema that in Maximo and then configure baches in Maximo.
You can monitor these batches.

Wednesday, 5 January 2022

Steps for clearing Cloud practitioner certification

 1. Do Stephen Course on udemy (better u do aws developer so u don't need to purchase 2 course)

2. Do stephen practice test course

3. On youtube search for dumps of cloud practitioned u will get 90% questions from them.

4. Solve AWS practice dumps on aws certification site...

No need to study whitepapers, etc 

How to clear Java developer 11 Certification 819

 How to clear Java developer 11 Certification 819 (6 Months for fresher... 2-4 Months for Experience developer assuming avg. 3years experience)

1. Study Durgasoft Core java lectures and videos

2. Study Durgasoft Java 9 Features 

3. Study Durgasoft Java 11 Features

4. Study OCP by Jeanne Boyarsky or kt siera..

5. Enroll  couple of for practice test of udemy's /ethuware/wh...labs..

6. Work on Dumps of Youtube

7. Write code on notepad only and pay attention to command prompts.

8. Do lot of code, code ... code and code... 

9. Oracle.com docs...

Solve mock test every 2 weeks (3 Months === 10 Mock Tests Minimum likewise )


If you fail with low score than again study resources... 

Divide your time to complete.. Speed up your study if required.

Partition your study in these category like I did and mark it checked :- 


Topics

Theory

Videos

Practice Programs Made

Dumps

JPMS



 

 

Annotations



 

 

Diamond Operator



 

 

Secure Coding in Java SE Application.......



 

                                                                                                                                                     


BMXAA4473E : The assignments created for task in workflow process do not include an owner for the task.

 That means assignment is going to Role but the role is not found example suppose u want wf to be assigned to supervisor of person but if supervisor field blank then this error will come.