Wednesday, November 2, 2016

Is there God ?

Life is very complex an unpredictable. We are busy in earning money, running families, socializing, getting involved in some kind of additional activities for society. After these all activities in case time permits we get some time to relax. Even though our body is relaxing out mind is actively working and thinking. Suddenly our mind presents so called philosophical questions who am I , why I am here ? Am I body or mind or spirit? There questions are always there in our back of the mind and come up when our mind is resting ….One of the biggest question among them

Is there God?

If you are avid reader on this topic then you find two camps. One is believers and another is non-believers. Non-believers don’t believe in god and they say that there is no god in this world. The believers on the other side say that there is god in this world who is drives this world and who has created this world. This battle among these two camps about existence of god is going on from decades and staring from somebody discovered the concept of the god. In addition the definition of god is different for different people and communities and religions.

What should a common man like you and me do in this situation who want to find what is logically correct here?

Is it so simple to come to conclusion very easily? Assume that there is god present in the world, and then at lease it looks like impossible to see or achieve or experience the god with help of your intelligent mind otherwise Einstein has already discovered him before you and me. As long as we don't know the ultimate reality of the world intellectually we can’t say that there no god in this world. Because world is really confusing where you can see both sequential and repeating activities and randomness. We have been lots of time fooled by our mind. We can’t guarantee that same action done twice or sequence can get the same result. So somehow our intellectual and intelligent mind is incomplete and there is something "beyond our imagination if there is" which our intellectual mind has been unable grasp.

The question is how to go beyond our intellect?

Only way I see is "Meditation"

Friday, October 2, 2015

Automated Application log in having j_security_check challenge using Apache httpclient

I was working on automated login using  the code provided by blog post specially using j_security_check using httpclient (4.5.1)

DefaultHttpClient client = new DefaultHttpClient();

You will get meesage as "DefaultHttpClient is depricated"
To make this code working please use

HttpClient client = HttpClientBuilder.create().build();

Thursday, March 22, 2012 Access denied Error in Websphere

Caused by: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(
at org.apache.commons.discovery.jdk.JDKHooks.(
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(
at org.apache.axis.components.logger.LogFactory$
at org.apache.axis.components.logger.LogFactory.getLogFactory(
at org.apache.axis.components.logger.LogFactory.(
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(
at org.apache.axis.transport.http.AxisServlet.(
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(
at org.apache.axis.transport.http.AxisServletBase.class$(
at org.apache.axis.transport.http.AxisServletBase.(
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(
at java.lang.J9VMInternals.initialize(
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(
at java.beans.Beans.instantiate(
at java.beans.Beans.instantiate(
... 23 more
Caused by: Access denied (java.lang.RuntimePermission createClassLoader)
at java.lang.SecurityManager.checkPermission(
at java.lang.SecurityManager.checkCreateClassLoader(
at java.lang.ClassLoader.(
at java.lang.ClassLoader.(
at org.apache.commons.discovery.jdk.PsuedoSystemClassLoader.(
at org.apache.commons.discovery.jdk.JDK12Hooks.findSystemClassLoader(
at org.apache.commons.discovery.jdk.JDK12Hooks.(
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(
... 52 more

If you get this kind of error please check out that unintentionally you have enable the java 2 security while enabling the websphere security.

Please disable the Java 2 security and application should work.

Saturday, April 23, 2011

My journey of learning Norwegian language so far

In Year 2006 I came to Norway for work purpose as a skilled IT worker. First two years I was not at all serious about learning Norsk. I used to communicate only in English in office as well as outside. Someone like me who spends big chunk of his own time in office, it gradually became important for me to start learning Norsk to avoid my office colleagues to conduct meetings in English for sake of me. As well I was getting a bad feeling that I was missing something in the social circle because I was not able to understand Norsk. As Norsk is business language in most of the offices in Norway it’s very important that you read, write and speak Norsk.
I am not claiming to be very best in Norsk but now days I take part in the meetings conducted in Norsk and if I want to make some point then I can create 2-3 sentences in Norsk and communicate what I want to say. As well I can write emails with 2-3 sentences in Norsk.
To be frank this journey was not a piece of cake. I need to go through lots of frustration and emotional ups and downs. I used to feel a lot of time that I can’t do this anymore. I assume during the process of learning Norsk some of you must be going through same kind of frustration I did. I had a very strong feeling that I am not good at learning language. My wife picked up Norsk very quickly but I was struggling with learning basics of the Norsk.
To be straight to the point I used the divide and rule strategy. The basic step to learn any language is its vocabulary and grammar. What I feel also is if someone wants to learn the language properly then first he needs to understand the culture of the language also. The core part of the language is Grammar. Each language has it’s own culture and it’s own special rules. In Norwegian daily life they make use of “være så god” in different context for ex. while serving, while offering etc based on the context the meaning of this word changes. Each language has its own special way of communicating which one need know if he wants to learn the language. It’s important to know the Norsk words in daily life along with Norsk vocabulary of IT branch. IT vocabulary was helpful for me to understand what’s going on in meetings as well reading business emails.
The various ways to learn Norsk language:
1. Best way is start attending Norsk language Course. Be serious during the course and don’t be a back bencher. Different organizations conduct language courses in Oslo. Based on affordability you can join course whatever you want. Most of the classes adhere to the European standard of learning languages. There are different levels of courses and based on your existing proficiency these organizations recommend you courses for different levels. You can take an online as well as in person test to check out which level of course you fit in. Please see this website for details
2. Just going to the course will not be sufficient but do try to pass language test for example Norsk Prøve II, Prøve III. Each exam tests your reading, listening and writing skills based on the exam level. This includes your grammar as well. I would highly recommend to appear for an exam. You can choose the exam level based on your competency level. It’s not mandatory to go norsk course for taking exam. You can study by yourself and take exam as well. My personal experience is after passing exam it gave me lots of confidence about my language skills.
3. Reading the Norwegian papers and website and watch Norwegian news, serials. There are lots of English serials coming on the NRK channels with subtexts in Norsk.
4. You can rent out DVDs from nearby libraries with subtitles in Norsk and re-watch the movies in English and try to understand and memorize Norwegian words.
5. Make a list of Norwegian words which you don’t know and try re-read the list when you find some free time. I used to read this word list while I was travelling to office, to home and during my leisure time. It’s all about making good use of your time and then funda of practice and practice and practice.
6. Use of Mindmaps and word splitting technique can also be useful to memorize Norwegian words. There are lots of techniques available on internet which could be used to memorize the Norwegian words.
7. Speak Norwegian whenever you get a chance for ex. in boutiques or stations or taxis or with your colleagues.
8. Whenever you find some new Norsk word then try to add it to your world list and read this wordlist frequently.
9.Usage of
10.Usage of Clue software

As I am working in IT branch the vocabulary which I gained while while studying in the lauguage course was limited. So I needed an extra effort to improve my vocabulary in the IT branch. I found following tricks very helpful.
1. Whenever I used to receive some business communication in Norsk I used to translate it in English with help of or Clue software and that way I prepared special wordlist for IT branch. Again I used read that list frequently when I used to get a free time in office.
2. Another trick is to read article related to IT industry. I am using and try to read at least one article everyday in Norsk by using Google translate. I see may benefits here like improve vocabulary, I was able to know what’s happening in IT industry in Norway also the trendy words and slang words used in Norsk IT industry.
3. Try to read as much as Norsk technical documents in your office.
4. You can record the meeting on your mobile which are conducted in Norsk and re listen them to catch the words you don’t understand.
5. I have English to Norwegian dictionary on my mobile so whenever I read a new Norsk word I try to translate in with help of the dictionary and add to my word list.

Learning language is ongoing and continuous process. It’s upon individual about his own proactiveness and commitment and his readiness to put in extra efforts and hours.
The benefits are enormous.
1. One will get more accepted in his colleagues in office and as well as socially
2. One will start contributing more to his office work
3. Boss will be very much impressed that you have acquired the language skill because ease of doing business with you.
4. One can take part in social interactions which will increase his knowledge about Norwegian society ,day to day events
The continuous improvement principle of Toyota is very useful while learning language. Try to work every day on the language improve yourself day by day. I feel that it takes approx. 2 years learning Norsk if your language parser in brain is of average capability as mine. One can learn language in shorter duration than 2 year if he is committed and ready to take more efforts. The tricks mentioned above are not the ultimate tricks there could other ways as well. Feel free discuss them in comments.

Tuesday, January 25, 2011

Tools needed for websphere administrator on windows

Baretale software

Used to tail the log files
Has pop up facility to differenciate which log has been updated recentily. May add a screen shot for it in future.
Check out link here. baretale

Used to manage network drives
View files in network drives.



Best way to work on command promts. Throw out windows command prompt which are very
preliminary and not at all user friendly.


Free extended Task Manager


Today you need to remember many passwords. You need a password for the Windows network logon, your e-mail account, your website's FTP password, online passwords (like website member account), etc. etc. etc. The list is endless. Also, you should use different passwords for each account. Because if you use only one password everywhere and someone gets this password you have a problem... A serious problem. The thief would have access to your e-mail account, website, etc. Unimaginable

Windows Surfer

single sign service, This will be very useful to avoid log in to websphere consoles
everytime.You can surf all the websphere consoles in a single application. The login information is stored on your local machine with passoword propected way.

Windows Remote Desktop Connection Manager

Remote Desktop Connection Manager (RD Connection Manager) enables you to configure and manage resources that are available to users through RemoteApp and Desktop Connection. These resources include RemoteApp programs and virtual desktops. Virtual desktops include virtual machines in virtual desktop pools and personal virtual desktops.

Agent Ransack
Finding files that other search engines miss.

Friday, January 21, 2011

job search in Norway - An Indian perspective

I have just switched my job in Jan 2011 in Norway. This experience which is very fresh in my head which I will describe here.

Big firms in Norway hire head hunters and outsource their recruitment process and try to recruit best candidates in the market.While small firms who can't afford headhunters execute hiring process by themselves.

You can directly apply to jobs online on the company websites or through head hunting firms. But don't try to apply same job by yourself as well as through headhunter.

Most famous Job Site in Norway is You can create your own profile on the website and expose it to the recruiters also start applying for jobs online. There is possibility of setting your own agent on which could send you automatically jobs when they published on website which match your search criteria.

Each job specification on is mostly given in very details and unfortunately in norwegian. So you need to use google translator to translate the job description in to english. Companies having their internal business language as English publish their job requirement in english to appeal wide range of people. The job description also contains the contact person for the job.Feel free to contact this person. They would be very nice to entertain you. You can ask them questions regarding job descriptions and things if not clear to you about job.

Almost all Norwegian employers are looking for their employees from different backgrounds like culture and ethnicity.

As mentioned above there are some companies in Norway who has business language as English.Mostly are MNCs which are doing business abroad as well as in Norway. Lots of consulting companies do business both in english and norwegian.

Mostly all Norwegians know English very well and they are very cooperative ,have very good work ethics ,good team players as well as down to earth people. Mostly workplace are very mature because avg. age of the people is around 35.

You need to give a 3 months’ notice to your current employer. This is common in all Norway. But you can have different arrangement with your current employer.It depends.

CV and Covering Letter
You need prepare a CV and covering letter.

Covering letter consists of
1. Your brief experience summery
2. Your motivation for applying the job.
3. Why you are suitable for this job.
4. Your proficiency about Norwegian language. I would emphasize the you must learn Norwegian language if you want to work in Norway. No escape from this rule :)

CV must contain:
1. Descrption about skills
2. Your experience
3 Your birth date
4 nationality
5 Contact details and mobile number
6. Work permit status if any

General Interview procedure
1. Personal Interview (Mostly with headhunter).
He tries to gauge your personality and personal questions, family related questions, salary expectations and he tries if you fit in the position as well as culture of the company.
2. If headhunter likes you he recommends your CV to the employer. Then employer shortlists the CVs
3. The headhunter arranges your interview with head of the department of your prospected employer.
3. Then interview happens either technical (for techies) or related your domain.
4. If you pass all these interviews then head hunter asks for references. These references could be from your current employer or previous employer in Norway.
5. There is a possibility that you can have another interview with headhunter or department head. This could be a final interview wherepossibility that you negotiate salary exists. In parallel reference checks are done by headhunter or department head.

Keep ready two references mostly from your current or previous job. Once your prospect employer asks for reference there is certainty that you will get a job. References are mostly expected to be your Norwegian colleagues.

Being social with Norwegians helps very much to get references as well as to find jobs. What I understand from the process that reference check is taken very seriously.

Headhunters call the references and try to do a background check on you. They ask lots of questions regarding your work ethics, you style at work, and personality etc and they try to cross check this with what you said in the interview. So it’s better not to hide anything....

Dress code is formal during the interview and you can prefer English if you don't know Norwegian. You can mention that in your covering letter.

If there is multiple job interview processes are going on with different companies you can say so. You can also ask them to take a decision as early as possible.

Better policy is to be honest in the interview. You are not expected to know all the things in your domain. You need to confidentin the interview. If you don't understand any question then you can ask him to repeat.

Learning Norwegian is very important in Norway because that shows that you are interested in getting accustomed to Norwegian culture. There are lots of Norwegian language courses available in Oslo. That’s a best start to learn Norwegian. On top of that it’s a onetime investment. Once you know language you know it for lifetime.

Best of luck for your next job hunting in Norway......

Thursday, December 9, 2010

Migrating Deployment Manager to other machine.

1 This document outlines necessary steps to migrate the Network Deployment manager (DMGR profile) from one machine to another.

2 The main assumptions before describing the steps are:

3 The IP address of the machine is not referred in any of the configuration or applications.
4 The host name is not hard coded in applications.
5 This document assumes that the new cell installed will have the same “cellname” and ”nodename” value of the source server.
6 Ideal Operating System Platform for DMGR and other server nodes.
7 Identical fix pack levels for source and target servers.
8 The node name at the current environment will not be changed at the time of migration.
9 The cell is not serving the request and it is forcefully made down.

Steps are:

10 Target DMGR Machine:

11 Check for free space. If not create some space to accommodate the compress file containing the DMGR profile catalog.

12 Source DMGR Machine.
13 Check for the empty space on source DMGR Machine.
14 Create a compressed copy of DMGR profile (either tar or zip).
15 Copy the compressed file on target machine.
16 Check the integrity of the zip file copied on the target machine.
17 Get a screen image of the admin console of DMGR for server panel applications panel and SI Bus if existing.

Target DMGR Machine :

18 Unzip the DMGR profile copied from source machine to profiles directory.
19 Make all configuration changes through the deployment manager profile in an ND environment.
20 In the "serverindex.xml" file for the node profile being modified, alter the value of the
21 “hostName” property for the “ServerIndex.xml” element in the file. Search for string “hostName=” to find this property. Also in the “serverindex.xml” file for the node profile being modified, alter the host property for every “EndPoint” in the file. Search all occurrences of “host=” string in following “serverindex.xml” <WAS_DMGR_PROFILE_HOME>/config/cells/<cell>/nodes/<node>/serverindex.xml
22 Compare the “serveridex.xml” files of the Deployment manager and local WAS server node for port conflicts under <WAS_DMGR_PROFILE_HOME>/config/cells/<cell>/nodes.
23 If port conflict occurs please change the ports for was server node in the <WAS_DMGR_PROFILE_HOME>/config/cells/<cell>/nodes/<node>/serverindex.xml
Remark: Keep common know port of deployment manager (9060,8879,9043) as it is.

24 Source DMGR Machine.
25 Stop the source DMGR node.
26 Remove the execute permissions for script.

Target DMGR Machine.
27 SU to user who is required to start the dmgr like “was”
28 Start the new DMGR server with “”.
29 check for logs if problems found in start.

Server Nodes :

30 Wsadmin utility in every node of the Cell should connect to ND; make sure ND host is specified for in the file.
31 <WAS_NODE_PROFILE_HOME>/properties/
32 Delete the content of the following sub-directories entirely.
34 <WAS_NODE_PROFILE_HOME>/config/temp
35 After all documents for the node have been updated in DMGR profile configuration, execute the syncNode tool on each node in the cell containing the node being modified. SyncNode will replicate the configuration containing the changed "hostName" property to the local node profile. Once "syncNode" has been executed, the node should be functional again within the cell, with a new "hostName" property.
36 <WAS_NODE_PROFILE_HOME>/bin/syncNode (.bat/.sh) <DMGR_host> <DMGR_soap_port> -username <name> -password <password>
37 Note:”syncNode” command may take substantial time based on the size of the Cell, so give enough time to complete.
38 Start node agent by following command and verify that node agent is visible in the ND
39 Administrative Console. <WAS_NODE_PROFILE_HOME>/bin/startNode (.bat/.sh)
40 Start each server on node profile by following command.
41 <WAS_NODE_PROFILE_HOME>/bin/startServer (.bat/.sh) <server>
42 Start the node agents on the other servers
43 Start all the clusters
44 The exercise is said to fine only once the all the desired application servers are up and running.

Back Up Plan:
45 Failure to achieve desired result as mentioned in step 27 the backup plan is as follows :

46 Stop the DMGR on target server.
47 Start the DMGR on source servers.
48 Delete the content of the following sub-directories entirely.
49 Synchronize all the nodes with the source DMGR with “syncnode” command.
50 Start node agents.
51 Start clusters.