Posts

IBM MQ Setup - Step by step

IBM MQ Setup - Step by step Before starting to install-uninstall, end all WebSphere MQ activity.  1. Log on as a user in group mqm .  2. Use the dspmq command to display the state of all the queue managers on the system.  3. Use the endmqm command to stop all running queue managers.  4. Stop any listeners associated with the queue managers, using the command: endmqlsr -m QMgrName  5. To check that you have stopped all of them, enter the following: ps -ef | grep mq  Check that there are no processes listed that are running command  lines beginning amq or runmq .  Ignore any that start with amqi . List of commands: crtmqm -q MYQM strmqm MYQM   runmqsc MYQM define qlocal (MYQUEUE) DEFINE LISTENER('LISTENER.TCP') TRPTYPE(TCP) PORT(1415) CONTROL(QMGR) ALTER LISTENER('LISTENER.TCP') TRPTYPE(TCP) PORT(1415) CONTROL(QMGR) end runmqsc MYQM $ sudo -su root # pwd /usr/mqm/bin # crtmqm -q MYQM WebSphere MQ queue manager created. ...

Oracle - SQL query to check tablespace

1] User must login with SYSDBA admin account SELECT * FROM DBA_TABLESPACES WHERE TABLESPACE_NAME LIKE '%UAT%'; SELECT * FROM DBA_USERS WHERE USERNAME IN ('DEV','SIT','UAT'); SELECT * FROM V$DATAFILE WHERE NAME LIKE '%DEV%' OR NAME LIKE '%SIT%' OR NAME LIKE '%UAT%';

Putty Commands - Provide full permission recursive

 Open PUTTY Terminal & type below commands: 1 sudo su - root Login with SUDO as ROOT access  2 cd /my/drive/hello/ Change directory to FCDB database 3 pwd Check current directory 4 ls -ltr List and check existence of new folder to be created 5 mkdir –m777 MYFOLDER Create New folder with respective country prefix letter & Change Permission in single command 6 chmod 777 /my/drive/hello/MYFOLDER Change permission to full 777 7 chmod -R 777 ./ Change full permission recursively to 777

IBM MQ Errors - Solutions

FAQ's Error: 0000008a SystemErr     R com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The security authentication was not valid that was supplied for  QueueManager 'MYQM' with connection mode 'Client' and host name 'MYLAPTOP(1414)'. Please check if the supplied username and password are correct on the QueueManager to which you are connecting. 00000080 SystemErr     R Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035'  ('MQRC_NOT_AUTHORIZED'). 00000080 MDBListenerIm W   WMSG0019E: Unable to start MDB Listener MDB, JMSDestination MYQUEUE : com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'MYQM' with connection mode 'Client' and host name 'MYLAPTOP(1414)'. Please check if the supplied username and password are correct on the Queue...

Build Automation Tools

  If you are a developer, chances are that you’ve probably heard about or even use build automation software (also known as build tools). The purpose of these software is to automate some tasks associated with building software. For example, a build automation software can help you to compile an app source code, run tests of the app, create an installer and even install the app on a remote server. Build tools are an essential part of the DevOps process. They help to save time, highlight potential issues, and ease the work of developers. There are scores of build automation software on the market, so how do you know which ones to choose? Well, that’s the purpose of this article. We’ve compiled a list of the top 10 build automation software in 2019. 1. Jenkins This is a Java-based open-source build automation server. Jenkins has been around for over a decade and is used by many developers. It features up to 1,400 plugins which broaden the list of what it can do. Jenkins can be used t...

Design Pattern - Interview Questions

Design Patterns are best practices to solve the common known problems. Design Pattern have two main usages: Common language for developers: They provide developer a common language for certain problems. For example if a developer tells another developer that he is using a Singleton, the another developer (should) know exactly what this means. Capture best practices: Design patterns capture solutions which have been applied to certain problems. By learning these patterns and the problem they are trying to solve a unexperienced developer can learn a lot about software design. Creational Patterns   Singleton    Factory Structural Patterns  Adapter  Facade Behavioral Patterns  Observer Singleton Pattern The Singleton pattern ensures a class has only one instance, and provides  a global point of access to it. When we want to restrict the instantiation of a class to only one object. Example 1 - Logger Classes The Singleton pattern is used in the design of lo...