Skip to main content

Posts

Showing posts from February, 2020

Kafka Comands

Starting Zookeeper  C:\kafka_2.12-2.4\kafka_2.12-2.4.0\bin\windows>zookeeper-server-start C:\kafka_2.12-2.4\kafka_2.12-2.4.0\config\zookeeper.properties Starting Kafka server C:\ Kafka\ kafka-server-start.bat C:\kafka_2.12-2.4\kafka_2.12-2.4.0\config\server.properties Creating topics C:\Users\AnilBalwani>kafka-topics --zookeeper 127.0.0.1:2181 --topic test_topic --create --partitions 3 --replication-factor 1 WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both. Created topic test_topic. C:\Users\AnilBalwani> List topics C:\Users\AnilBalwani>kafka-topics --zookeeper 127.0.0.1:2181 --list test_topic Kafka Information about topics C:\Users\AnilBalwani>kafka-topics --zookeeper 127.0.0.1:2181 --topic test_topic --describe Topic: test_topic      PartitionCount: 3       ReplicationFactor: ...

error running Kafka zookeeper

Error running Kafka org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing config\zookeeper.properties C:\kafka_2.12-2.4\kafka_2.12-2.4.0\bin\windows>zookeeper-server-start config\zookeeper.properties [2020-02-29 17:59:17,354] INFO Reading configuration from: config\zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2020-02-29 17:59:17,365] WARN config\zookeeper.properties is relative. Prepend .\ to indicate that you're sure! (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2020-02-29 17:59:17,367] ERROR Invalid config, exiting abnormally (org.apache.zookeeper.server.quorum.QuorumPeerMain) org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing config\zookeeper.properties         at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:154)         at org.apache.zookeeper.server.quorum.QuorumP...

Selecting different elements in Jquery

For selecting an id field with name mytable we can use $('#mytable') we can also use $('.mytable') If you want to select a row in my table use $('.mytable.tr') if you have to select h1 which is inside a paragraph which is  inside a div $('div.myDiv p h1') To get first row of table $('#myTable tbody tr:first') To select every text box and paragraph $('p,input') Change background of first row $('#meetable tbody tr:first').css('background-color','blue')

"BMXAA4024E - The synonym value REPORT is not valid for the domain REPORTTYPES."

This error occurs in Multilanguage environment. whenever you add a new report and generate request page you can get this error because you have old reports from previous maximo version which are cause problems. What you have to do is delete the no longer required data using steps from IBM page and then regenerate request page for all reports and then run the report.

BMXAA0883E Entered path is not valid / BMXAA0883E entered file is not valid

BMXAA0883E Entered path is not valid / BMXAA0883E entered file is not valid Creating folder in any maximo application can cause this error  psdi.util.MXApplicationException: BMXAA0883E - The entered path \\maximo\DOCLINKS\ATTACHMENTS is not valid.  SystemErr R at psdi.app.doclink.FldDoctypesDefaultFilePath.validate(FldDoctypesDefaultFilePath.java:117) This error can occur when user id is not mapped in http server for doclinks. There can be another reasor is http and websphere services have different logon userid etc. Another solution could be doclinks folder did not have permission (security) access using websphere user once you put them it will work.

How to run a VMware machine in Virtual Box

How to run a VMware machine in Virtual Box Open Oracle virtual box and create new machine. Select use exisiting machine and browse to your VMware vmdx file. Open the machine.  Allocate a ram and select file upload download as bidirectional in advanced. Give a storage and select boot from hardisk. Start your machine.

Workcenter Customization

Slowly but gradually Maximo will make you work on front end only. To make it fully front end customizable tool workcenter is introduce which eventually will replance existing core maximo screens. We for customizing workcenter you need know basics of JavaScript/jquery and rest api. If you go to Maximo application path C:\ibm\maximo\application\maximo-x you will be able to see files which contain HTML and jquery files. Their are lot of lybraries which you require knowledge to customize work centers Key libraries are 1. Polymer.html 2. Jquery UI (Most Important) What is Polymer.html or Polymer api is doing is you create separate-separate components like login,authentication, rest etc. and using this polymer api you import those components where it is required. What else you can do with polymer is you create you custom html element give it a name and use it. So you don't have all the code on one page and it will not look very bulky code for you. Jquery UI gi...

How to calculate efforts (hours) required for upgrading maximo

This is a vast topic but I will give a basic summary required : - 1. Note down all customizations (Custom Classes and automation scripts). 2. Note down all test cases done for core maximo implementation (critical one's ) 3. Note down all integration/dependent addons/reporting/Unix scripts involved. 4. Divide no. of hours based on hour's per individual. 5. Make an excel to with gantt chart similar to Maximo Schedule for resource allocation. 6. Check all latest features you can use from new Maximo or check what existing customization can be removed after upgrade. 7. Add certain number of hours for customization which you might need to do because of incompatibility with existing customization/code optimization/ java code to script conversion. 8. Add time required to run each test case. 9. Note down all assumptions, dependencies, and Risk. 10. Add time required for weekly status meetings.