Monday, December 31, 2007

A Relaxing Weekend at Eco Friendly resort



As 2007 comes to the end, we decided to go for a short weekend break at a highly recommended Eco Friendly Resort - Rumah Rehat Adeline in Gopeng, Perak. This 'Resort' which we discovered over the Internet looked just like what we are looking for ... a cheap and idyllic place to spend the holiday. This place is in a natural setting, offers only basic amenities and is a 2 hours drive from Kuala Lumpur. At first, I was quite skeptical about staying in a small hut constructed by Orang Asli (local aborigine people) in the deep jungle. Questions such as will there be mosquitoes? Is it safe to sleep in a hut without door and lock? Will I feel too hot since there is no attached air-con? and I was worried that I actually have to share a toilet with others !!!!. (Usual typical City Boy who's been spoiled by 3 - 5 stars hotel).

Anyway, all worries was gone once we reached the front entrance of Adeline's Rest House. The owner Adeline greeted us and quickly made us feel at home. Maybe we were lucky because there were not many groups (only 1) so we had a choice of a nice hut above a stream.


Our hut was on top of small stream with sounds of flowing water 24/7.


After resting for a while, Adeline invited us for a lunch -buffet style. She cooked all the dishes herself with helpers, of course.

My Yummy Lunch

Thoughts of lazing and doing nothing for the afternoon quickly disappeared when Adeline organised activities for us - caving, trekking, waterfalls, body rafting or water rafting ? She asked us excitedly during lunch and because we did not want to look like boring city folks we joined a group going for caving and the waterfalls. Unexpectedly for us, it was a "near death experience" cos we did not know that the trek was going to be an introduction giude to Survivor ! Though the 2 hours of trekking and climbing was difficult but the experience - priceless.




Me trying body rafting

After the afternoon activities, we headed back to the resort with tired body, a twisted ankle and a very hungry stomach. Auntie Adeline once again performed her magic and prepared us a very yummy dinner and BBQ in buffet style.


DSC_0160
yum yum..

After dinner, we all adjourned back to our small hut. Surprisingly the surrounding air is cool and with continuous water flowing sound, wind blowing, we quickly fell a sleep at around 10.00pm.

Next morning, we were greeted with this "poster picture of morning sunshine" below, right outside our hut windows:


DSC_0185


After our breakfast, we relax a bit around the resort, before we back to our sweet home. Overall I rate this trip 4/5 stars, and we will be back again to this lovely resort.

CIMG0538



PS: Throughout our stay on the resort, we are eying this durian (show at picture below), and hope that it will fall, well, our wish was granted, just minutes before we depart, the durain drop, Auntie Adeline quickly takes the durian, and prepare us yummy durain pancake as our farewell gift. Thanks Auntie Adeline.

DSC_0252

Friday, December 14, 2007

Glass Fish Installation from Hell, really?

I like Sun's open source application server, GlassFish, thus when I feels a bit offended when Jevgeni Kabanov wrote an article about how difficult to install GlassFish, and comments that the documentation is suck, and not friendly..

Hm, ok, to give Jevgeni Kabanov benefits of doubts, I decided to do a fresh installation of GlassFish version 2, and observe the manual installation process myself..maybe he is right, as my GlassFish always pre-bundle with Netbeans, and so far, I haven't try to install GlassFish maually myself.


So.here it go..
a) I visit GlassFish's web site at https://glassfish.dev.java.net/

b) I click on "download GlassFish v2 now" icon, and directed to this page https://glassfish.dev.java.net/downloads/v2-b58g.html
, which I presented a step by step instruction on how to install GlassFish, follows by links to download GlassFish binary for various platform

c) I choose to download GlassFish build for Linux platform, as I am running on Ubuntu Gusty. Once download, I follows the documented instruction to install GlassFish, i.e
-> java -Xmx256m -jar "downloaded.jar"
-> cd glassfish
-> chmod -R +x lib/ant/bin
-> lib/ant/bin/ant -f setup.xml

d) Once setup, I follows the quick start guide to start the application server, i.e.
->Add the install-dir/bin directory as PATH env variable
-> Start the server "asadmin start-domain domain1"

e) To verify, I open my browser, and points the URL to http://localhost:8080, which I presented a welcome page, and messages stated my server is up and running running..BTW, port 8080 is default installation port, and u could change the default port by editing the setup.xml

f) To manage the server, I point my browser at http://localhost:4848 to access GlassFish admin console, I entered my given admin user id and password (ie admin, password, adminadmin) to login to the console. I presented a very nice GUI to manage my server, and deploy my application (WAR, EAR, and etc).

g) To deploy one of my application, I click "Deploy web application(.war)", select my war file, and click deploy, and just like that, my application is up and running..

That's it, the whole process takes less then 20 minutes (depends on how fast ur internet connection is to download the installation jar), and all the steps above are well documented at GlassFish's installation and quick start guide. I admit the installation process is "out of norm" and could be improve, but to go to the extends and claim it is installation from hell is bit too extreme, isn't?

Peace!