Skip to main content

Posts

Never to forget - UNIX/JAVA commands

Creating executable JAR file without using Fat-Jar plug-in. 1.      Creating an executable JAR from a Java code & how to execute it: o     You need to create MANIFEST.MF file at the root level with the following structure. Manifest-Version: 1.0 Main-Class: EncryptionTest Class-Path: bcprov-jdk16-145.jar o     where, "EncryptionTest" is main class and "bcprov-jdk16-145.jar" is external jar used in code. o     Create JAR using: jar -cvfm javaTest.jar MANIFEST.MF *.* To run do: java -jar javaTest.jar 2.      Compressing and unzipping files in UNIX / LINUX machines. 1.      Creating an archive and compressed/gzipped archive using option “CVZF” To use a gzip compression on the tar archive, use the z option as shown below. $ tar cvzf archive_name.tar.gz dirname/ In the above command: • c – create a new archive • v – verbosely list files which are p...

Installing BEA Weblogic 10.3 on Mac/OSx

Updated post:- I have to go through a long hassle of making Weblogic work on my MacBook. Few things which I learned and would like to share: -Before starting to install you have to trick the installer into thinking that the local JDK is the generic Sun JDK. If you skip this step the installer will not accept the default Mac OS X JDK and complain that it is Invalid. $ cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home $ sudo mkdir -p jre/lib $ cd jre/lib $ sudo touch rt.jar $ sudo touch core.jar -To Install, run the following command from terminal : (Updated for the "fatal error occurred while installing 10.3.2") $ java -Xms256m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -jar -Dos.name=unix -jar server103_generic.jar -Once installation is completed, Create a new domain through "./config.sh" from "/bea/wlserver_103/common/bin" -Once the domain is created: --Need to update the env setting in " .setDomainEnv.sh " file i.e. locat...

Wikipedia needs some help.

Guys! Our best, forever knowledge portal "Wikipedia" need some financial help. As we all know Wikipedia is a non-profit project. It is one of the best 5 web portal , which gets the maximum hit in a day. This portal is run by a team of 35 programmers. Because of the worldwide financial crisis, Wikipedia needs some financial help to keep up this portal. I have got lot from this portal and I am giving a part of it back to them. I need this portal to be up for my kids and our future generations. I am sure they are not going any where. Still I felt privileged to be able to help them. Please come forward and try to help our Wikipedia.. Donate for knowledge! Thanks, Deepesh

Active on tweeter..

Good morning .. Guys! Well blogging has become to big and too boring that most of people are moving towards Tweeter now.. And I am one of them. So if you are still interested in reading more of my updates and what I am doing real time.. then Get Some Job man! Please don't mind me I was kidding and trying to throw out my Monday frustration on you all. Well I too tweet.. Look for Deepesh Rajpal and you could find me there.. it's kind of fun as you get chance to know more about your respected politician's moves and you can also catch some socialist creeping about capitalist economy ,, which is fun.. :) Well ,,see you all there. Regards, Deepesh

Our 1st Wedding Anniversary

Deepesh and I tied our nuptial knot on 22nd April last year. This 22nd April, 2009, we will be completing our first marital year together. It is said that first year of your married life, is a year of experiencing a new world all together. You met with new people, setting up new house, living together under the same roof, sharing everything and make each other happy with small little things. We have lived last year with a great job and fun. And I can’t remember a single day we haven’t discovered new thing about each other. And now as we plan to celebrate our first anniversary, we remember you all wonderful people whom we have met during last year. So guys! Gear-up. We are throwing a theme party for you all friends and the theme is ........................ Any guess?????? Alright here is a hint for you all. Yes! The cutest couple from Bollywood….. “HUM – TUM”. Special attractions or instructions for April 25th, 2009: · HUM-TUM were a couple, so we expect all of you to dress in such a w...

Is attack by Isreal on Gaza is justified?

Every time I open a news channel, I see the same discussion or news here. People all around the world (including India) are protesting & shouting about the same thing … Why Israelis are firing rockets on the school building in Gaza? Why they are killing civilians in Gaza? I say why not? Hamas was firing rockets on the southern Israel from the school buildings in Gaza. Israelis showed the videos capturing Hamas firing rockets from the school buildings to justify their action. http://www.youtube.com/watch?v=YLbZyWZI3hU I think Indian leadership should learn something from Israel. Israel worth the life of their citizen and this demonstrate how committed their leadership is to protect their citizens. I don’t know when it’s going to happen, but I would like to see same level of commitment from my Indian leaders towards us. But Israeli reply to the Hamas attach is not a viable solution for Indo-Pak problem. We can, but we shouldn’t go in a bloody battle with Pakistan. I want to...

Perfect Cocktail. College days + friends.

I am not sure how many of you are going to agree with me on this..... But whenever I have to look back into the past, college time is definately the time I want to look back. And surely it will bring a smile on my face. becoz “This is the only time in our life, which we spend most of it with ourselves”. You gave most of the time in exploring yourself, watching changes in you and trying lot of weird things, which we won’t be doing for rest of our life. It is the time when you learn, not through the books but you dig into life to write your own laws. This is the time when you understand the actually meaning & strength of words like “friendship” and “teamwork”. Then you start doing wonders with it ... (gang wars , strikes, cricket games etc.) In College, Some time things will become as beautiful as dreams for you, and sometime it will get unsympathetic towards you. But that’s the real test time and I would say “Never hesitate to help others in your good days and never ask for one in ...

It's all beautiful..

How great is the fact that the Lord is always at work and He is always faithful! We can look back and see how much he has done for us. Is not it an amazing promise “that He who has begun a good work in you will complete it until the day"..

Walking Alone ...

I was walking alone, along the roads of my life.. cherishing our sweet memories. I walked enough to reach the milestone. But then I realize, Without u this accomplishment has no meaning for me.. So here I am walked all the way back to hold your hand and start it again… together this time. :)

First Snow.. United States

Today, I got the chance to experience a eye-catching spectacle which surely is going to be an ever lasting memory for my stay in New Jersey, US.. My first snow fall.. Waked up on one of the most chilly morning in US (at least till now..) .. My sense can fell some thing unusual happening outside... I jumped out of the bed and to the balcony … to see the most stunning view, I could imagine in my prettiest dreams , It was snowing there.. Could see the beautiful white snow sheet all around over every thing that could hold it.. Cars, Trees .. even on balcony.. Thank God for blessing me with this sight to view ur every miracle...

Writing first BLOG.... :-)

I don't know what the hell I am doing here … Company doesn't pay you for this… Theoretical I should be writing huge java codes for sending emails or to do intricate computations over data… In fact, there were lot of people who have been pushing me to write blogs.. (Yes Shiv!! I am talking about you...) I am quite bemused where to start from… HUHHHH !!! I am not a cricketer or a film actor so that you would like to follow my personal life and professional life is so monotonous to script it… not as droning as I m sounding. In fact daily I spent great time in my office (Great times!!!! You would think like I am kidding to you or writing it for my seniors who would be visiting this blog… but it’s true!!!! I am working around very cool team, never felt like office)... and it gives me enormous gratification to say that I am the youngest member of this team… When I joined they delighted me with an opportunity to work with such an experienced team (Minimum I know he had around 4 years...