my thought of week..

"The greatest pleasure in my life is doing what people say I cannot do."

Current Status

Working in a telco and perform many interesting tasks
on System developments..

Current Readings...

06 March, 2013

Horana Colombo road construction begin


Hey my blog friends from Horana, here we have a good news

Part of Colombo- Horana road(120 route) Kesbewa to Pamankada in the  will be developed
at a cost of 3310 million rupees.

The project will be initiated today(5th march,2013).

 The Asian Development Bank provides loan facilities for this project.

Construction will be completed within two years.

The minister said that an alternative road from Kesbewa to Maharagama
will also be laid parallel to that.


  • Pamankada - Kesbewa section of Colombo - Horana Road (B084)
The proposed road project, Colombo-Horana Road Section (B 084), commences from 0.520km near Pamankada Bridge in Colombo and terminates at the end of the bypass in Kesbewa at 13+400km. The regular Colombo-Horana (B 084) Road commences from Wilasitha Niwasa junction (0.00km) at Colombo-Ratnapura-,Batticaloa (A04) Road and terminates at Pokunuowita on Panadura-Ratnapura (A08)Road, before 2.0km to reach Horana town, traversing 28+180km. This road section, starting from 0.520 and ending at 13+400, is a large portion of the total length of Colombo-Horana (B 084) Road.


The proposed road project is one of the six road projects to be upgraded under the Additional Financing (Loan 38357-43 Sri) for National Highway Sector Project (NHSP). RDA has submitted draft RP to ADB on this road in May 2011 prior to preparation of preliminary plans (PPs) and Advance Tracings based on final construction designs. This updated version of the RP is made with the availability of Advance Tracing prepared by the Dept. of Surveys giving exact locations, boundaries of individual lots and names of the persons who have legitimate claims for such land lots.

The total length of the project road, section from 0.520 km to 13+400km including the bypass are planned to improve to 4 lane status with 1.5m cycle lanes, shoulders of 2-2.4m on either side, and earth or line drains where required. The existing average carriageway is 6.93m width and existing average ROW of the road is 14.36m in the proposed 4 lane section while the proposed average carriageway will be 12.km and proposed ROW of the will be 24-33m with the development of the road.

However, the development will take in two phases;

Phase 1: Consists of two road stretches of B 084, 1) From 0+520km (W.A. Silva Mw) to 1+100km (Pamankada Bridge) and 2) From 5+30km (Raththanapitiya junction) to 13+400km (end of Piliyandala bypass section)

Phase 2: From 1+100km (Pamankada Bridge) to 5+300km ( Raththanapitiya junction)


30 January, 2013

JSTL tag library issue in Weblogic


Hi again this too technical, only for who interests about Web development in Weblogic server

I developed web application using JSTL tags and when I tried to deploy WAR file in Weblogic server i got following error:


Message icon - Error An error occurred during activation of changes, please see the log for details.
Message icon - Error Failed to load webapp: 'etaagent.war'
Message icon - Error Error: Unresolved Webapp Library references for "ServletContext@163229449[app:etaagent module:etaagent.war path:/etaagent spec-version:2.5]", defined in weblogic.xml [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false]





then,

by googling I found that JSTL library is deployed by default in WebLogic, so I  added the library-ref in weblogic.xml:


< ?xml version="1.0" encoding="UTF-8"?> < wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd"> < wls:library-ref> < wls:library-name>jstl< /wls:library-name> < wls:specification-version>1.2< /wls:specification-version> < wls:exact-match>false< /wls:exact-match> < /wls:library-ref> < /wls:weblogic-web-app>

31 December, 2012

What a year 2012



Today, December 31, 2012? end of an year? But to me it is not just another year.  So many interesting milestones had happened to me in this year.
It has been a year of plentiful hard work and it has been a fruitful year. In last day of the year I will share some of the fruit with you..

In January I and my family shifted to my newly build house , it was a result of an almost 2 years hard work of me and whole my family.
In march, I got engagement !..  I promise to my fiancĂ©e that will take her home sooner..
Yes as promised in august we had our wedding..  6th of August unforgotten day of my life.. my wedding day
In September in my career I was promoted as a ‘Senior’ , huh? I am a Senior SE now.. more responsibilities… J

Except these it was journeyful  year, I could travel to nuwaraeliya, diyathalawa, kandy, Anuradhapura and to many other locations around the country.

thanks everybody who made my life a joy.. 
waiting to have much fruitful, exciting and courageous year 2013!
Happy new year 2013!

06 December, 2012

Informix database - INFORMIXCONRETRY and INFORMIXCONTIME



com.informix.jdbc.IfxSqliConnect.(IfxSqliConnect.java)

I got above error when making below connection in java file :

Class.forName("com.informix.jdbc.IfxDriver");
        Connection conn = DriverManager.getConnection("jdbc:informix-sqli://192.168.1.1:1000/databasename:INFORMIXSERVER=server_name;user=gayan;password=password;");


So I chaneged the connection as follows:

Class.forName("com.informix.jdbc.IfxDriver");
        Connection conn = DriverManager.getConnection("jdbc:informix-sqli://192.168.1.1:1000/databasename:INFORMIXSERVER=server_name;user=gayan;password=password;INFORMIXCONTIME=60;INFORMIXCONRETRY=3");


What does it realy mean?

If INFORMIXCONTIME is set to 60 and INFORMIXCONRETRY is set to 3, attempts to connect to the database server (after the initial attempt at 0 seconds) are made at 20, 40, and 60 seconds, if necessary, before aborting. This 20-second interval is the result of INFORMIXCONTIME divided by INFORMIXCONRETRY. If you attempt to set INFORMIXCONTIME to zero, the database server automatically resets it to the default value of 60 seconds.
       

INFORMIXCONRETRY Specifies the maximum number of additional connection attempts that can be
made to each database server by the client during the time limit specified by
the default value of INFORMIXCONTIME


INFORMIXCONTIME Sets the timeout period for an attempt to connect to the database server. If a
connection attempt does not succeed in this time, the attempt is aborted and a
connection error is reported.

04 October, 2012

Why waste a lot of time at work




What are main 5 stuffs disrupt your work in office?

1) email
2) calls(office/personal)
3)sms / chat messenger
4) Taps on shoulder + gossip talk near next work station
5) surfing internet (fb/news/etc..)

Just because you're at work doesn't mean you're getting work done.


 You're drowning in email, stuck in dead-end meetings, and constantly interrupted.
 When do you have time to do any real work?

29 August, 2012

Dot and plus trick with Gmail



Say your Google GMail address is alexsmith@gmail.com,
you can use any of the email addresses listed below which will still send email to alexsmith@gmail.com.

bagayan@gmail.com
 …
 …
 bagayan@gmail.com
 ba.gayan@gmail.com
 b.a.g.a.y.a.n@gmail.com
 …
 …
 bagayan+askstudent@gmail.com
 ba.gayan+cmu@gmail.com
 ba.gaya.n+gamegroup@gmail.com
 bagayan+anythingyouwant@gmail.com

If you notice from above, you can put any number of dots in your email address and it would still go to your primary GMail account.

 Also, if you add text after your GMail user id with a ‘+” such as alexsmith+cmu@gmail.com,
 it will still be forwarded to bagayan@gmail.com.

So, how is this useful:

1. Use this to tag and filter your emails.

I am subscribed to a mailing list from my school. So, for my email, I use bagayan+cmu@gmail.com.
I then filter and tag my email coming to this email address.
Similarly, you can use different variations of your Gmail and then filter your email based on the ‘sent to’ address.
Say ba.gayan@gmail.com for companies I apply to for jobs and bagayan@gmail.com to my buddies and family.
You get the picture.

2. Email Security

Have you wondered which of those sites you might have subscribed to are selling your email address,
filling up your Inbox with Spam. Well, now you can use the append feature to track your subscriptions.
Say you are getting Spam being sent to bagayan+shadysite@gmail.com,
you know which site is selling out your email address. You can also use this to block a subscription or a mailing list.

3. One Time Email address

If you need to create an email id to subscribe to something or need a valid email for confirmation of a service,
you can also use the append feature to create a one time email id. Say bagayan+blah@gmail.com.
After, you confirm your email, you can filter out bagayan+blah@gmail.com to go to trash from then onwards.

Medihelp Medical Service Center Horana gets HOSPITAL licence


Medihelp was first established in 1985 in Horana town as a medical laboratory service provider. This year we are proudly celebrating the 27 years of service while expanding services to the next level covering the need of a private hospital to Horana area.

With the rapid growth of economy and infrastructure in the country as well as in the Horana area, there is a huge demand in the private sector health services, creating a necessity of a private hospital to cater the needs of the community who are willing to and can afford to have a better service.

At Medihelp Hospital we give the best quality of service to all your healthcare needs at the lowest cost. Our highly qualified and well experienced staff is ready to serve the needs of the patients and their loved ones with utmost care and dignity.
 more :
www.medihelp.lk

http://www.facebook.com/MedihelpHospital/info


Contact Info


Medihelp Medical Centre - Horana Address: Panadura Road, Horana Telephone: 034 4283200 Fax: 034 4283200 Owner’s Name: Mr. Lesli Wijesiriwardena

16 April, 2012

Different States of Mind – Beta, Alpha, Theta, Delta

i read a article about above topic and decided to share some knowledge with you..

Know the relationship between the mind and the world with which it interacts..
(The awareness or perception of something by a person.)



1. Beta: This is where our mind usually operates in daily life. In such a state we have full conscious awareness and attention of everything around us and usually only one side of brain is operating.

2. Alpha: A mild daydream or light relaxation state. Alpha is typified by partial conscious awareness and partial subconscious predominance at the same time. Alpha promotes more of the left side of the brain to be used for processing.

3. Theta: A Deep relaxation state where the conscious mind is for the most part, ‘switched off’. Theta is where ideas, visualizations and suggestion are more likely to enter the subconscious mind and consciously we become less aware of what is going on around us.

4. Delta: An Extremely deep relaxation/sleep state with complete subconscious operation.


In any case, if you are constantly stressed and operating in the high Beta levels, or if you never truly relax and hit Alpha and Theta except for a few hours a night when you sleep, then it is recognized that you will not be emotionally or physically reaching your optimum level of health. Worse still it really can have significant effects on your overall health. This is important to note. Therefore if you are too busy, stressed or have developed certain conditions which affect you from achieving consistent deep relaxation, you will benefit immensely from using some of the aforementioned techniques to help lower your brainwave frequency and achieve some relaxation. This really could change your life for the better in ways you never thought were possible.

any comments? pls


Article Sources: 
http://www.articlesbase.com/meditation-articles/different-states-of-mind-beta-alpha-theta-delta-5035403.html