Archive for September, 2008
Glassfish Installation On Ubuntu Hardy
Sep 11th
Since one of my responsibility at work is being pre-sales for Sun Identity Manager software, I need a demo environment ready in my laptop for proof-of-concept, presentation, demonstration, and testing purposes. Early on I usually use Tomcat Application Server to host the application. But being a Sun partner, wouldn’t it be nice if the apps is deployed on Sun Apps Server as well?
. With the new Identity Manager version 8.0 coming to the market, I decided to set it up on Sun Apps Server, known as Glassfish.
So here goes.
- Install Sun Java JDK
There are two alternatives for Java in ubuntu, i.e. OpenJDK and Sun Java JDK. In this environment I’m going to use Sun Java JDK.
$sudo apt-get install sun-java6-jdk
Having OpenJDK installed previously, we need to update the system to use the new JDK
$sudo update-alternatives --config java
- Install Glassfish Application Server
$sudo apt-get install glasshfishv2
By default, apt installs the apps server into /usr/share/glasshfishv2/ directory, and the web application folder goes to /var/lib/glassfishv2.
- Start the application server
$/usr/share/glassfishv2/bin/asadmin start-domain
.: 7: Can't open /usr/share/glassfishv2/config/asenv.conf
Now this is weird. I check the /usr/share/glasshfishv2/ and there is no config/ directory in the folder.
For some weird reason, apt seem to forget to configure the application server (or maybe I do something wrong?). After I installed it, i didn’t check the installation, and shutdown my laptop immediately since I need to do something else. Only after I boot my laptop and trying to configure it, I noticed that there are something wrong.
Since this is my first time using Glasshfish, I really don’t know my way around
. Ask Google, and all references failed. Trying dpkg-reconfigure, failed as well. Being lazy as I am, I took the shortcut, reinstall the damn thing ![]()
$sudo apt-get install --reinstall glassfishv2
Finally, there it is. I finally get it right. Fire up my browser and browse to http://localhost:4848/ the admin page appears.
Then We Came To The End
Sep 9th
Title : Then We Came To The End
Author : Joshua Ferris
Price : SGD 17.66 (Bookweb Kinokuniya)
We thanked each other. It was customary after every exchange. Our thanks were never disingenous or ironic. We said things for getting things done so quickly, thanks for putting in so much effort. We had a meeting and when a meeting was over, we said thank you to the meeting makers for having made the meeting. Very rarely did we say anything negative or derogatory about meetings. We all knew there was a good deal of pointlessness to nearly all the meetings and in fact one meeting out of every three or four was nearly perferctly without gain or purpose but many meeting revealed the one thing that was necessary and so we attended them and afterward we thanked each other (page 5)
With the decline of the dot-com era, layoffs are on everyone’s door, including a Chicago-based advertising company, where this novel is situated. Capturing the life of the employees in a *probably* typical american(if not all) corporations, bringing gossips, secret romance, stress, frequent breaks in a humorous way. It’s written in such details, if you’re a white collar worker, you’ll probably see yourself here and there, laughing and smiling at the gossips or pranks you probably have witnessed (or even involved in) on your work history.
Joshua Ferris successfully capture how workers think, reason, and feels at the same time. It may be based on an american company, yet I found his description familiar, even dead-on on some parts. There is Karen Woo, who is always ahead on gossip, there is the boss, Lynn Mason who has breast cancer everyone pretends not to talk about (although it’s always be part of coffee-break gossip), there is Joe, that guy who never involve with anyone but surprisingly close to the boss. You have a colleague whose character you hate the most, you name it, this book have it
.
A real entertainment.
Community Linux on the rise?
Sep 1st
PCWorld released a recap of a recent study showing a stronger ground community-based linux distributions gains in the enterprise market. Quoted from the study :
“Community distributions such as CentOS, Debian, and Gentoo are gaining enterprise respect for quality code, stability, response, and of course, for being “free as in beer” and “free as in freedom”. These community distributions are becoming a more significant market factor with growing enterprise acceptance and use of them”
Apparently more enterprises, especially in Europre, are willing to take chances running community-based distro (as opposed to commercial distro like RHEL or SuSE) using their internally capable resource for system administration, support, as well as application migration, although sometimes they still seek assistance from third-party consultant, which turns out to be cheaper than paying support from commercial-based distro.
Is this the end of commercial-based distro? Well it may be is too early to say so, but commercial distro should start reviewing their business model.
Recent Comments