Wednesday, December 26, 2007

JDBC connection to Oracle RAC 10g

  • Make sure that the url is used as follows:
static final String dbUri = "jdbc:oracle:thin:@"
+"(DESCRIPTION=(LOAD_BALANCE=on)"
+"(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=dbHost1*)"
+"(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=dbHost2*)"
+"(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=serviceName))";

*replace these with your own database configuration
  • The driver class that needs to be in palce is:
oracle.jdbc.OracleDriver
  • Get classes14.jar (JDBC Driver) from this link:


I tested this on Websphere Application Server v6 with RAD7 and it worked fine.

Tuesday, September 04, 2007

International Baggage

Each passenger can check in 2 bags each weighing 50 pounds or 23 kgs. Each gets to carry one piece on board which should be under 6kgs. I verified US air, Lufthansa and British Airways and all of them have the same rules for flights from US.

Sunday, September 02, 2007

Podula paallu

Chaaru:
Miriyaalu - 1 cups
Dhaniyaalu - 4 cups
Jeelakarra - 1 cups
Kandipappu - 2 cups
Sanagapappu - 1 cups

Saambaaru:
Biyyam - 6 tsp
Dhaniyaalu - 2 cups
Mentulu - 3 tsp
Minapapappu - 0.75 cups
Sanagapappu - 0.75 cups

Wednesday, June 06, 2007

browsing internet at work

There is a lot of noise made about workers using internet at work. There are all kinds of statistics describing how much time was lost due to this. But everyone consents to the fact that there is no reduction in productivity levels. I am not sure if that is really the right perspective to look at it. Here are a few reasons why internet browsing at work is helping employees.

1. Employees are not going to someone else's desk to chat or disturb them.
2. They are at their desks more time than normally expected, so they are available to other folks more time.
3. They are accessing various personal/work related resources from their own workstations.
4. They are not bugging colleagues for help. They are finding it themselves by googling or by some other means.
5. They are finding their own entertainment instead of from other people at work.

The bottom line is people no longer take up others' time. This is not abusing internet policies at work. People always waste time one way or the other and this is a better way to use time than disturbing others. So all the time they indulge in browsing is not lost rather used for relaxation, so they could work better once they come back to their regular duties. Don't you agree?

Sunday, May 27, 2007

Kids and Patience

It is a combination of pleasure and pain to raise kids. But they certainly teach the virtue - 'patience'. Have you ever wondered why they give you so much trouble when doing any chore? Whether it be eating, writing or going to a movie. Every task small or big, easy or complex, with them becomes a task of patience. Every kid teaches you how to be patient in order to complete a task safely, properly and with the participation of the kid fully involved in it. If you have not seen this before, pay attention to this next time you happen to be next to a kid. Enjoy and learn from the experience!!!