Saturday, November 29, 2008

doubts:

1. What is seriaVersionUID?
2. Why do we need serializable interface?
3. What is point of using servlets?
4. what does singleton class means?

Thursday, November 27, 2008

http://forums.sun.com/thread.jspa?threadID=489302

helped me a lot in fixing port issue of RMI on different node

Wednesday, November 26, 2008

after port in use error ... a new error has come..
this is the one

Remote Exception: java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is:
java.net.ConnectException: Connection refused

for port one still not fixed.
but tcpdump or netstat -lnp or ps -eaf can be used to see the various results...

anyways lets fix this error ...
automatic fix... when changed port back to 1099
read it sometime..
To see every process on the system using standard syntax:
ps -e
ps -ef
ps -eF
ps -ely

To see every process on the system using BSD syntax:
ps ax
ps axu

To print a process tree:
ps -ejH
ps axjf

To get info about threads:
ps -eLf
ps axms

To get security info:
ps -eo euser,ruser,suser,fuser,f,comm,label
ps axZ
ps -eM

To see every process running as root (real & effective ID) in user format:
ps -U root -u root u

To see every process with a user-defined format:
ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm
ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm
ps -eopid,tt,user,fname,tmout,f,wchan

Print only the process IDs of syslogd:
ps -C syslogd -o pid=

Print only the name of PID 42:
ps -p 42 -o comm=
http://forums.sun.com/forum.jspa?forumID=58&start=30

follow this.. it will help
Collection class on hashmap with serializable can cause problem...
just keep track and make sure of this thing...


1. locateRegistry.createRegistry(port no)
man... saurabh jain you need to look at bigger picture always...
be methodological in fixing issues.
be concentrative


This fixed my RMI unmarshalling error...

Tuesday, November 25, 2008

Copied from somewhere.. Not mine

Success is not a destination, it's a journey. If you want to be a winner, you need dedication and the will to put in your best efforts. You can't ever give up. But while aiming for success, you should never underestimate the value of failure. Failure teaches many more things that success ever can.

Success depends a lot on academic achievements. And to excel in studies, just being intelligent or brilliant won't do; you must also know how to manage studies and extra-curricular activities.

The 'super student' studies for knowledge. Marks are a byproduct. Besides studies, allocate some time in the day for playing, meditation, hobbies and exercise too.

The most powerful tool that a 'super student' has is his questions. He who asks many questions may appear a fool, but he does not remain a fool for life.

Man had always seen apples falling from trees. But had Sir Isaac Newton not questioned the phenomenon, we would not have known gravity.

Each day has 86,400 seconds that you can use them as you like. All things you do in the day can be divided into categories, depending on their importance. You need to study for shorter and smaller durations, varying between 30 and 35 minutes. Take a five-minute break and continue.

Eat lots of fruit and green vegetables. They boost your immunity system and give energy. Have breakfast like a king, lunch like a prince and dinner like a beggar.

Another important asset a successful person should have is a good vocabulary.

It gives you the ability to express yourself effortlessly. To enhance your vocabulary, you can subscribe to websites that mail you a word with all its details every day. Once you know the meaning of the word, you can use it in your day-to-day conversations.

And to succeed in examinations, it is very important that your presentation is good. Keep your handwriting legible and structure your answers properly, underlining and proper spacing.

One of the important traits of a 'super student' is that he believes in himself. Enthusiasm is a must.

An ambition motivates you to study harder. Do not let any day pass without doing something towards making your dreams come true. Keep learning and do not forget to expect miracles. May you achieve the greatest heights of success!