Wednesday, August 08, 2007

WebSphere application startup issue!

WebSphere applications have this nasty habit of starting up all as soon as the application server has been started up. Its not a bad thing if your application has been working fine all along. But if you have just installed the application or have updated the build, and not sure if the application would startup in the first go itself, its probably a better idea to not to let the application startup automatically.

The rule of thumb seems to be that you leave a profile/server aside to handle the adminConsole, so that you will always have adminConsole, even if other applications fails to startup. However, in practice, most development / test WebSphere environments that I have come across has everything deployed to 'server1'. In this situation, the applications starting up automatically is even more dangerous as they can make even the adminConsole unavailable to you!

If you get stuck with the application bringing down adminConsole, solution is to stop the application from starting up automatically on server startup. To do this, you need to locate deployment.xml file in your WebSphere installation folder:

$drive/$WebSphereInstallation/profiles/myProfile/config/cells/myCell/applications/myApplication.ear/deployments/myApplicationName


Look for 'deployedObject' that is related to your application, and under it, locate 'targetMappings', and change 'enabled="true"' to 'enable="false"'.

eg: <targetMappings xmi:id="DeploymentTargetMapping_1147899429698" enable="false" target="ServerTarget_1147899429698"/>

Next time when you start the server, the offending application will not startup, giving you a chance to use adminConsole, and identify a fix.

Powered by ScribeFire.

Wednesday, August 01, 2007

thoughts...


thoughts..., originally uploaded by chunangadan.

This is how I picture my mind when I am worried about something. The 'worry' just spreads from one part of the mind into other, in a very unpredictable shape and pattern and just slowly takes up the entire mind, and if it ever goes totally black, I guess I would stop thinking and drop dead like a log.

Just as well that I don't worry too much! I am too forgetful to remember an issue long enough to worry about it... hmm and did I mention how forgetful I am?

Each serves according to their strength


nibbler, originally uploaded by chunangadan.

.. which seems to be the morale of the story behind those beautiful strips on his back!

Source: healingstory.org

Long ago in ancient India a ten-headed monster called Ravana the Rakshasa kidnapped a king’s beloved wife. The king was named Rama and his queen was named Sita. Everyone loved the king and queen because their hearts were pure. King Rama waged war on Ravana and set off to battle. The great king of monkeys, King Hanuman, led the army.

They traveled until they came to a vast sea that they would have to cross to reach Ravana’s kingdom. King Rama attempted to calm the raging ocean by shooting his magic arrows into the waves. But the King of the Sea rose up and said, "The seas can not be overcome by force, but only by building a strong bridge." So, King Rama ordered his monkeys to construct a stone bridge that could hold his entire invading army.

Monkey after monkey set to work carrying huge stones and enormous boulders to the seaside. Thousands of monkeys worked ceaselessly and King Rama was pleased. Then the king noticed that a small brown squirrel rushed up and down from the hills to the shore carrying little pebbles in her mouth. "What is that little creature doing?" he wondered.

The monkeys also saw the squirrel and grew angry. "Get out of our way," they screeched. "You are too small. You are not needed."

The little squirrel looked up and said, "I am helping to build the bridge to save Queen Sita." All the monkeys began to laugh. They held their sides and roared and hopped and mocked the little squirrel. "We have never heard anything so foolish in our entire lives," they said.

The squirrel answered, "I can not carry rocks or stones. I can only lift small pebbles, but that is what I can do to help. My heart weeps for Sita and I want to be of assistance."

The monkeys moved the squirrel away, but she continued to carry small pebbles and pile them up nearby. Finally, one monkey grew so irritated that he lifted the little animal and threw her into the air. The squirrel cried out, "Rama!" The king lifted his hand and caught the squirrel safely in his palm.

It was just at that moment that the monkeys realized they needed the little pebbles to place between the larger stones to keep the bridge from falling.

King Rama said to them, "Monkeys, never despise the weak or the deeds of those that are not as strong as you. Each serves according to his strength and capacities and each is needed to make this bridge." With three fingers, King Rama drew three lines down the squirrel’s back. "What truly matters is not the strength one has, but how great one’s love and devotion is." From that day forth squirrels have had three pale stripes on their rich brown furry backs—marks of the great King Rama. And that is how the strongest bridge across the sea was built.

Even if they are just rodents, Indian squirrels just adorable looking creatures!

Kerala birds..!

Real birds, not ""birds"" - since I started reading various Photography forums and stunning pictures of beautiful birds, I started noticed birds around where I live. There are stunning but limited number of species around here in Ireland.

However, during my last visit home, I was shocked by the close proximity and different types of bird calls and chirping that was going on around me! In next 60 minutes or so, I counted about a dozen different species of birds, all beautiful, some stunning, and some like this one - drop dead gorgeous!

Aparantly Black hooded Orioles are very desirable, expensive pets all over the world! Who knew?!

I am delighted with myself that I have finally, after ignoring them for three decades, have come around to be able to appreciate them! Better late, than never! :D