Automatic HTTP to HTTPS redirection in Tomcat

Automatic HTTP to HTTPS redirection in Tomcat
Automatically we can redirect non secure HTTP URL to secure HTTPS URL in tomcat. Any web application to secure the data transfer use to configure https access. Some times even after setting up the https access default http access also available along with https. This could a security thread for the application.

Assuming your already configured HTTPS access for the application , Now we need do the change web.xml in tomcat under apache-tomcat-8.0.36/conf/web.xml to redirect all non http access to https.

<!-- Added to redirect http to https -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Whole Application</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>



Read More

Telnet test simulation in Unix and Solaris

Telnet test simulation in Unix and Solaris
Simulating telnet test in Linux ans Solaris is very easy. NC tool used to simulate the telnet test,We do telnet test to validate the connectivity between two machines.Telnet test gives us information mainly host and port are accessible from another machine. In order to validate this service should be running on specific port in other machine and in case this not running how can we simulate the port accessibility?

If the service is already running on specific port we can do the telnet test as like below.

telnet 128.25.65.12 8090

Now if the service is not running how to simulate telnet behavior?. This can be achieved by using 'NC' utility in linux/solaris. To simulate telnet first we need login destination machine and we need to start the system in listening mode as like below.

nc -l 8090

Once destination machine is started in listening mode, We can hit telnet test as mentioned abouve.
Read More

Easy FM radio any channels anywhere in the world

Easy FM radio any channels  anywhere in the world
Do you miss your favorite FM radio channels when you travel? or you want to hear your language FM when you outside your place?.Do you know we can play FM radio without head set in android mobile ?..All these are possible with one application.Now a days world is short and we are travelling across the world and we might feel missing our families some times. Hearing our local FM channels in outside our place making us to feel like staying in our place.Let's come to the point.

  There is an global radio connection provider which ties up with more than 4000 FM radio channels across the globe. When we access this site in our mobile/computer based on your location it automatically list the available channels to play.It also provides the flexibility to change the location to hear our favorite channels for your preferred location.
There is no special app is required to access this site in mobile. This can be accessed by using below URL.

Read More

Cashless mediclaim hospitals in pollachi

Cashless mediclaim hospitals in pollachi
Pollachi is one of the second tier city and this city serves as hub for many surrounding villages. There are many small and medium hospitals are available in this city but only few of the hospitals we can avail cashless facility in Pollachi. Remaining all the hospital's we need do a post claim which means first we need to pay in the hospital later we can submit the bills and get reimbursed from insurance company. Below is the few of the hospital we can get cashless insurance in pollachi.

S.NoHospital Name
1.Ram Ploy Clinic,146/2A,NEW SCHEME ROAD,POLLACHI
2.Arun Hospital,88,NEW SCHEME ROAD,POLLACHI
3.Alva Hospital,MEENKARI ROAD,AMBARAMPALAYAM

This list may change subject to new additions.
Read More

Top 100 Famous abbreviation's

Top 100 Famous abbreviation's
Every day's lift we use many words in which many of the words are short-form's. Some times we may not know what it stands for or how these words are derived.Below is important list of abbreviations of daily used words .
Shortform - Abbreviation
1. PAN - permanent account number.
2. PDF - portable document format.
3. SIM - Subscriber Identity Module.
4. ATM - Automated Teller machine.
5. IFSC - Indian Financial System Code.
6. FSSAI(Fssai) - Food Safety & Standards Authority of India.
7. Wi-Fi - Wireless fidelity.
8. GOOGLE - Global Organization Of Oriented Group Language Of Earth.
9. YAHOO - Yet Another Hierarchical Officious Oracle.
10. WINDOW - Wide Interactive Network Development for Office work Solution.
11. COMPUTER - Common Oriented Machine. Particularly United and used under Technical and Educational Research.
12. VIRUS - Vital Information Resources Under Siege.
13. UMTS - Universal Mobile Telecommunicati ons System.
14. AMOLED - Active-matrix organic light-emitting diode.
15. OLED - Organic light-emitting diode.
16. IMEI - International Mobile Equipment Identity.
17. ESN - Electronic Serial Number.
18. UPS - Uninterruptible power supply.
19. HDMI - High-Definition Multimedia Interface.
20. VPN - Virtual private network.
21. APN - Access Point Name.
22. LED - Light emitting diode.
23. DLNA - Digital Living Network Alliance.
24. RAM - Random access memory.
25. ROM - Read only memory.
26. VGA - Video Graphics Array.
27. QVGA - Quarter Video Graphics Array.
28. WVGA - Wide video graphics array.
29. WXGA - Widescreen Extended Graphics Array.
30. USB - Universal serial Bus.
31. WLAN - Wireless Local Area Network.
32. PPI - Pixels Per Inch.
33. LCD - Liquid Crystal Display.
34. HSDPA - High speed down-link packet access.
35. HSUPA - High-Speed Uplink Packet Access.
36. HSPA - High Speed Packet Access.
37. GPRS - General Packet Radio Service.
38. EDGE - Enhanced Data Rates for Globa Evolution.
39. NFC - Near field communication.
40. OTG - On-the-go.
41. S-LCD - Super Liquid Crystal Display.
42. O.S - Operating system.
43. SNS - Social network service.
44. H.S - HOTSPOT.
45. P.O.I - Point of interest.
46. GPS - Global Positioning System.
47. DVD - Digital Video Disk.
48. DTP - Desk top publishing.
49. DNSE - Digital natural sound engine.
50. OVI - Ohio Video Intranet.
51. CDMA - Code Division Multiple Access.
52. WCDMA - Wide-band Code Division Multiple Access
53. GSM - Global System for Mobile Communications.
54. DIVX - Digital internet video access.
55. APK - Authenticated public key.
56. J2ME - Java 2 micro edition.
57. SIS - Installation source.
58. DELL - Digital electronic link library.
59. ACER - Acquisition Collaboration Experimentation Reflection.
60. RSS - Really simple syndication.
61. TFT - Thin film transistor.
62. AMR- Adaptive Multi-Rate.
63. MPEG - moving pictures experts group.
64. IVRS - Interactive Voice Response System.
65. HP - Hewlett Packard.
66.Aim - Ambition in Mind
67. News paper - North East West South past and present events report.
67. Chess - Chariot, Horse, Elephant, Soldiers.
68. Cold -Chronic Obstructive Lung Disease.
69. Joke - Joy of Kids Entertainment.
70.Date - Day and Time Evolution.
72. Eat - Energy and Taste.
73. Tea - Taste and Energy Admitted.
74. Pen - Power Enriched in Nib.
75. Smile - Sweet Memories in Lips Expression.
76. etc. - End of Thinking Capacity
77. OK - Objection Killed
78. Or - Orl Korec (Greek Word)
79. Bye - Be with you Everytime.
80.TV- Television
81.CBI- Central Bureau of Investigation
82.SEBI-Securities and Exchange Board of India
83.RBI-Reserve Bank of India
Read More

How your system attacked by Ransomware(wannacry) virus

How your system attacked by Ransomware(wannacry) virus
Ransomware is a new virus came out recently in internet world.This virus also referred as wannacry. This virus has significant potential that your computer/server will be encrypted in fraction of second.Complete control of the system will be goes to the hackers and they are asking to pay money to unlock your system.

This means all your important files ,documents,images etc will be encrypted and you will not be able to read anything. Now its time for them ask money to decrypt  your files and system. We don't have an option to retrieve our system also.

Attackers choose email gateway as their transmission media,So do not open an email from unknown source.Also do not open email attachment or links given in such kind of emails.Some time there could be an option they have change the from address as like your one of the trusted site. So in this case not only rely on the name, just mouse over the link to identify the URL it going to redirect.

This virus hit severely in US and UK recently due to this some of the govt services also get bolcked.

So now how to protect your system?
Keep your system up-to date with your window's update and if your running any anti virus keep the anti virus software up to date in your machine, so that it can detect such kind of virus.Very important thing is do not attempt to open unknown email attachment/links.

Read More

3G to 4G Simcard swap frauds- Be Very Careful

3G to 4G Simcard swap frauds- Be Very Careful
Now frauds reached yet another step through mobile phones. You can be cheated by the name of tele callers from mobile service providers.If your account is linked with your mobile there is no doubt your money is stolen already. Lets see how this works

People will call you like as if they are calling from mobile service providers.Now they will try to brain storm for converting 3G to 4G and they will tell so many offers to convince you.Once we convinced they will ask us to send an SMS from our mobile.



Now fraud tele caller who already obtain 4G request number from service provider. He will ask us to send that number to mobile provider sim swap help desk number.  As per record of mobile provider they received request from you to transfer your 3G to 4G. 4G ownership given to new 20 digit number which you send. Now your 3 G sim will be inactivated and fraud gets access to your mobile number with 4G.

All these fraud peoples internally link with bank tele callers,with help of them they will get all your debit card/credit card numbers. Some fraud peoples creating new magnetic stripes with your number to swipe it,Only security we have is OTP. Now with this cheating they had access to your OTP as well.

Difficult to track such cases because all the transaction is happening with your name and your account.Frauds are not doing any online purchases as well because they have to give some delivery address.This kind of cases already registered in metro areas like Bangalore,Mumbai and Chennai recently.Only thing we can do is we should be very careful and try to walk in outlets in case if you find any doubt on callers.


Read More

List of usha janome automatic zig zag sewing machines

List of usha janome automatic zig zag sewing machines
USHA JANOME AUTOMATIC ZIG ZAG SEWING MACHINES

Allure(price 12500)
  • 13 built in stitches
  • stitch pattern selection dial
  • stitch length selection dial
  • free arm sewing 
  • manual threading
  • led light for sewing
  • 4 step button hole
  • twin needle 
Available stitches
  1. straight stitch
  2. zig zag stitch
  3. tricot stitch
  4. blind hem stitch
  5. shell tuck stitch
  6. triple strength straight stitch
  7. fine blind hem stitch
  8. stretch stitch
  9. overcast stitch
  10. honey comb stitch
  11. triple strength zig zag
  12. satin stitch
  13. button hole stitch
  14. over edge stitch
  15. arrow head stitch
Dream stitch(price 9000)
  • 7 built in stitches
  • free arm sewing
  • stitch and length adjustment dial
  • manual threading
  • led sewing light
  • 4 step button hole
  • reverse stitch
Available stitches
  1. straight stitch
  2. zig zag stitch
  3. tricot stitch
  4. blind hem stitch
  5. shell tuck stitch
  6. triple strength straight stitch
  7. fine blind hem stitch
Marvela(price 9000)
  • 7 built in stitches
  • free arm sewing
  • stitch pattern selection dial
  • 4 step button hole
  • manual threading
  • led sewing light
  • thread cutter
  • reverse stitch
Available stitches
  1. straight stitch
  2. zig zag stitch
  3. tricot stitch
  4. blind hem stitch
  5. shell tuck stitch
  6. triple strength straight stitch
  7. fine blind hem stitch
Wonder stitch(price 13500)
  • 13 built in stitches,30 stitching fuctions
  • automatic threading
  •  led sewing light
  • thread cutter
  • free arm sewing
  • reverse stitch
  • embroidery 
  • stitch pattern and length selection dial
  • 4 step button hole
  • auto threading
  • twin needle
Available stitches
  1. straight stitch
  2. zig zag stitch
  3. tricot stitch
  4. blind hem stitch
  5. shell tuck stitch
  6. triple strength straight stitch
  7. fine blind hem stitch
  8. stretch stitch
  9. overcast stitch
  10. honey comb stitch
  11. triple strength zig zag
  12. satin stitch
  13. button hole stitch
  14. over edge stitch
  15. arrow head stitch
Stitch magic(price 19500)
  • 23 built in stitches
  • free arm sewing
  • auto threading
  • thread cutter
  • led light
  • twin needle
  • reverse stitch
  • 1 step button hole
  • pressure adjuster dial
  • embroidery
Available stitches
  1. straight stitch
  2. zig zag stitch
  3. tricot stitch
  4. blind hem stitch
  5. shell tuck stitch
  6. triple strength straight stitch
  7. fine blind hem stitch
  8. stretch stitch
  9. overcast stitch
  10. honey comb stitch
  11. triple strength zig zag
  12. satin stitch
  13. button hole stitch
  14. over edge stitch
  15. arrow head stitch
  16. scallop stitching
  17. elastic stretch
  18. box stitch
  19. link stitch
  20. climb stitch
  21. cone stitch
  22. peak stitch
  23. diamond stitch
  24. zip fixing,quilting,button fixing,picot,lace fixing,cording and mending can also done
Fashion stitch(price 14500)
  • 13 built in stitches and 14 stitch functions
  • free arm
  • auto threading
  • thread cutter
  • stitch,length,width selection dials
  • led light
  • twin needle
  • 4 step button hole
  • manual threading
  • embroidery
Available stitches
  1. straight stitch
  2. zig zag stitch
  3. tricot stitch
  4. blind hem stitch
  5. shell tuck stitch
  6. triple strength straight stitch
  7. fine blind hem stitch
  8. stretch stitch
  9. overcast stitch
  10. honey comb stitch
  11. triple strength zig zag
  12. satin stitch
  13. button hole stitch
  14. over edge stitch
  15. arrow head stitch
  16. step stitch
  17. zip fixing,smocking,quilting,lace fixing,mending,button holing and cording can be done
My style sewing machine(price 22000)
  • 23 built in stitches with  14 stitching functions
  • free arm
  • led light
  • top load bobbin
  • twin needle
  • 3 dial for stitch,length and width
  • 1 step button hole
  • embroidery
  • auto threading
  • thread cutter
  • reverse stitch
  • display screen for stitch pattern
Available stitches
  1. straight stitch
  2. zig zag stitch
  3. tricot stitch
  4. blind hem stitch
  5. shell tuck stitch
  6. triple strength straight stitch
  7. fine blind hem stitch
  8. stretch stitch
  9. overcast stitch
  10. honey comb stitch
  11. triple strength zig zag
  12. satin stitch
  13. button hole stitch
  14. over edge stitch
  15. arrow head stitch
  16. ladder stitch
  17. multi step stitch
  18. 2 point shell stitch
  19. stretch patch
  20. herringbone stitch
  21. scallop stitch
  22. stretch peak
  23. elastic feather stitch
  24. zip fixing,smocking,quilting,lace fixing,mending,button holing and cording can be done
Also know more about the brother sewing machine
Read More

Porsche car price in india

Porsche car price in india
Porsche panamera is one the best luxurious cars across the world.These cars are known for stylish and grand look , base price of the cars starts from 80 Lakhs. Ex show room price may  go upto 1.1 to 1.2 crore. Some good models maximum price upto 2.5 crores.

Some basic features of the car

1. Power: 330 HP
2.Top Speed:170 mph
3.Torque:280 lp-ft
4.RPM:6500
5.Driven Layout:Rear Wheel Drive
6. It can reach 70 kmph with in 3 seconds.


Read More

Best sewing machine for home use

Best sewing machine for home use
Sewing machine for home use and its features:

1L14 sewing machine
  • This machine is mainly suitable for the beginners and learners.
  • This machine has 14 inbuilt stitches.
  • Led light for easy sewing
  • portable.
  • top load bobbin.
  • 4 step button hole.
2. LX17 sewing machine
  • 17 inbuilt stitches.
  • led light.
  • portable.
  • 4 step button hole.
  • top load bobbin.
  • 5 mm stitch width.
  • 4 mm stitch length.
  • stitch selection dial.
  • free arm stitching.
3. LX25 sewing machine
  • 25 inbuilt stitches.
  • stitch length control dial.
  • free arm stitching.
  • 4 step button hole.
  • stitch selection dial.
  • Led light.
4. XR27NT sewing machine
  • 27 inbuilt stitches.
  • automatic needle threading.
  • free arm stitch.
  • portable.
  • used for heavy fabric.
  • Led light,
  • bobbin in top.
  • double needle can be used.
  • stitch length and width adjusting dial.
  • automatic button hole and button fixing.
  • thread cutter.
  • thread tension dial.
  • easy bobbin winder.
5. XR37NT sewing machine
  • 37 inbuilt stitches.
  • led light.
  • free arm stitch.
  • portable.
  • needle threader is automatic.
  • top load bobbin.
  • automatic button hole.
  • thread tension dial.
  • stitch length and width control dial.
  • stitch selection dial.
  • thread cutter.
  • easy bobbin winder.
6.INNOVIS NV15 sewing machine
  • 16 built in stitches.
  • led light.
  • 1 step button hole.
  • automatic needle threader and cutter.
  • top load bobbin.
  • presser foot level button
  • speed controller.
  • stitch selection.
  • auto reverse stitch by one touch.
  • display screen.
  • thread tension control.
  • free arm stitch.
  • fast bobbin winder.
Read More

Govt authorised stem cell banks in india

Govt authorised stem cell banks in india
Umbilical cord stem cell is collected from the new born baby to treat the diseases related to blood and immune system.Collected stem cells are stored and preserved for future purpose.Many blood bank centers are actively doing this preservation method.Some of the licensed stem cell bank in India are listed below:

Stem cell banks
State
1. M/s. Path Care Labs Pvt. Ltd.,
Survey No. 34, opp.-Geetanjali Engg. College,
Cheeriyal Village, Keesara.
Mandal, Ranga Reddy Dist,
Andhra Pradesh.
ANDHRA PRADESH
1. M/s. Stemcyte India Therapeutics Private Limited,
Plot No.1A, Bhat GIDC Estate,
Gandhinagar, Gujarat

2. M/s. Best Wellcare Management Services Pvt. Ltd.
(Indu Stem Cell Bank), 3rd Floor, Vinraj Plaza, Opp.- Govt.
Press, Kothi, Vadodara, Gujarat

GUJARAT
1.M/s. Cryobanks International India Pvt. Ltd.
,129, Pace City-1,
Sector 37, Gurgaon, Haryana

2.M/s. Unistem Bio Sciences Pvt. Ltd.,
Plot No. 62, Udyog,
Vihar, Phase-1, Gurgaon, Haryana.

3.M/s. Lifecell International Pvt. Ltd.,
Plot No. 26, Sector-4,
IMT, Manesar, Gurgaon, Haryana

4.M/s. TotipotentRX Cell Therapy Pvt. Ltd.,
At Fortis Memorial Research Institute,
Sector-44, Gurgaon, Haryana
HARYANA
1.M/s. Narayana Hrudayalaya Tissue Bank & Stem Cells
Research Centre, 258, Bommasandra Area, Bangalore-99
Karnataka
2.M/s. Cryo Save (India) Pvt. Ltd.,
183, Gayathri Tech Park,
EPIP, Road IB, Whitefield,
Bangalore-560066 Karnataka
KARNATAKA
1.M/s. Reliance Life Sciences Pvt. Ltd., at Dhirubhai
Ambani Life Science Centre, R-282, TTC, Industrial
Area, Thane Belapur Road, Rabale, Navi Mumbai-
400071 Maharashtra

2.M/s. Ree Laboratories Pvt. Ltd.,
Unit No. 3,Andheri Industrial Estate,
Veera Desai Road,Andheri (W),
Mumbai-53 Maharashtra

3.M/s. Regenerative Medical Services Pvt. Ltd.,
S.No.43,Plot No. 22, Shah Industrial Estate,
Nangargaom, Lonawala, Maval, Pune, Maharashtra 
MAHARASHTRA
1.M/s. Lifecell International Pvt. Ltd., S.No. 48,
Keelakottaiyur Village, Kelambakkam, Vandalur Road,
Chennai-48

2.M/s Jeevan Blood Bank and Research Centre (Run by
Lister Charitable Trust for Technology, Education and
Research), 22/11, 2nd Floor, Wheat Crofts Road,
Nungambakkam, Chennai -600034
TAMILNADU
1.M/s. Cord Life Sciences India Pvt. Ltd., PL Deuty Road,
Off. Diamond Harbour Road, Bishnupur, South 24,
Parganas, West Bengal-743503
WEST BENGAL
This list may vary based on the new approvals from the government.
Read More

How pincode is formed in india

How pincode is formed in india
PIN code is a short form of postal index number,which is used to identify the location. This PIN code concept is created to identify the location quickly,this code is used to deliver the mails,parcels etc. There is standard code words behind each postal code.
PIN code is six digit number each number in a code has some significance that as follows.

postal code

1. First letter in the PIN code indicates the zones we belongs too.
2. Second and third numbers indicate the district we are
3.Fourth number indicates the routing post office to reach the destination
4. Last two numbers are used to identify the destination post office. Each post office has unique numbers to identify.
If we apply PIN code formula to above PIN code number it will be like below
 5- Karnataka
60 - Bangalore district code
0-Routing post office
16- Doorvani nagar

India has divided into 8 different zones,Click here to see the Zone Details  .
Read More

Zonal codes in india

Zonal codes in india
India is divided into multiple zones,totally we have 8 zones across india. Each zone has its own index or zonal number

StateZonal Number
Delhi, Haryana, Punjab, Chandigarh, Himachal Pradesh, Jammu & Kashmir1
Uttaranchal,Uttar Pradesh2
Rajastan, Gujarat, Daman & Diu, Dadra & Nagar Haveli 3
Maharashtra, Goa, Madhya Pradesh, Chhattisgarh 4
Andhra Pradesh, Karnataka 5
Tamilnadu,Pondicherry, Kerala, Lakshadweep, Minicoy & Admindivi Islands6
Andaman & Nicobar Islands,  Assam, Arunachal Pradesh, Mizoram,Orissa, Meghalaya, Nagaland, Tripura, Sikkim,West Bengal7
Jharkand,Bihar8
Read More

How to apply smart ration card online in tamilnadu

How to apply smart ration card  online in tamilnadu

Tamilnadu government introduced smart ration card to buy the grocery products in easier way.This ration card can be applied through online without visiting the government office.But applying for the new smart card in online is possible for the particular time period.

To apply online go through the official website www.tnpds.gov.in
applysmartcard

1.Click on the New smart ration card option and fill the details with correct information.If you want to add the person in card then click on the add button and fill their details.
2.Choose the type of the card from the option

  •           No commodity card
  •           Rice card 
  •           Sugar card 
  •           Other.

3.Submit the residential proof.eg:voter id,electricity bill etc,that should not exceed 2MB.
4.Provide the gas connection details.If you have 2 gas mention it.
5.Finally submit the form.

After submitting the application,Reference number will be received in your mobile to know the status of the application.Suppose if the number is deleted/lost or any doubts in filling the form refer the link smart card helpline

Existing family card holders can automatically converted to smart card by the government and PIN will send to the mobile.To receive the smart card show the PIN in nearby ration card shop.
Read More

Smart ration card helpline number in tamilnadu

Smart ration card helpline number in tamilnadu
Tamilnadu state government introduced the Smart Ration Card  instead of  old family card.New smart card can be applied through online in the website www.tnpds.gov.in.If the ration card is already existed then it will be automatically converted to smart card by the government,after that PIN will be sent to the registered mobile number,then we can receive the smart card by showing the PIN to the nearest distributor.
If the PIN is lost/deleted we can get it by calling to the smart card helpline number 1967 or 1800-425-5901. We can also get the more information about the smart card by calling to this number.
Read More

Maven including/excluding libraries in build configuration

Maven including/excluding libraries in build configuration
We all know maven plays very important role in building an application .Build configuration is very important setting in maven,using this settings we can include or exclude certain libraries in final war/jar file.This can be done through maven war plugin, below maven settings is used to include only certain libs in final output.

<build>
  <plugins>
   <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <version>2.3</version>
    <configuration>
     <warSourceDirectory>src/main/webapp</warSourceDirectory>
     <packagingIncludes>WEB-INF/lib/logback-classic-1.2.3.jar,WEB-INF/lib/logback-core-1.2.3.jar,WEB-INF/lib/slf4j-api-1.6.4.jar</packagingIncludes>
     <failOnMissingWebXml>false</failOnMissingWebXml>
    </configuration>
   </plugin>
  <plugins>
</build>

There are two ways to achieve this either we can include or exclude. Above method is include one if we wanted to go for exclude one settings as below.

<build>
  <plugins>
   <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <version>2.3</version>
    <configuration>
     <warSourceDirectory>src/main/webapp</warSourceDirectory>
     <packagingExcludes>WEB-INF/lib/logback-classic-1.2.3.jar,WEB-INF/lib/logback-core-1.2.3.jar,WEB-INF/lib/slf4j-api-1.6.4.jar</packagingExcludes>
     <failOnMissingWebXml>false</failOnMissingWebXml>
    </configuration>
   </plugin>
  <plugins>
</build>

That's All !!
Read More

Externalizing third party libraries in tomcat

Externalizing third party libraries in tomcat
Web applications we may work with  multiple modules  due to this  we need to include various dependencies, this results big war file size.Reducing war file size is very important for build and release process when application is big.Only way to reduce the war file size is externalize the third party libs used in the application because this is not going to change often.

In tomcat there is a way to externalize the third party libraries used in the application. We can put all these third party libraries in folder and these libraries are loaded by tomcat class loaders during run time.To configure go to tomcat/conf/catalina.properties and edit the property shared.loader to locate your third party jars.

shared.loader=/opt/apache-tomcat-8.0.36/thirdlibs/*.jar

Now we are done with first step next during our build we should not include these lib.Excluding third party libraries can be achieved using build configuration in maven settings.Click Here to know about maven settings
Here one point to be noted we cannot put all the third party libraries in external folder. Some of the libs are very important during start up of the application, due to class loading hierarchy we may have to include those libraries in classpath of the application.
Read More

Track your money order status online

Track your money order status online
We can check money order status through online.Money order is one of the olden way of sending an money from one place to another place. This service is provided by post office. Even this service works well in now days.  Go to the site https://www.indiapost.gov.in

MoneyOrder.JPG

Now  Enter the money order number we received from post office. On providing proper validation characters click go button. Now we will get to know the status about when did we booked and what is the current status of the money order.

moneyorderconfirm.JPG


Read More

How to check url is indexed in google or not?

How to check url is indexed in google or not?
Indexing URL in google is very important because this key to display our link in search results. Its really good practice to check our page or url is indexed in google or not.Google naturally crawls all the pages in the net but this process is automatic and we cannot assure the crawling of all the pages.

So how can we check our url is indexed or not. Go to www.google.com now enter info:http://www.waytodo.in/2017/03/vehicle-owner-details-online-in-india.html(replace with your url)  click on search button.
google-index
Now if it search result displays your title along with your description which means page is indexed in google. It also gives the information about when google indexed this page

google-results

Read More

FIX Message adding multiple PartyID in MarketDataRequest

FIX Message adding multiple PartyID in MarketDataRequest
In FIX based application when we place market data r request we will set PartyID value in the FIX tag 448.There could be an scenario we might need to set multiple PartyID in the market data request. To do this first we need to update the value of FIX tag 453. This tag indicates how many PartyID sending along with the request.If we wanted to send to trading sessions then value of 453 is 2. Let see the below example how to set it.
quickfix.fix44.MarketDataRequest marketDataRequest = new quickfix.fix44.MarketDataRequest();
  quickfix.fix44.component.Parties aPartyComponent = new quickfix.fix44.component.Parties();
     for(String lp:numberOfParties){
       MarketDataRequest.NoPartyIDs lNoPartyIDs = new MarketDataRequest.NoPartyIDs();
      lNoPartyIDs.set(new PartyID(lp));
       aPartyComponent.addGroup(lNoPartyIDs);
     }
marketDataRequest.set(aPartyComponent);

After setting this tag fix server will send the market data response only for party id's. Similarly we can set multiple sessions in NewOrderSingle as well. Click here to see
Read More

FIX Message adding multiple TradingSessionID in NewOrderSingle

FIX Message adding multiple TradingSessionID in NewOrderSingle
In FIX based application when we place new order request we will set TradingSessionID value in the FIX tag 336.There could be an scenario we might need to set multiple TradingSessionID in the order request. To do this first we need to update the value of FIX tag 386. This tag indicates how many TradingSessionID sending along with the request.If we wanted to send to trading sessions then value of 386 is 2. Let see the below example how to set it.

quickfix.fix44.NewOrderSingle newOrderSingle = new quickfix.fix44.NewOrderSingle();
NewOrderSingle.NoTradingSessions notradingSessions = new NewOrderSingle.NoTradingSessions();
for(String tradingSession:tradingSessionList){
notradingSessions.set(new TradingSessionID(tradingSession));
newOrderSingle.addGroup(notradingSessions);
}
In this scenario order will be placed only mentioned sessions. Similarly we can set multiple party id's in fix market data request as well.Click Here
Read More

Why jeep(four wheel drive) is best for mountain ride?

Why jeep(four wheel drive) is best for mountain ride?
Four wheel drive means engine power is supplied to all four wheels.Most of our vehicles working either on front wheel or rear wheel drive.We take an example of bike to explain the scenario,in case of bike engine power is supplied to back wheels through chain.There is no power supplied to front wheel bike running with the power of back wheel. This is called rear wheel drive.
Mountain ride and slippery roads four wheel is preferred because two wheel drive will not able to control.Below is the layout of four wheel drive.

fourwheeldrive


Jeep is build in the concept of four wheel drive,power is given to all four wheels. This is controllable we can change to normal when we want. When we drive in mountain since power is applied in all the wheels it can claim easily.
Generally four wheel drive is applied to heavy vehicles and mostly used in army.





Read More

Ping command in solaris

Ping command in solaris
Ping command is used to check the connectivity between two systems. This command ensures that only system is up and running but it will not give any information about process in running or not.In Solaris we can use below command to ping continuously.
 
                        ping -s 127.0.0.1(Replace with your destination IP)
Read More

Do you wanted to give complaint to president of india?

Do you wanted to give complaint to president of india?
Every Indian citizen has an option to give his compliant to president through online.Once complaint raised we will get complaint number which will receive through email.This compliant will be addressed one by one based on the priority. Un Genuine use of this portal will be punished severely. Click on the link http://pgportal.gov.in/GrievanceNew.aspx

president-complaint

We can raise complaint against state or central govt's also.Provide all the necessary information's and click on submit. Once done we will receive email with complaint ID and any updates on the complaints again notified through email.

Recently i have raised an complaint with president cell and my complaint was resolved  after three months with proper evidence for that action. There are certain exclusion of category which we cannot raise here and those are listed in front page of the site.
Read More

Highest central/state govt jobs in india

Highest central/state govt jobs in india
In India many high posting govt jobs are selected through public service commission examinations. Most of us know only IAS and IPS are the highest govt jobs but there are many jobs in different field. All these jobs requires minimum qualification of bachelor degree in any stream.
1IAS - Indian Administrative Service
2IPS - Indian Police Service
3IFS - Indian Foreign Service
4IFS - Indian Forest Service
5IRS - Indian Revenue Service (Income Tax )
6IRS - Indian Revenue Service ( Customs & Central Excise )
7IAAS - Indian Audit and Accounts Service
8ICAS - Indian Civil Accounts Service
9ICLS - Indian Corporate Law Service
10IDAS - Indian Defence Accounts Service
11IDES - Indian Defence Estate Service
12IIS - Indian Information Service
13IPTAS - Indian Post & Telecom Accounts Service
14IPS - Indian Postal Service
15IRAS - Indian Railway Accounts Service
16IRTS - Indian Railway Traffics Service
17ITS - Indian Trade Service
18IRPFS - Indian Railway Protection Force Service
19IRPS - Indian Railway Personal Service
Read More

Various kootam/kulam available in kongu vellalar

Various kootam/kulam available in kongu vellalar
Kongu vellalar gounders caste has lot of kootam/kulams. There are around 89 sub caste available in kongu vellalar caste. Below are the complete list
1Anduvan
2Azhagu
3Aathi
4Aanthai
5Aadar
6Aavan
7Eenjan
8Ozhulukar
9Oothaalan
10Kanakkan
11Kannang kulam
12Kannandhai
13Kaadai
14Kaari
15Keeran
16Kulaiyan
17Koorai
18Kovendar
19Saathanthai
20Sellan
21Semban
22Senganan
23Sempoothan
24Sengunnier
25Cheran
26Sedan
27Dhanajeyan
28Thalinji
29Thooran
30Devendran
31Thodar
32Neerunniyar
33Palavar
34Panaiyan
35Paduman
36Payiran
37Panangkaadar
38Pathariyar
39Paandiyan
40Pillan
41Poosan
42Poochandai
43Periyan
44Perunkudiyaan
45Porulaanthai
46Ponnar
47Maniyan
48Mayilar
49Maadar
50Mutthan
51Muzhukaathan
52Medi
53Vannakkan
54Villiyar
55Vizhalaiyan
56Vizhaliyar
57Venduvan
58Vennang
59Vellambar
60Vendhan
61Medi
62Vannakkan
63Villiyar
64Vizhalaiyan
65Vizhaliyar
66Venduvan
67Vennang
68Vellambar
69Vendhan
70Ilankambu
71Yenan
72Kaari
73Yennai Yenna
74Kanavaalan
75Keerai
76Kovar
77Silamban
78Senganni
79Sevanthi
80Cherar
81Nachandai
82Pannai
83Poonthai
84Paithazhali
85Perilanthan
86Podiyan
87Malu Azhagar
88Maluvan
89Maayar
90Moolan
91Vaanan
92Vennai
93Venduluvar
94Vizhiyan
95Thambattai
96Mullai
97Pillai
Read More

How to find vitamin deficiency through nail?

How to find vitamin deficiency through nail?
Nails are one of the part in our body,it helps to prevent the sensitive nerves from injuries or any harms.Nails are made by the protein called keratin. If nails look pink then they are healthier because there is a good blood supply and oxygen supply.Nails need moisture to grow otherwise they become yellowish and they will break down.

What is Lunula 

      Lunula is the important part in nail looks like white color half moon.It is presented in the root of the nail and visible clearly. Lunula is mostly visible clearly in thumb finger.Well formed lunula represents the good thyroid and digestion.Absence of lunula represents week thyroid leads to depression,weight gain and thin hair.Very small lunula represents indigestion problem and low immunity due to slow metabolism and over toxin in body.
lunula

Lack of  lunula in fingers
  • If lunula is not presented in thumb nail then it represents the psychological disease.
  • Lunula absence or very small in index finger causes the diseases in intestines,liver,reproductive system in women and pancreas.
  • Absence of lunula in middle finger indicates the blood pressure problem.
  • If lunula is not presented or very small in ring finger(fourth finger)represents the problem in thyroid gland.
  • Lunula not presented in little finger represents that,the intestine is clogged.

Dark line in nails:

darknail
  • Dark lines in nails indicates the onset of melanoma,its a kind of skin cancer.
  • This is because of vitamin deficiency B12.

Crack in Nails:

crack
    • Nail crack caused due to wetting fingers in water lot of time,using nail polish remover,using dish washes etc.
    • Crack nail indicate the skin disease,fungal infection and mainly hypothyroidism.
    • It is caused due to the deficiency of vitamin A and C.

    Pitting in nails

    pittingnail
    • Nails will have more pitting or dent,which is the symptom of psoriasis.
    • Pitting in nails also occurred because of  tissue disorders,autoimmune disease that cause hair loss and alopecia areata.
    • Pitting also caused by the defective development of the nail plate.

    Spoon Nails

    spoonnail
    • Spoon nail indicates the iron deficiency anemia,hypothyroidism,heart diseases,reduced blood flow.
    • It visible like a spoon shape at the edge of the nail.
    • At the starting stage nail will break easily and brittle.



    White Spots in nail

    whitespot
    • White spot in nail is the sign of calcium deficiency.
    • It is not so harmful and very commonly presented in nails.
    • If white spot stay for longer then it represents fungal infection.

    Read More

    Rohypnol date rape drugs in india

    Rohypnol date rape drugs in india
    Drugs are saviors for humans life but at the same time we have threats as well for our life.There are many drugs used wrongly for illegal activities. One among these drug is rohypnol , This is generally used for Anesthetist purpose.

    This drug can cause nausea,drowsiness,unconsciousness,more dose of this drug can lead to death as well.
    rohypnol

    This tablet does not have any small and color and also this will be quickly mixed in water.Even after mixing this tablet taste of the water will not change. Recently some of the cases registered, this tablet is used for rape.. This medicines are freely available in black markets.

    Prevention is better than cure,We should be very careful when we go out. Also avoid to drink anything from unknown places/persons.
    Read More

    Tried to access field staticLoggerBinder.SINGLETON from class

    Tried to access field staticLoggerBinder.SINGLETON from class
    We might be using different logging framework in our application log4j or logback or any other framework. These frameworks are internally using slf4j API.In some case if we have different slf4j API in classpath or older version of slf 4j API causes below exception.

    Caused by: java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
     at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
     at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
     ... 22 more
    

    Solution:
    We need to upgrade the slf 4j API to latest version, If your using maven we can add below dependency in pom.

    <dependency>
         <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>1.7.7</version>
    </dependency>

    Read More

    Bank loans provided for the women to start business

    Bank loans provided for the women to start business
    Government announced more loan schemes for women for their welfare development,also to create more women entrepreneur.These loans are provided to the women who interested to start the small business.
    bankloan

    Loan scheme for women

    Cent kalyani scheme

    • This loan scheme was announced by Central Bank of India
    • Interest rate for this loan varies according to the sector as per the market rate.
    • This is mainly provided for the women resides in village sector.
    • Women employed in cotton industry,self employed,involved in agriculture,retail trade can also get this loan.
    • Women above 18 years can apply for this.
    • Period for loan settlement is 1 to 7 years.
    • Security is needed.

    Shringaar and Annapurna Scheme

    • This loan is offered by Bhartiya Mahila Bank.
    • It is provided for the women who is willing to start the catering business.
    • Maximum amount provided in this scheme is Rs 50,000.
    • It should be repaid within 3 years for annapurna and 7 years for shringaar.
    • Shringaar scheme given to the women who starts beauty parlour.
    • Applicant age must be between 20 to 60 for shringaar scheme and 18 to 60 for annapurna scheme.

    Stree Shakti package

    • State Bank Of India offers this loan who would like to start a own business.
    • Maximum amount of  50 Lakhs will be provided.
    • Interest rate is less than the bank base rate only exceeds 2 Lakh.
    • Women took part in Entrepreneurship development programs organised by government alone eligible for this loan and also she should own 50% of  the enterprise.
    • No security needed upto 5 Lakhs.

    Dena shakti scheme

    • This is provided by the dena bank.
    • This loan is available for the women who engaged in manufacturing business,agriculture,retail stores etc.
    • 0.25% reduction in interest rate.
    • This is eligible for the women who is greater than 50% in ownership of business enterprise.
    • No third party security.
    • Upto 20 Lakh is provided.

    Mahila Udyam Nidhi scheme

    • Punjab National Bank Provides this loan.
    • Loan amount upto 10 Lakhs is given to women who starts business in small-scale-sector.
    • It should be repaid within 10 years.
    • Interest rate varies according to the sector.
    • Free credit card is provided,no third party security.
    • This loan is offered to the women who is having adequate knowledge about the business.

    Udyogini scheme

    • Punjab and Sind bank offer this loan for the agriculture purpose,small retails,small business.
    • This loan does not have any repayable term.
    • Interest rate is less than the bank rates.

    Read More

    Money saving schemes in post office

    Money saving schemes in post office
    We are mostly using bank' s for the money saving,but we can use post office also,which gives more profit than bank.There are several schemes introduced by the government.

    Saving schemes

    savings

    Selva magal saving scheme(sukanya samriddhi):

    This scheme is mainly introduced for girl child development whose age is below 10 year.Parents or guardians can create the saving account in child name by paying the minimum amount of Rs 1000.It can be created in all the post office branches in India.Minimum amount deposited per year is Rs 1000 and maximum amount is Rs 1.5 Lakhs. Amount will be matured at the age of 21 yr.Interest rate per year is 8.5%,which is tax exempted.

    Ponmagan podhuvaipu scheme(public provident fund):

    PPF scheme is common for all the people.There is no age limit to start the account in this scheme.In this we can deposit minimum amount of Rs 500 to maximum amount of Rs 1.5 Lakhs per year.The interest rate per year is upto 8.0%.Mature period is after 15 years.

    Recurring deposit(RD):

    This is monthly saving scheme.There is no limit for the money deposit per year.But this is a term deposit scheme.If we opened the account then every month we should pay the money without fail otherwise penalty is applied.Interest rate per year is 7.3%.Premature withdraw is available.

    Time deposit scheme(TD):

    This scheme has time period of deposit.We can deposit minimum of Rs 200 and there is no maximum limit.
    Interest rate
    for 1 yr -7.0%
    for 2 yr-7.1%
    for 3 yr-7.3%
    for 5 yr-7.8%

    Senior citizen saving scheme(SCSS):

    This scheme is introduced for the senior citizens age above 60 yrs.This is one time deposit scheme in which minimum amount Rs 1000 and maximum amount of Rs 15 lakhs can be deposited.Maturity period is 5 yr.Interest rate per year is 8.5%.

    Monthly income scheme(MIS):

    This scheme can be opened by individual or by join account.Minimum amount to be deposited is Rs 1500 and maximum amount is Rs 4.5 Lakhs. Annual interest is 7.7%.Maturity period is 5 yrs.There is no age limit.

    National saving certificate(NSC):

    This scheme can be used for tax reduction under 80c. Minimum deposit amount is Rs 100 and there is no maximum limit.This certificate can be owned by a single holder.Maturity period is 5 yrs.Interest rate per year is 8%.

    Kisan vikas patra(KVP):

    This scheme benefits for tax reduction under 80c. Minimum amount to be deposited is Rs 1000 and there is no maximum limit.Deposited amount will be doubled after 9 yr 4 months.This certificate can be purchased by adults only,in case of  minor two adults to be owned.

    Read More

    List of Tamilnadu holidays in 2017

    List of Tamilnadu holidays in 2017

    Holidays in Tamilnadu:

    Public HolidaysDateDay
    New Years DayJanuary 01Sunday
    BhogiJanuary 13Friday
    PongalJanuary 14Saturday
    Thiruvalluvar DayJanuary 15Sunday
    Uzhavar ThirunalJanuary 16Monday
    Republic DayJanuary 26Thursday
    Telugu New Year’s DayMarch 29Wednesday
    Bank Year End ClosingApril 01Saturday
    Mahaveer JayanthiApril 08Saturday
    Good FridayApril 14Friday
    Tamil New Year & Ambedkar JayantiApril 14Friday
    May DayMay 01Monday
    RamzanJune 26Monday
    Krishna JayanthiAugust 14Monday
    Independence DayAugust 15Tuesday
    Vinayakar ChathurthiAugust 25Friday
    BakridSeptember 02Saturday
    Ayutha PoojaSeptember 29Friday
    Vijaya DasamiSeptember 30Saturday
    Year End Of BankSeptember 30Saturday
    MuharramOctober 01Sunday
    Gandhi JayanthiOctober 02Monday
    DiwaliOctober 18Wednesday
    Miladi NabiDecember 02Saturday
    ChristmasDecember 25Monday
    Read More