Posts

Weblogic all topics simplified

 Cluster creation Under Domain Structure, expand Environment , click Clusters , and then select Cluster from the New list on the Clusters table.  On the Create a New Cluster page, enter cluster1 for the name, select Unicast for the messaging mode,  leave Unicast Broadcast Channel blank, and then click OK. Types of the clusters Horizontal clustering , sometimes referred to as scaling out, is adding physical machines to increase the performance or capacity of a cluster pool. ...  Vertical clustering , sometimes referred to as scaling up, is adding Application Server instances to the same machine. Horizontal cluster process while creating a domain after configuring managed servers we have to add managed servers in a cluster. the turning point for horizontal clustering is to Create two machines ( usually create it with the name of machines, suppose you ant clustering between to machines with hostname like hostname1.something.com & hostname2.something.com, then crea...

Tell me about yourself - advanced version to the previous blog

I have written "tell me about yourself" in 2015 and have quite good visitors.  So, thought of adding my experience and also a piece of maturity and knowledge that I learned in this period of time. TELL ME ABOUT YOURSELF: Here the recruiter or manager of any field is expecting what value you could add to the company . While answering this question you should be yourself. But, be your BEST self. Your answer should be stating What's In It For Them (WIIFM). The main three points pattern that you should follow is  SUCCESS:      I HAVE BEEN in the IT industry for around eight years and for the past six years I have been working as a WebLogic administrator. As part of my job, I was involved in various major and minor projects where I accomplished my tasks successfully.( add your achievements if any ). For the past one and a half year, I am working for a Saudi based company and involved in migration, up-gradation, and maintenance of the projects as a WebLogic administr...

Input a list of positive numbers, terminated by 0, into an array Numbers[]. Then display the array and the largest and smallest number in it.

 Input a list of positive numbers, terminated by 0, into an array Numbers[]. Then display the array and the largest and smallest number in it. The solution is designed in a simpler way.  import java.util.Arrays; import java.util.Scanner; public class ReadingWithScanner {    public static void main(String args[]) {       Scanner s = new Scanner(System.in);       int [] myArray = new int[5];       int smallest = myArray[0];       int largest = myArray[0];       System.out.println("Enter the elements of the array:");       for(int i=0; i<myArray.length; i++ )       {               int l =s.nextInt();          if (l != 0)          {             myArray[i] = l;          }          else{   ...

Creating boot.properties file in windows from command prompt for weblogic managed server

Creation of file.txt or boot.properties for a windows machine from the command prompt ************************************************************************* In general, for Linux machine, we can go with "vi filename.txt" ************************************************************************* For windows "copy null > filename.txt" ************************************************************************* For deleting the file in Linux rm -rf filename.txt ************************************************************************* For deleting the file in windows del filename.txt

Upgrade Weblogic from 10.3.6 to 12.1.3

Image
Here are the steps for reconfiguring a WebLogic domain created with WebLogic 10.3.6 for running under WebLogic 12c:  1) Install last JRockit or JDK-7  2) Install WebLogic 12c  3) Backup old WebLogic domain folder with its AdminServer and managed servers Move the old domain folder to WebLogic 12c domains folder.  4) Start  reconfig.sh  (on Linux) or reconfig.cmd (on Windows) under  $WL_HOME/common/bin Here are the screen you can see: Choose an existing domain location and click on "Next". When the setup progress is at 100%,  click on "Next". Choose the JDK Home Loc ation and  clic k on "Next". Set the Node Manager Type, Node Manager Configuration and Node Manager Credentials  and click on "Next". I don't need to add/delete/ modify settings, so  clic k on "Next". See the Configuration Summary and  clic k on "Reconfig". Click on "Next". Here is the domain rec...

Real time commands for WebLogic and web sphere in Linux environment.

This blog contains all the basic information to work with the LINUX and WebLogic details. Every command is used in the realtime. You can refer to this blog to get a glance at all the commands. CPU information -- This is generally taken care of by system administrator but it is better to have an idea on those and recheck them before starting the servers.                     #cat /proc/cpuinfo                     #cat /proc/cpuinfo | grep cores To change the permission for any folder in the Linux machine.                               #chown –R user:group foldername This item to be resolved between the servers. The entries to be checked before starting the servers.                      ...

Thread dump and heap dump in websphere

In general we need thread dump and heap dump mainly to find the Out Of Memory exception Thread dump :- a snapshot of live running java threads in the application server                       KILL -3 <PID>   to generate a thread dump The other way and in real-time we use                     Java\jdk1.8.0_201\bin\jstack <pid> > file.out Heap dump :- a snapshot of live running java objects in the heap memory 1. Click Servers > Application servers in the administrative console navigation tree. 2. Click server_name >Runtime Performance Advisor Configuration. 3. Click the Runtime tab. 4. Select the Enable automatic heap dump collection checkbox. 5. Click OK. Provided a simple answer. If any doubts regarding it, post a comment.