12/31/2016

How did my child get worms?

All of us have the question how did my child get worms?our baby is getting infected by the worm because of walking in barefoot on the stagnate soil,contaminated water or eating non hygienic food.Once these worms enters the body it will hatch and the worms will grow then it will lay more eggs.

This worm infection can easily spread but it can be cured easily and quickly.So we should not worry about these worm infection.Thread worms are the most common worm affecting the child,looks like a small thick thread piece.

If child is infected by the thread worm we cant find any symptoms.But we can see the thread worm in baby's motion,baby's anus or their bottom wear.These worms can be spread from other worm infected person also.These worms may be in finger nails,used toys etc.

If child is suffered by any worm infection then they will have these symptoms:

  • Itching around the anus
  • Paining in the anus
  • Anemia
  • Discomfort in the stomach
  • Appetite 
  • Nausea or Vomiting
  • Frequent urination
  • Diarrhea
Bandy albendazole suspension syrup is one of the medicine generally suggested for the worm infection in intestine for the child.This is suggested only for the child above 1 year.
Dosage:
  • 1 to 2 year -5 ml in single dose
  • 2 to 3 year -10 ml in single dose

Important temples in kerala

Kerala is the one of the place, where natural scenery is filled up. Kerala also known for the traditional temples and its construction.There are many important temples in kerala to visit in lifetime.

Padmanabhaswamy Temple:


    temple
  • This temple is dedicated to the god Vishnu.
  • It is located in Thiruvananthapuram. It's construction is in complicated fusion of  Kerala and Dravidian style.  
  • This temple is one of the richest Hindu temple because of its gold assets and precious stones.These assets are stored in underground vaults.There are 8 vaults in the temple.
  • Famous festival of this temple is Alpashy festival in October/November,Panguni festival in March/April. Panguni festival lasts for 10 days.
  • The most famous festival in this temple is Laksha deepam which means lakh of deepams .This is held 6 years once. 
Guruvayur Temple:
    temple
  • This temple is dedicated to the god Lord Krishna.
  • It is located in Guruvayur,Thrissur district.In this temple a pond is available called Rudratheertham in northern side.
  • There is a strict dress code. Men should wear Mundu only should not use shirts,they are allowed to use small cloth over their chest. Women and girls should wear sari, shalwar kameez,long skirt.
  • Temple opens at 3 AM and 5 poojas are conducted a day.
  • Here people also gives the things whatever they able equal to their weight(thula baram) to fulfill their prayer.
  • Important festival is Krishna Janmashtami
Vadakkunnathan Temple:
  • This temple is dedicated to the god Lord Shiva.
  • It is Located in Thrissur. This temple is famous for mural paintings and kuttambalam carved in woods.
  • Lord shiva is in the form of huge lingam covered with ghee formed by daily ghee abhishekam for many years. This is the only temple where lingam is not visible. The ghee does not melt even during summer also it does not give foul odor.
  • The important festival in this temple is Maha shivaratri and Aanayootu (feeding of elephant).
Kadampuzha Devi Temple:
  • This temple is dedicated to the goddess Durga.
  • Located in Kadampuzha pilgrimage center,Malappuram district.
  • Here two rituals are conducted Poomoodal and Muttarukkal. Poomoodal is covering the deity with fresh flowers and muttarukkal is the breaking of coconuts into 2 equal halves.
  • Plastic bags are not allowed inside the temple. Coconuts only allowed to carry in non plastic bags.
  • Best day to visit is Tuesday,Friday and Sunday, Annadaana is made everyday at the temple.
  • The important festival is Karthikai day in November to December month.
Thirumandhamkunna Temple:
  • This temple is dedicated to the goddess Thirumanthamkunnilamma.
  • Located in Angadipuram in Malappuram district.It is the pilgrimage center.
  • Important religious offering in the temple are Mangalya puja,Rigveda Laksharchana,Chandattam,Kalampattu.
  • Mangalya puja is mainly offered for the unmarried people.
  • The annual festival of this temple is Thirumandhamkunnu Pooram celebrated for 11 day long.In this Aarattu is the beautiful one which is the bathing ceremony of Devi.
Ananthapura Lake Temple:
temple
  • This temple is dedicated to the god Ananthapadmanaba Swami.
  • Located in little village Ananthapura,Kasaragod district. This temple is in the middle of the lake.
  • There is a believe that only one crocodile live at the lake, if it is died another one crocodile appears on the lake.
  • Sanctum is made by rare combination of 70 medicinal things called Kadu-Sharkara-Yogam.
  • Wood carving in the mandapam depict the story of dasaavatharam.
  • All casts and religious are allowed in this temple.
Padiyanoor Devi Temple:
temple

  • This temple is dedicated to the goddess Chamundi Devi(padiyanoor devi).
  • Located in Poovachal,Thiruvananthapuram.
  • Festivals conducted in this temple are Karthika,Mandala vratham,Pooja vaypu,Aayilya pooja,Aishwarya pooja,Vishu Kani.
  • The annual festival of the temple is Makam Thozal in the Malayalam month of Meenam for 3 days.
Thirunelli Maha Vishnu Temple:
  • This temple is dedicated to the god Maha Vishnu.
  • Located in Brahmagiri hill 32 km away from Manathavady.
  • Papanasi is located 1 km away from the temple.One dip in this cold water removes all sins committed in lifetime.
  • Here Devotees can perform all the rituals related to the death and birth.
  • Opening time is 5.30 a.m to 12.00 p.m and 5.30 p.m to 8.00 pm.
Vaikom Mahadeva Temple:
  • Dedicted to the god Lord shiva(Vaikkathappan).
  • Located in Vaikom,Kottayam district,
  • Here there is a belief that if devotees worships before Ucha pooja all wishes are fulfilled.
  • In this temple pooja is not broken since inception.
  • Important festival in this temple is Vaikkath Asthami held in November-December.It lasts for 12 days.
Chottanikkara Devi Temple:
temple
  • Dedicated to the goddess Bhagavathi.
  • Located in Chottanikkara near Ernakulam.This temple is famous for the wooden sculpture.
  • Goddess Bhagavathi worshiped in three forms:Morning as Saraswati,Noon as Lakshmi,Evening as Durga.
  • People suffered by mental problems mostly visit this temple,there is a belief Bhagavathi amma will cure this.
  • No one should miss the Guruthi pooja held at late evening and early morning.
  • Here people suffered by evil spirit are taken to the priest and the hair of the suffered people is taken and tied in the temple tree,so that evil will leave them.While going home Neem leaf,lemon and chilli are taken to ward off the evil spirit.
  • Tuesday and Friday are the important days of the temple.
  • The famous festival is Makam Thozhal.

Kodungallur Bagavathi Temple:

    temple
  • Dedicated to goddess Bhagavathi(Bhadrakali)with eight hands.
  • Located in Kodungallur,Thrissur district.
  • There are two festivals celebrated in this temple. 
  • Bharani Festival: It takes place at the month March-April(Meenam) and lasts for 7 days.Two events are in this festival,Kozhikallu Moodal and Kavu Theendal.
  • Thalappoli Festival:Held at the month January-February(Makaram).This is 4 day festival starts at evening of Makara Sankranthi.
Attukal Bagavathi Temple:
  • Dedicated to the goddess Kannaki.
  • Located in Attukal.
  • This goddess is mainly worshiped by women.
  • The main festival is Attukal Pongala. It starts in the month February-March and lasts for 10 days
  • Women only allowed in this Pongala rituals. 
Ambalappuzha Sri Krishna Temple:
    temple
  • Dedicated to the god Lord Sri Krishna.
  • Located in Ambalapuzha,Alapuzha district.
  • Ambalapuzha palpayasam is very famous among the hindu devotees.It is made by rice and Milk and it has a believe Guruvayurappan come to have this palpayasam daily.
  • The annual festival is Chambakulam Moolam Water.
  • Pallipana was performed by velans once in 12 years.
Meenkulathi Bagavathi Amman Temple:
temple
  • Dedicated to the goddess Meenakshi.
  • Meenkulathikavu located in Pallassena,Palakkad district,it is the oldest temple.
  • This temple is constructed in the way that shadow of the wall never falls on the ground.This temple has 2 entrances north and west side.
  • This temple had a tank,if devotees took bath in this tank then they will get rid from the diseases.
  • Navarathri,Mandala vilaku,Karthigai,Maasi thiruvizha(8 days),Pallivettai,Bhairava pooja are the festivals of this temple.
  • This temple had a strict dress code.
                          

12/29/2016

Security features of new 2000 rupee note

India's Prime Minister Narendra Modi announced that Rs 500 and 1000 are banned to stop corruption and to abolish the black money in our country.Due to this announcement,Reserve Bank Of India(RBI) released more security features of new 2000 rupee note to avoid black money and fake note.There are 14 type of security features available in new 2000 rupee note which is difficult to make it as fake note.These features are easily identified by the blind peoples also.

Features in Front Side:


2000


  1. Value of the currency 2000 is watermarked. 
  2. The latent image of the value 2000 is placed on the rectangular shape image which can be seen only when the note is tilted to particular angle.
  3. The value 2000 is written in Devanagari script.
  4. Image of Mahatma Gandhi is little changed and placed in the center of the note.
  5. There is a color changing feature,if we turn back the note the green color is changed to blue color.
  6. RBI Governor's signature and Emblem of the RBI is placed right side of the currency.
  7. On the left top and right bottom of the note the number panel with numerals is in the manner small to big size.
  8. On the right bottom the rupee symbol and the value 2000 is placed in the manner of changing from green color to blue color. 
  9. Gandhi's image and currency value 2000 is printed in small letters in watermark format.
  10. Asoka Pillar emblem is printed in the right side of the note.
Features in Back Side:


2000

  1. The currency printed year is on the top left side of the note.
  2. The logo of Swachh Bharat and its slogan is printed on the note.
  3. Value of the note is printed in the recognized Indian languages.
  4. Currency value is written in Devanagari format.

12/28/2016

Cents to square feet converter

Most of us use the term cent when we talk about land buy/selling. We often speak about square feet as well especially during building construction and all.There is simple calculation behind cents to square feet converter and this tool help you to convert.Please enter valid numbers and tab out or click convert button to see the result.




Enter number of cents :
Result :

12/26/2016

Hello World DatagramSocket

In distributed applications model network/socket programming plays an vital role in exchanging the data.
We can write socket program in two ways ,One through TCP and another one through UDP. We are going to see about UDP communication.
This model is less network overhead than TCP.

We need to create server socket to send/receive the data. We can create server socket as like below.
DatagramSocket socket = new DatagramSocket(9500);

There is no need for port in sender and its only required in receiver side. Since i am combining sender and receiver i have created in generic way.Data is transmitted through data gram pocket which can be defined as like below. Datagram pocket contains the information about destination as well.Thats why IP address is required.Since i am running in localhost creating IP instance based on localhost.

String data="Hello Socket";
InetAddress ip = InetAddress.getByName("localhost");
DatagramPacket dp = new DatagramPacket(data.getBytes(), data.length(), ip, 9500);
socket.send(dp);


In the receiver side we need to instantiate same server socket and receive the data using data gram pocket.

byte[] arr= new byte[1024];
 DatagramPacket dp = new DatagramPacket(arr,arr.length);
 try {
     socket.receive(dp);
 } catch (IOException e) {
     e.printStackTrace();
 }
 String data = new String(dp.getData()).substring(0, dp.getLength());

Refer the complete running sample code below for example.

package com;

import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;

public class ServerSocket implements Runnable{

   static DatagramSocket socket = null;
    /**
     * @param args
     * @throws IOException 
     */
    public static void main(String[] args) throws IOException {
 
 String test="Hello Socket";
 socket = new DatagramSocket(9500);
 InetAddress ip = InetAddress.getByName("localhost");
 DatagramPacket dp = new DatagramPacket(test.getBytes(), test.length(), ip, 9500);
 socket.send(dp);
 System.out.println("Sending done");
 ServerSocket st= new ServerSocket();
 new Thread(st).start();
    }
    @Override
    public void run() {
 byte[] arr= new byte[1024];
 DatagramPacket dp = new DatagramPacket(arr,arr.length);
 try {
     socket.receive(dp);
 } catch (IOException e) {
     e.printStackTrace();
 }
 String data = new String(dp.getData()).substring(0, dp.getLength());
      System.out.println("Running Thread "+data);
    }

}


Output:
Sending done
Running ThreadHello Socket

12/25/2016

Best tourist place in india to visit in winter

As we know and we keep experiencing “ INDIA is rich in its physical and cultural heritage”, for travel seekers and adventurers it’s a journey similar as the MANTLE to the CORE, the more we dig the more we explore,  they love exploring its beauty, colors, its flavors and tastes.

If one has to decide the winter vacations at a place favorable to the climate the best tourist place in india is  KULLU AND MANALI.

kulumanali


It’s a journey to the HIMALAYAS  and actually situated in HIMACHAL PRADESH.  MANALI is the best place to feel the pinch of cool wind and enjoy nature. It’s a valley nestled in the mountains of Himachal Pradesh near the northern end of Kullu. It has many attractions but the chief  center of interest  is its historical and archaeological  importance. KULLU is a pack of zig- zag alleys which are open doors to the mountain passes, it lies on the bank of river BEAS and is originated from the river and form a broad and open valley, it also has numerous temples and is renowned as VALLEY OF GODS.

KULLU MANALI are also known for the snow capped mountains, the flower valley and hidden waterfalls. For adventure lovers MANALI is a door to the roads of exploration. While for honeymooners it is an ideal, romantic leisure escapade. It is roles a place for shopping, games, dining, stays and as a world of freedom and illusion.

SOLANG VALLEY:
This place has an average altitude of 2560m above sea level and is the most favorite spot for sports lovers.It is called as SNOW POINT and is enjoyed for skiing, paragliding, trekking, rafting, biking,  and many more such fun oriented and adventures games.It’s a place FULL OF LIFE.

HIDIMBA  TEMPLE:
As we recollect MAHABHARATHA we remember BHEEMA. And this temple is dedicated to his wife HIDIMBA. It lies in the thick and dense forest of deodar built in 1553.It is a pathway of INDIAN and BUDDHIST architectural work and made of wood.Just 70 m away is a temple of HIDIMBA's son GHATOTKACHA.

ROHTANG  PASS:
Located in eastern hills of Pir  Panjal Range It is famous for the picturesque site of valley and various hidden waterfalls   as river Beas and Chenab  lie to the southern and northern side of the pass.

VASHIST  HOT WATER SPRINGS:
Spring  are the natural hot water sources. Vashist is famous for SULFUROUS HOT WATER  to attract pilgrims and tourists.It is at a distance of 4 to 5 km from MANALI  And situated across river BEAS.It is famous for the stone temples dedicated to saint VASHISTA. 

BASHESHWAR MAHADEV TEMPLE:
It is a sacred temple of lord SHIVA located in KULLU at Bajura. The temple has intricate stone carvings and idols of gods.

NEHRU  KUND:
Is a natural cold water spring and originates from the BHRINGU river. This place is a perfect picnic and refreshing spot and named after JAWAHARLAL NEHRU as it is said that he used to drink from this whenever he used to visit it.

MA  SHARVARI   TEMPLE:
The temple is located in picturesque paths and the diety is goddess DURGA.
So the best time in the year to visit is the DUSSEHRA time when the temple is on a shine time.

SULTAANPUR PALACE:
This palace has a Pahari style architecture and blend of wall paintings. Its a residential for the erstwhile rullers of Kullu valley and formerly called Rupi palace.

BIJLI  MAHADEV TEMPLE:
It is located at 2460m above sea level. It is named so   as the 60 feet high lightning  rod   situated in the temple is struck by lightning throughout the year.

BEAS RIVER :
Its flow is so fast that it is not suitable for swimming but yes it is perfect for rafting and various other camping and water sports. Apart from above there are also some other beautiful places to be visited in the plan which will add the fragrance of memories to you like.

manali


CHANDRAKHANI PASS:
 Connects   Malava  village to the Kullu valley.  It is an area for trackers and its  picturesque beauty of peaks and rivers make it a landmark.

TIBETIAN MONTESSORI:
As   many people from TIBET origin have settled here since years many monasteries lie here.Famous are GADHAN   THEKCHHOKLING GOMPA   and HIMALAYAN   NYINGAMAPA   GOMPA.They are the store houses for Tibetian   culture, literature and crafts. They are known for handicrafts paintings and carpets .The aroma of hyms  / chants and rotating prayer wheels together create divine ambience.

As off all the places in KULLU AND MANALI are mind blowing, refreshing energetic, and mesmerizing each one of us SHOULD visit it   at least  once and enjoy the BEAUTY AND HERITAGE of INDIA.

12/24/2016

Eclipse API auto suggestion is not working

Most of the java project we use eclipse is tool for development . In general in eclipse if we use dot(.) operator near to object/class to see all the methods available.In some the rare weird scenario we will not get auto suggestion even after entering control+space as like below

This is due to some the software shortcut keys would have overridden the eclipse default behavior.

suggestion

Solution:

Go to  Window --> Preference -->Java -- >Editor -- > Content Assit -- > Advanced

Make sure that java proposals options are selected.

proposal

12/22/2016

LPG cylinder accidental insurance claim

 LPG cylinderconsumers have accidental insurance claim option and is governed by PSU Marketing Oil Companies (IndianOil, HPCL, BPCL/BharatGas) who act as Principals and provide Third Party Insurance cover to persons and properties. The terms are documented under “Public Liability Insurance Policies for accidents involving LPG”. OMC(Oil Marketing Companies) have another Insurance Policy called “Public Liability Policy for Oil Industries”. These policies taken by Indane LPG and PSU OMCs are Public Liability Policies, hence, do not concern any individual LPG customer.

Some of the important terms of this policy are:
  • No premium for any policy is collected from the customer by the distributors.
  • The claim amount is paid over to the Oil Company who turns it to the claimant/beneficiary.
  • The policy provides for claims on account of Legal Liability
Liability at Law for compensation:

Per Event : Rs. 50 Lakhs
Per Person : Rs. 10 Lakhs
Per Year : Rs. 100 Crore

Personal Accident cover to customers and property damage at customers’ registered premises:
Personal Accident: Rs. 5 Lakhs/person per event in case of death
Medical Expenses: Rs. 15 Lakhs/event (max Rs. 1 Lakh/person, immediate relief Rs. 25K/person)
Property Damage : Rs. 1 Lakh/event at authorized customers’ registered premises.
Per Year in aggregate: Rs. 8 Crore

NOTE:  A slight different monetary cover is provided by Indane LPG:

Personal Accident: Rs. 6 Lakhs/person per event in case of death
Medical Expenses: Rs. 30 Lakhs/event (max Rs. 2 Lakh/person, immediate relief Rs. 25K/person)
Property Damage : Rs. 1 Lakh/event at authorized customers’ registered premises.
Per Year in aggregate: Rs. 10 Crore

The Procedure to be followed by customers:
  • In case of an accident involving consumer’s installation, the supply distributor is advised on it.
  • When an accident is reported, the concerned Area Office investigates the cause of the accident. If the cause is found out to be of an LPG, the Area Office notifies the concerned Insurance Company and lodges claim with it.
  • Customers need not apply to the Insurance Company or directly contact them.
  • Customers are required to submit the original documents of these:
      1.  In case of Death: Death Certificate(s) and Post Mortem report(s)/Coroner’s    report/Inquest          report (whichever applicable).
      2.  In case of injuries: Medical Bills, Doctor’s Prescriptions, Discharge Card and any other     documents related to hospitalization of the victim.
  • In case of property damage, the Insurance Company sends its own Supervisor to assess the loss.
  • Claims are settled by the concerned Insurance Company based upon the merit of each case. Decisions are taken regarding the settlement of the claim as per provisioned by the Insurance Policies.
These terms are universal for all the Oil companies providing an LPG connection in India. Except for a few differences in the monetary cover of various companies, the terms and conditions of governance are one and the same for all companies.

12/21/2016

Current booking availability in irctc

We prefer train journey due to comfort and less cost than other transport options, but now a days its very difficult to get the train tickets even when we book in advance.Most of us may not be known there is a last minute booking available in IRCTC called  "Current_Availability".
     When any train with reserved classes leaves for its destination, its charts are prepared 4 hours prior to its departure. So, when this chart is made, any vacant berths are put up for booking under “Current booking” status. The only condition is that the station of departure of a passenger should be the origin station of the train. The booking is open from the time of making charts to 15 minutes before the actual departure of the train. This system is better than the system of going through waiting lists because it provides you with a confirmed reserved ticket (if your boarding station is same as that of the origin of the train).

Let us, for instance, take the example of BLR-KCG Express (16569)

The train leaves at 8:35 p.m. Hence, the charts have been prepared by 4:35 p.m.the same day.

currentbooking


Now, it turns out that there are 119 seats vacant in the Sleeper coach. So, now if you login to the IRCTC site, you will find 119 seats for the Sleeper Coach under “Current Booking Availability”. If you wanted to go kacheguda we can  proceed to book a seat under this system.

12/09/2016

Know your LPG cylinder expiry date

Nowadays we are all using LPG in day today life for mostly kitchen purpose.So we have to use the LPG in safe way to avoid the accidents.Most of us doesn't know that there is an expiry date for the LPG cylinder.Using the expired cylinder may lead to gas leakage and unwanted fire explosion.

So everyone should know the LPG cylinder expiry date also we should inform others if they not know.Expiry date written in any one alphabet letters A to D with any one number by using paints.You can see the date on the metal that connects the top ring and cylinder body.

Alphabet letters indicate the month and the number indicates the year

A    January to March
B    April to June
C    July to September
D    October to December

For example if it is C17 then your gas cylinder will be expired in 2017 September.

LPG

12/04/2016

Javax Validation unable to find a default provider

We use javax validation for validating out data objects.Some case we might get an error like unable to find default provider. This error is due to old version of hibernate jar is referred in class-path.
Even though if we did not specify the validation libraries it will take from default hibernate libs. This issue can be avoid by using correct libraries.




javax.validation.ValidationException: Unable to find a default provider
 at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
 at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)
 at com.pamp.validation.BookingValidator.validate(BookingValidator.java:17)
 at com.pamp.controllers.FindurBookingService.bookDeal(FindurBookingService.java:21)
 at com.pamp.controllers.IndexBean.bookDeal(IndexBean.java:56)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.el.parser.AstValue.invoke(AstValue.java:245)
 at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
 at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
 at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
 at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
 at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)
 at javax.faces.component.UICommand.broadcast(UICommand.java:300)
 at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
 at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
 at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
 at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:301)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

By adding below maven dependencies in your pom.xml will resolve the above mentioned issue.

<dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-validator-annotation-processor</artifactId>
        <version>4.2.0.FINAL</version>
    </dependency>

 <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-validator</artifactId>
        <version>4.2.0.FINAL</version>
    </dependency>


Windows shortcut to open restore point

Windows there could be a scenario we wanted to go back to previous version. Error would have happened due to wrong installation or something got corrupted internally. So in order to go back to previous version we can use restore point options in windows.We can use below shortcuts to open restore point wizard.

restore.jpg

We can execute 'rstrui.exe' in run to open the wizard. Then based on our date range we can restore it to old state.

Unix/Solaris cron log location

We used to run cron jobs for repeated tasks. This cron jobs will be running in system level,In order to schedule cron jobs we need a root user access. Some time we might face some issues with cron jobs due to which tasks may not run. Any errors in cron getting logged in log file. We can find log files in below location.

/var/cron/

In this location we can find the file "log".

Solution for eclipse keep crashing in Java 8

Recently we upgraded our java version to latest java version which  is 1.8. We have configured all our existing work space in 1.7 earlier, now upgraded the version to 1.8 , after that we see multiple times eclipse was crashed. There is no pattern in it,sometimes its crashing immediately but some times during debug. We see following error in logs




A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005dcdc8df, pid=8652, tid=0x0000000000001e64
#
# JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.92-b14 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V  [jvm.dll+0x4bc8df]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x0000000014b38000):  JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=7780, stack(0x00000000164f0000,0x00000000165f0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000008

Registers:
RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x000000001a8a37c0, RDX=0x0000000000001000
RSP=0x00000000165ebd10, RBP=0x0000000017019d30, RSI=0x000000001a8a37c0, RDI=0x00000000165ec240


Problem:
This is known issue with Java 1.8 compiler with windows(JDK-8154831).

Solution:
We can add following JVM argument in eclipse.ini as a workaround for this problem. We can find eclipse.ini in eclipse installation directory.

-XX:CompileCommand=exclude,org.eclipse.jdt.internal.compiler.parser.TypeConverter::*