<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8866959409292491688</atom:id><lastBuildDate>Mon, 01 Jun 2026 19:41:34 +0000</lastBuildDate><category>java</category><category>Alfresco</category><category>Random</category><category>Android</category><category>MySQL</category><category>Spring</category><category>Oracle</category><category>YUI</category><category>jdk</category><category>jvm</category><category>IM</category><category>Messaging</category><category>Openfire</category><category>Play</category><category>PlayStore</category><category>benefit</category><category>certificate</category><category>glassfish</category><category>google</category><category>gradle</category><category>hazelcast</category><category>https</category><category>instagram</category><category>krakow</category><category>maven</category><category>mp3</category><category>mp4</category><category>music</category><category>paypal</category><category>poland</category><category>shazam</category><category>ssl</category><category>tooltip</category><category>youtube</category><title>Vasif Mustafayev&#39;s blog</title><description>Anyone who has never made a mistake has never tried anything new.</description><link>http://vmustafayev4en.blogspot.com/</link><managingEditor>noreply@blogger.com (SigmaTrader)</managingEditor><generator>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-3766065060666631018</guid><pubDate>Wed, 16 Dec 2020 14:14:00 +0000</pubDate><atom:updated>2020-12-16T18:16:33.654+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">gradle</category><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">maven</category><title>Failed to transfer file: http://repo1.maven.org/maven2. Return code is: 501 , ReasonPhrase:HTTPS Required</title><description>&lt;p&gt;&lt;span face=&quot;Arial, Tahoma, Helvetica, FreeSans, sans-serif&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;
  &lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span face=&quot;Arial, Tahoma, Helvetica, FreeSans, sans-serif&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTNFqbwXVZvpTk2t7BzpL2uARJDQSUCAlBxOtLNMk4cAmKohmSASTzfWRQxhPOtySGdQLCONQNGG6LGPmhV2cHfTQ1r-IyNnkGmnXLEJxZR8AL4sRf081pVzkxVl275RN7EQg_-bXcEmMY/s545/maven.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;301&quot; data-original-width=&quot;545&quot; height=&quot;111&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTNFqbwXVZvpTk2t7BzpL2uARJDQSUCAlBxOtLNMk4cAmKohmSASTzfWRQxhPOtySGdQLCONQNGG6LGPmhV2cHfTQ1r-IyNnkGmnXLEJxZR8AL4sRf081pVzkxVl275RN7EQg_-bXcEmMY/w200-h111/maven.png&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span face=&quot;Arial, Tahoma, Helvetica, FreeSans, sans-serif&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;br&gt;If you are getting the following error when you are building your Java project using maven or gradle:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span face=&quot;Arial, Tahoma, Helvetica, FreeSans, sans-serif&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;Failed to transfer file: http://repo1.maven.org/maven2. &lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span face=&quot;Arial, Tahoma, Helvetica, FreeSans, sans-serif&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;Return code is: 501 , ReasonPhrase:HTTPS Required&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Arial, Tahoma, Helvetica, FreeSans, sans-serif&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;some artifact=&quot;&quot; dependency=&quot;&quot;&gt;And you are thinking what happened, I haven’t changed anything in my project, no new dependencies, or repositories. The answer is that you haven’t changed anything. &lt;/some&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Arial, Tahoma, Helvetica, FreeSans, sans-serif&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;some artifact=&quot;&quot; dependency=&quot;&quot;&gt;Do not panic! Effective January 15, 2020, the Central Repository is not longer supporting communication over HTTP and it requires requests to the repository must be over HTTPS.&lt;/some&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Arial, Tahoma, Helvetica, FreeSans, sans-serif&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2020/12/failed-to-transfer-file.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2020/12/failed-to-transfer-file.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTNFqbwXVZvpTk2t7BzpL2uARJDQSUCAlBxOtLNMk4cAmKohmSASTzfWRQxhPOtySGdQLCONQNGG6LGPmhV2cHfTQ1r-IyNnkGmnXLEJxZR8AL4sRf081pVzkxVl275RN7EQg_-bXcEmMY/s72-w200-h111-c/maven.png" height="72" width="72"/><thr:total>10</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-4314535947263296395</guid><pubDate>Mon, 31 Aug 2020 10:21:00 +0000</pubDate><atom:updated>2020-08-31T14:21:15.022+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hazelcast</category><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">jdk</category><category domain="http://www.blogger.com/atom/ns#">jvm</category><title>Latency for sharing data while using Hazelcast on Virtual Machine</title><description>&lt;p&gt;&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfO1-d0ZTnu5a_41bZlhyY2xja37It9hdxJw9uHtcHuSsegmgXboyoc6cNJfFlbvBZzaFLUBHXVnAkUOe9C8F0GPiVtUiMD_nt2A7JeLsqdg-gwJUqRBRyu1hRCPu9RuZ5M6RI9hts63DQ/s907/hazelcast-embedded-cache.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;409&quot; data-original-width=&quot;907&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfO1-d0ZTnu5a_41bZlhyY2xja37It9hdxJw9uHtcHuSsegmgXboyoc6cNJfFlbvBZzaFLUBHXVnAkUOe9C8F0GPiVtUiMD_nt2A7JeLsqdg-gwJUqRBRyu1hRCPu9RuZ5M6RI9hts63DQ/w262-h118/hazelcast-embedded-cache.png&quot; width=&quot;262&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;br&gt;A few days back we found out one old app which was running on multiple nodes while having in-memory cache usage. So, as a result, there was a case when the request came to the first node and the second node didn&amp;#39;t get that data, and the app wasn&amp;#39;t functioning properly. &lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;So, as always first thing which we considered to use Redis. However, we don&amp;#39;t have ready to use the Redis cluster and we started looking for other solutions in a market. Finally, I saw there is a Hazelcast which allows sharing data between nodes even without having the Hazelcast cluster. Of course, it is working when you are running in the same network. So, nodes should be able to multicast and make a proper cluster.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-size: 13px;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2020/08/latency-for-sharing-data-while-using-hazelcast.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2020/08/latency-for-sharing-data-while-using-hazelcast.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfO1-d0ZTnu5a_41bZlhyY2xja37It9hdxJw9uHtcHuSsegmgXboyoc6cNJfFlbvBZzaFLUBHXVnAkUOe9C8F0GPiVtUiMD_nt2A7JeLsqdg-gwJUqRBRyu1hRCPu9RuZ5M6RI9hts63DQ/s72-w262-h118-c/hazelcast-embedded-cache.png" height="72" width="72"/><thr:total>5</thr:total><georss:featurename>Berlin, Germany</georss:featurename><georss:point>52.520006599999988 13.404954</georss:point><georss:box>24.209772763821142 -21.751296 80.830240436178826 48.561204000000004</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-2627439680709017946</guid><pubDate>Wed, 13 Nov 2019 16:49:00 +0000</pubDate><atom:updated>2019-11-13T21:14:14.685+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">jdk</category><category domain="http://www.blogger.com/atom/ns#">jvm</category><title>Java List vs List&amp;lt;?&amp;gt; vs List&amp;lt;Object&amp;gt;</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFRFpmKiZ3cEm6_6UFtezIc7JpHNRymdVgEDVnUm80I7PnDT-9FRqLr-19c75VRcNiDEKV7IzRzdjK_FhS_bg6bvLBa15i4Ij8AVpWKMoFvrbaVevRb1SbGJfBeVSj1DErvS2Bp-gDnaxs/s1600/java-new.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;281&quot; data-original-width=&quot;500&quot; height=&quot;111&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFRFpmKiZ3cEm6_6UFtezIc7JpHNRymdVgEDVnUm80I7PnDT-9FRqLr-19c75VRcNiDEKV7IzRzdjK_FhS_bg6bvLBa15i4Ij8AVpWKMoFvrbaVevRb1SbGJfBeVSj1DErvS2Bp-gDnaxs/s200/java-new.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;Before generics were introduced developers used lists as &lt;b&gt;List&lt;/b&gt; which means you can store any type of objects including null inside it and when you read it you need to cast it&lt;/span&gt;
&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;List list = new ArrayList();
list.add(&amp;quot;String test&amp;quot;);
list.add(new Date());

String s = (String) list.get(0);
&lt;/pre&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;From code above you can expect &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;ClassCastException&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; because if you try to assign 2nd item to String it will not succeed and you will get an exception during runtime. To prevent it you need to check if your type is correct and then cast as below&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2019/11/java-list-vs-list-vs-list.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2019/11/java-list-vs-list-vs-list.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFRFpmKiZ3cEm6_6UFtezIc7JpHNRymdVgEDVnUm80I7PnDT-9FRqLr-19c75VRcNiDEKV7IzRzdjK_FhS_bg6bvLBa15i4Ij8AVpWKMoFvrbaVevRb1SbGJfBeVSj1DErvS2Bp-gDnaxs/s72-c/java-new.jpg" height="72" width="72"/><thr:total>7</thr:total><georss:featurename>Krakow</georss:featurename><georss:point>50.058137855773914 20.123558815195452</georss:point><georss:box>40.784523855773912 -0.97019118480454836 59.331751855773916 41.217308815195452</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-1735864116133487207</guid><pubDate>Fri, 03 May 2019 19:58:00 +0000</pubDate><atom:updated>2020-08-23T00:16:24.800+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">benefit</category><category domain="http://www.blogger.com/atom/ns#">krakow</category><category domain="http://www.blogger.com/atom/ns#">poland</category><title>What kind of benefits you can expect in Poland</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOcKUDdBHFMrPXs-rlvxh7C37G_Z-1jFyK_p-89ejhDpUy5d4ge2dKLrUZdcFDduL5VmKtE4q1QLwfiwdIxOT9_fZATHf3KZg_8OBnN4_p6m64mb1ISApcQGUQ9vQbn7KUUfIJh3UquNPa/s1600/krakow.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;627&quot; data-original-width=&quot;1000&quot; height=&quot;125&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOcKUDdBHFMrPXs-rlvxh7C37G_Z-1jFyK_p-89ejhDpUy5d4ge2dKLrUZdcFDduL5VmKtE4q1QLwfiwdIxOT9_fZATHf3KZg_8OBnN4_p6m64mb1ISApcQGUQ9vQbn7KUUfIJh3UquNPa/s200/krakow.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot;, arial, sans-serif; font-size: 13px;&quot;&gt;Hey, &lt;/span&gt;&lt;br&gt;
&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot;, arial, sans-serif; font-size: 13px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot;, arial, sans-serif; font-size: 13px;&quot;&gt;I relocated to Poland(Krakow) in 2017 and I&amp;#39;m very happy to be here. I just regret that why I didn&amp;#39;t do it 5-10 years ago :) &lt;/span&gt;&lt;br&gt;
&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot;, arial, sans-serif; font-size: 13px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot;, arial, sans-serif; font-size: 13px;&quot;&gt;Except nice and kind people, beautiful, old and safe city you can even expect a lot of benefits from the government and companies. Today I want to share all kind of benefits which I know and use here. If you know additional ones please feel free to leave them in the comment, I&amp;#39;ll be happy to check it and add to the list :)&lt;/span&gt;&lt;br&gt;
&lt;span face=&quot;&quot; style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot;, arial, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2019/05/what-kind-of-benefits-you-can-expect-in.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2019/05/what-kind-of-benefits-you-can-expect-in.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOcKUDdBHFMrPXs-rlvxh7C37G_Z-1jFyK_p-89ejhDpUy5d4ge2dKLrUZdcFDduL5VmKtE4q1QLwfiwdIxOT9_fZATHf3KZg_8OBnN4_p6m64mb1ISApcQGUQ9vQbn7KUUfIJh3UquNPa/s72-c/krakow.jpg" height="72" width="72"/><thr:total>20</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-2701799787419908002</guid><pubDate>Thu, 23 Aug 2018 14:40:00 +0000</pubDate><atom:updated>2019-11-04T21:12:34.702+04:00</atom:updated><title>How to hibernate from the lock screen on Ubuntu 18</title><description>&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt; &lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3BdoedfitwBpFwFbt3GRtybDtZ1CLFNf9DKRvA1iL7McLvu1ZsNAA6hkPI1h4YWGWdimQ7w47EtWR0vYt5uwwqJKqMGn6gm-B25qdIJ270cmC7iW_oVoshtSrFjO4YVg5YtlL5qSuulrT/s1600/Ubuntu18-04-Installation-screen.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;396&quot; data-original-width=&quot;707&quot; height=&quot;111&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3BdoedfitwBpFwFbt3GRtybDtZ1CLFNf9DKRvA1iL7McLvu1ZsNAA6hkPI1h4YWGWdimQ7w47EtWR0vYt5uwwqJKqMGn6gm-B25qdIJ270cmC7iW_oVoshtSrFjO4YVg5YtlL5qSuulrT/s200/Ubuntu18-04-Installation-screen.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;By default Ubuntu doesnt support hibernate option. Even when u enable it using &amp;quot;pm-utils&amp;quot; during resume(wake-up) your laptop will not require password. &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;And this is very risky moment. &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;&lt;br&gt;&lt;/span&gt; &lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;In my case, I created a keyboard shortcut which enables hibernate and lock. &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;Today I will share steps how you also can do it for your laptop/pc.&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2018/08/how-to-hibernate-with-lock-screen-on.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2018/08/how-to-hibernate-with-lock-screen-on.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3BdoedfitwBpFwFbt3GRtybDtZ1CLFNf9DKRvA1iL7McLvu1ZsNAA6hkPI1h4YWGWdimQ7w47EtWR0vYt5uwwqJKqMGn6gm-B25qdIJ270cmC7iW_oVoshtSrFjO4YVg5YtlL5qSuulrT/s72-c/Ubuntu18-04-Installation-screen.jpg" height="72" width="72"/><thr:total>70</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-271410559748985180</guid><pubDate>Sun, 15 Apr 2018 21:03:00 +0000</pubDate><atom:updated>2018-04-16T01:06:07.115+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><category domain="http://www.blogger.com/atom/ns#">google</category><category domain="http://www.blogger.com/atom/ns#">Play</category><category domain="http://www.blogger.com/atom/ns#">PlayStore</category><category domain="http://www.blogger.com/atom/ns#">Random</category><title>How to change Google Play Country on Android</title><description>&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt; &lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSKXNntTowvUvz02eOK5_Jv4445zy19lwiRqq-ShBraQcg2Upe8HAhEVGXbTeQh3JoEWxJAHgYDyjtefE1an-kzIBOsvPkw7eIUqk-PxRYdvwgeqvod7lAosZtgOVlOoYwVS7qpYXCAQVL/s1600/Google-Play-Store-logo.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;901&quot; data-original-width=&quot;1600&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSKXNntTowvUvz02eOK5_Jv4445zy19lwiRqq-ShBraQcg2Upe8HAhEVGXbTeQh3JoEWxJAHgYDyjtefE1an-kzIBOsvPkw7eIUqk-PxRYdvwgeqvod7lAosZtgOVlOoYwVS7qpYXCAQVL/s200/Google-Play-Store-logo.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;As you know, Google Play filters some apps on a per country and/or per region basis. And I also when relocated to Poland wasn&amp;#39;t able to download and use Poland based apps. &lt;br&gt;&lt;br&gt;Long history, in short, most of the time developers or companies (bank and government organizations i.e.) put apps on the market which are allowed to download only by the account/user which belongs to that country. &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;Today, when I need to change my account to use Poland as a country wasn&amp;#39;t easy as expected :) That is why I decided to share easy steps how I did it with you. &lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2018/04/how-to-change-google-play-country-on.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2018/04/how-to-change-google-play-country-on.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSKXNntTowvUvz02eOK5_Jv4445zy19lwiRqq-ShBraQcg2Upe8HAhEVGXbTeQh3JoEWxJAHgYDyjtefE1an-kzIBOsvPkw7eIUqk-PxRYdvwgeqvod7lAosZtgOVlOoYwVS7qpYXCAQVL/s72-c/Google-Play-Store-logo.jpg" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-2847976879002535664</guid><pubDate>Sat, 14 Apr 2018 22:41:00 +0000</pubDate><atom:updated>2019-11-05T17:37:42.607+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">certificate</category><category domain="http://www.blogger.com/atom/ns#">https</category><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">jdk</category><category domain="http://www.blogger.com/atom/ns#">jvm</category><category domain="http://www.blogger.com/atom/ns#">ssl</category><title>Unable to Find Valid Certification Path to Requested Target while using Java on Server</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCpQjX0mIpyyVwCwK45FvpgE_GXKx-mLd34mKj2t8W5dXBNYyVSns-KEsYsQWOc9IOEyyqnpA3uEl8rNT-MckYBNUt-XMQiY3u_gj-e5oYYsP1y6viCLBeO1KYjk1dUSeQoxJ8_VRV4V2F/s1600/https.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;265&quot; data-original-width=&quot;400&quot; height=&quot;132&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCpQjX0mIpyyVwCwK45FvpgE_GXKx-mLd34mKj2t8W5dXBNYyVSns-KEsYsQWOc9IOEyyqnpA3uEl8rNT-MckYBNUt-XMQiY3u_gj-e5oYYsP1y6viCLBeO1KYjk1dUSeQoxJ8_VRV4V2F/s200/https.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt; &lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;
SSL Certificates are small data files that digitally bind a cryptographic key to an organization’s details. &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;When installed on a web server, it activates the padlock and the https protocol and allows secure connections from a web server to a browser. &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;Typically, SSL is used to secure credit card transactions, data transfer, and logins, and more recently is becoming the norm when securing browsing of social media sites.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;Even now, most the browsers show sites as &amp;quot;Not Secure&amp;quot; when they don&amp;#39;t have SSL certificates&lt;br&gt;&lt;br&gt;
Maybe you also faced an issue like below:&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2018/04/unable-to-find-valid-certification-path.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2018/04/unable-to-find-valid-certification-path.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCpQjX0mIpyyVwCwK45FvpgE_GXKx-mLd34mKj2t8W5dXBNYyVSns-KEsYsQWOc9IOEyyqnpA3uEl8rNT-MckYBNUt-XMQiY3u_gj-e5oYYsP1y6viCLBeO1KYjk1dUSeQoxJ8_VRV4V2F/s72-c/https.jpg" height="72" width="72"/><thr:total>6</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-5197654872485325576</guid><pubDate>Tue, 07 Jun 2016 12:16:00 +0000</pubDate><atom:updated>2016-06-07T16:16:28.046+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">IM</category><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">Messaging</category><category domain="http://www.blogger.com/atom/ns#">Openfire</category><title>Openfire Custom database integration steps</title><description>&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXacGUj35GJnkqVN7DOJ6cDMeAc3Y-5tvMZK19kvAonvy8sHy8FVgltOQipnF4kN5Np7cmkFRvP5KxWu0LyDxzyQ75s4RGiatrNIdwYpzqpWmag_5J3Er2tqs9K6xWi1i4nUTpVMlNCzzb/s1600/052-Images-Trends-in-Instant-Messaging.jpg-.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXacGUj35GJnkqVN7DOJ6cDMeAc3Y-5tvMZK19kvAonvy8sHy8FVgltOQipnF4kN5Np7cmkFRvP5KxWu0LyDxzyQ75s4RGiatrNIdwYpzqpWmag_5J3Er2tqs9K6xWi1i4nUTpVMlNCzzb/s200/052-Images-Trends-in-Instant-Messaging.jpg-.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Instant messaging (IM) has enjoyed phenomenal success as a person-to-person communication tool; in some instances, it has supplanted email as the preferred means of online communication. Now, developers are using this technology for application-to-person and application-to-application communication.&lt;br&gt;&lt;br&gt;
There are too many IM servers which work with XMPP protocol. Some of them are paid/Enterprise and some of them are OpenSource.&lt;br&gt;&lt;br&gt;
We are using &amp;quot;Openfire&amp;quot; as a IM server for our projects. It is free, open source and java based. Except this advantages it has too many plugins which you can use for free. Openfire is a XMPP server and it has own client application with name &amp;quot;Spark&amp;quot;.&lt;br&gt;&lt;/span&gt;&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2016/06/openfire-custom-database-integration.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2016/06/openfire-custom-database-integration.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXacGUj35GJnkqVN7DOJ6cDMeAc3Y-5tvMZK19kvAonvy8sHy8FVgltOQipnF4kN5Np7cmkFRvP5KxWu0LyDxzyQ75s4RGiatrNIdwYpzqpWmag_5J3Er2tqs9K6xWi1i4nUTpVMlNCzzb/s72-c/052-Images-Trends-in-Instant-Messaging.jpg-.jpg" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-903315422442865482</guid><pubDate>Wed, 01 Jun 2016 14:03:00 +0000</pubDate><atom:updated>2016-06-01T18:04:10.942+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><category domain="http://www.blogger.com/atom/ns#">instagram</category><category domain="http://www.blogger.com/atom/ns#">mp3</category><category domain="http://www.blogger.com/atom/ns#">mp4</category><category domain="http://www.blogger.com/atom/ns#">music</category><category domain="http://www.blogger.com/atom/ns#">shazam</category><category domain="http://www.blogger.com/atom/ns#">youtube</category><title>Youtube/Shazam mp3/mp4 downloader for Android</title><description>&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcoKACm-mTXdz61eDxhCtRJVa1DnPesvWh-OUf-CC5BESM5KEBa5V972NPjQioD4L3IWE4jDmOdA4FYaAb5yezqoCOMCpBfXPWm4U6C2FPXorTRdc_w1hOM2QQnkwQLaKMfKQqI3F-KimU/s1600/yoump34-ads-fullscreen_landscape.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;133&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcoKACm-mTXdz61eDxhCtRJVa1DnPesvWh-OUf-CC5BESM5KEBa5V972NPjQioD4L3IWE4jDmOdA4FYaAb5yezqoCOMCpBfXPWm4U6C2FPXorTRdc_w1hOM2QQnkwQLaKMfKQqI3F-KimU/s200/yoump34-ads-fullscreen_landscape.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Do you know how to download music or video from Youtube? Or do you know how to download music/mp3 from shazam on your android device? &lt;br /&gt;
If you don&#39;t know how download music from youtube or shazam on android then you should read this post :)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;We have developed 2 applications by name &lt;b&gt;YouMp34&lt;/b&gt; and &lt;b&gt;ShazaMusic&lt;/b&gt; which allow you to download from youtube and shazam for free.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
Both of this applications is free and only for android users. You can view and download it from our official web site &lt;a href=&quot;http://bit.ly/1XPqd2v&quot; target=&quot;blank_&quot;&gt;www.yoump34.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;We&#39;ll be happy to grow together :)&lt;br /&gt;

&lt;/span&gt;</description><link>http://vmustafayev4en.blogspot.com/2016/06/youtubeshazam-mp3mp4-downloader-for.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcoKACm-mTXdz61eDxhCtRJVa1DnPesvWh-OUf-CC5BESM5KEBa5V972NPjQioD4L3IWE4jDmOdA4FYaAb5yezqoCOMCpBfXPWm4U6C2FPXorTRdc_w1hOM2QQnkwQLaKMfKQqI3F-KimU/s72-c/yoump34-ads-fullscreen_landscape.png" height="72" width="72"/><thr:total>17</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-3023099586189125365</guid><pubDate>Thu, 26 Mar 2015 14:11:00 +0000</pubDate><atom:updated>2015-03-26T18:11:58.424+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">MySQL</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><title>JDBC URL to connect RAC database or How add multiple hosts in jdbc url</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy93mQcuDlBmEaqJWzPR6jvU58ybnrXF3ySGA6KEFu-7Rg3sSQijdpjTSUjjYPsbkw-_57wYRgQpTddkbFnuLjmoBEx9ZfEptnXMBuDCrWHZ_rtZgVXQUZp0eJ1jniy3THSB8JNyTFe3_N/s1600/JDBC+URL+to+connect+to+a+RAC+database.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy93mQcuDlBmEaqJWzPR6jvU58ybnrXF3ySGA6KEFu-7Rg3sSQijdpjTSUjjYPsbkw-_57wYRgQpTddkbFnuLjmoBEx9ZfEptnXMBuDCrWHZ_rtZgVXQUZp0eJ1jniy3THSB8JNyTFe3_N/s1600/JDBC+URL+to+connect+to+a+RAC+database.gif&quot; height=&quot;200&quot; width=&quot;198&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Today I will share new problem which I have solved.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;In my last project I was connected to Oracle database (RAC) database using multiple hosts and I want to share oracle connection string which uses multiple hosts.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;So while you are connecting from oracle clients (as PL/SQL developer) it is easy to define multiple hosts in tnsnames.ora&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;/span&gt;

&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2015/03/jdbc-url-to-connect-rac-database-or-how.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2015/03/jdbc-url-to-connect-rac-database-or-how.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy93mQcuDlBmEaqJWzPR6jvU58ybnrXF3ySGA6KEFu-7Rg3sSQijdpjTSUjjYPsbkw-_57wYRgQpTddkbFnuLjmoBEx9ZfEptnXMBuDCrWHZ_rtZgVXQUZp0eJ1jniy3THSB8JNyTFe3_N/s72-c/JDBC+URL+to+connect+to+a+RAC+database.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-6332094337972527512</guid><pubDate>Thu, 25 Sep 2014 05:11:00 +0000</pubDate><atom:updated>2014-09-25T10:11:31.557+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">glassfish</category><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">Oracle</category><title>Oracle JDBC problem - Locale not recognized on Glassfish</title><description>&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWWqDz70lGnhRXR2S4Uk3Ga5vCltfknNb4iUinOgF7g_NG7zucuQ6ZP1ACdugahrL2lACBZqoBUbvyHXSb0GLo6M6hVh0n_mFr_oX1_l12nEOkdweHKEmjW__dp6N0S7YOqxLXeDYkr6lv/s1600/glassfish-locale-problem.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWWqDz70lGnhRXR2S4Uk3Ga5vCltfknNb4iUinOgF7g_NG7zucuQ6ZP1ACdugahrL2lACBZqoBUbvyHXSb0GLo6M6hVh0n_mFr_oX1_l12nEOkdweHKEmjW__dp6N0S7YOqxLXeDYkr6lv/s1600/glassfish-locale-problem.png&quot; height=&quot;122&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;When you create JDBC connection pool for oracle you may seen error like below:
&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style=&quot;background-color: white; color: red; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;i&gt;Ping Connection Pool failed for DBNAME. Connection could not be allocated because: Locale not recognized Please check the server.log for more details.&lt;/i&gt;&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
Solution of this problem is so simple. How we can solve this problem???&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2014/09/oracle-jdbc-problem-locale-not.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2014/09/oracle-jdbc-problem-locale-not.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWWqDz70lGnhRXR2S4Uk3Ga5vCltfknNb4iUinOgF7g_NG7zucuQ6ZP1ACdugahrL2lACBZqoBUbvyHXSb0GLo6M6hVh0n_mFr_oX1_l12nEOkdweHKEmjW__dp6N0S7YOqxLXeDYkr6lv/s72-c/glassfish-locale-problem.png" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-3406651944525912453</guid><pubDate>Tue, 17 Sep 2013 11:52:00 +0000</pubDate><atom:updated>2013-09-17T16:57:46.319+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">Random</category><title>Shuffle an Array in Java with Easy or Fast way</title><description>&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;

&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWHJgMPe14opXxB6kGsaJOEzuzq6yaBS2p-q2JgzNMHf39P-amJOVGWj2itbxvrKHfkM_hxJA0ICOnPvysT_rY80fR2ypVKzfzKMx2c0O41N7etPRWST4jj5vB8wWxC8EpNaJZrgEcbnCy/s1600/1194986855125869974rubik_s_cube_random_petr_01.svg.med.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWHJgMPe14opXxB6kGsaJOEzuzq6yaBS2p-q2JgzNMHf39P-amJOVGWj2itbxvrKHfkM_hxJA0ICOnPvysT_rY80fR2ypVKzfzKMx2c0O41N7etPRWST4jj5vB8wWxC8EpNaJZrgEcbnCy/s200/1194986855125869974rubik_s_cube_random_petr_01.svg.med.png&quot; width=&quot;183&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Objects are a powerful software engineering construct, and Java uses them extensively. While developing Android applications you need fast way of doing something. For example:&lt;br&gt;
Often u need randomized Array which u will save state of stage or something.&lt;br&gt; In that case how you change order of Array randomly???

&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;There are 2 famous way for this:&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2013/09/shuffle-array-in-java-with-easy-or-fast.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2013/09/shuffle-array-in-java-with-easy-or-fast.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWHJgMPe14opXxB6kGsaJOEzuzq6yaBS2p-q2JgzNMHf39P-amJOVGWj2itbxvrKHfkM_hxJA0ICOnPvysT_rY80fR2ypVKzfzKMx2c0O41N7etPRWST4jj5vB8wWxC8EpNaJZrgEcbnCy/s72-c/1194986855125869974rubik_s_cube_random_petr_01.svg.med.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-4706406008446427848</guid><pubDate>Thu, 18 Jul 2013 09:40:00 +0000</pubDate><atom:updated>2013-07-18T14:40:01.454+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">MySQL</category><title>SOLVED: Unknown type &#39;246 in column 2 of 3 in binary-encoded result set</title><description>&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;

&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtRLRwLjKIZNJC1Ac3LDb1BIGWg-bMmntoLQFX8ipeUBkuzALcbRKjBSG4S-sHezl0TWYnRStAKns5RYr8hJyOMRKypMD-bgxwT4dk93aFMNyLbMvHeTxhyphenhyphen3aq4BW_EgYQvfYbbz2nT_4N/s1600/cast_mysql.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 3em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;143&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtRLRwLjKIZNJC1Ac3LDb1BIGWg-bMmntoLQFX8ipeUBkuzALcbRKjBSG4S-sHezl0TWYnRStAKns5RYr8hJyOMRKypMD-bgxwT4dk93aFMNyLbMvHeTxhyphenhyphen3aq4BW_EgYQvfYbbz2nT_4N/s200/cast_mysql.gif&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Today at our firm was problem like as &amp;quot;Unknown type &amp;#39;246 in column 2 of 3 in binary-encoded result set&amp;quot; when selected table has column as decimal(10, 2) type. This errors cause because we use old version of mysql jdbc driver.
Solution for this problem is:
&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;padding: 25px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;li&gt;Download new version of driver&lt;/li&gt;
&lt;li&gt;
Convert double column to char on selection.
&lt;pre class=&quot;sql&quot; name=&quot;code&quot;&gt;SELECT CAST(your_column AS char(15)) your_column FROM your_table;&lt;/pre&gt;
So in this case on java side u can get it as Double again.
&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px;&quot;&gt;
&lt;/span&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2013/07/solved-unknown-type-246-in-column-2-of.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2013/07/solved-unknown-type-246-in-column-2-of.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtRLRwLjKIZNJC1Ac3LDb1BIGWg-bMmntoLQFX8ipeUBkuzALcbRKjBSG4S-sHezl0TWYnRStAKns5RYr8hJyOMRKypMD-bgxwT4dk93aFMNyLbMvHeTxhyphenhyphen3aq4BW_EgYQvfYbbz2nT_4N/s72-c/cast_mysql.gif" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-4656638976339126872</guid><pubDate>Sat, 16 Mar 2013 18:50:00 +0000</pubDate><atom:updated>2013-03-16T23:24:28.297+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">Spring</category><title>Create your web services with Spring</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc5IgbkTsmFH6Wu0qiD1A-U5zerXKDIzwkI9iLzZmmkjaRZIfgJQJ3A_k8NgBYhjuUTLMT-wQGpoIBDbToceBQ3dzwUCGn7fXpsg0ajAdPmeEe3Gl3IV70ZF_fUflWEMcP8z7hX6F7K_Qg/s1600/spring-ws-logo.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;133&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc5IgbkTsmFH6Wu0qiD1A-U5zerXKDIzwkI9iLzZmmkjaRZIfgJQJ3A_k8NgBYhjuUTLMT-wQGpoIBDbToceBQ3dzwUCGn7fXpsg0ajAdPmeEe3Gl3IV70ZF_fUflWEMcP8z7hX6F7K_Qg/s200/spring-ws-logo.png&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;

In this post I will show &amp;quot;Spring way&amp;quot; to build RESTful web services. It also explained how to produce multiple representations (JSON, XML and etc.), which is an important feature for RESTful web services.&lt;br&gt;
This article explains another way to produce multiple representations using HttpMessageConverter, and examples in the article show how to use RestTemplate with HttpMessageConverter to communicate with services.

HTTP requests and responses are text based, meaning a browser and server communicate by exchanging raw texts. With Spring, however, methods in the controller class return pure &amp;#39;String&amp;#39; type and domain models (or other Java built-in objects). How can Spring serialize/de-serialize the objects to raw texts? This is handled by HttpMessageConverter. Spring has bundled implementations that can meet your common needs. Table 1 shows some examples.&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2013/03/create-your-webservice-with-spring.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2013/03/create-your-webservice-with-spring.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc5IgbkTsmFH6Wu0qiD1A-U5zerXKDIzwkI9iLzZmmkjaRZIfgJQJ3A_k8NgBYhjuUTLMT-wQGpoIBDbToceBQ3dzwUCGn7fXpsg0ajAdPmeEe3Gl3IV70ZF_fUflWEMcP8z7hX6F7K_Qg/s72-c/spring-ws-logo.png" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-2776927007188129141</guid><pubDate>Tue, 25 Dec 2012 08:36:00 +0000</pubDate><atom:updated>2012-12-25T13:50:20.060+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><title>Read data from SSL X.509 Certificates</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoCGS77kwlEksTjxZxiymqpuKeWDgpDqxQavwAHgBULWF9lj-8BSzUu2M_KSok3lx66XICro11yU3fVdh8pfKIpuavEVFkyhbrDnneRuaeTUyzBqYKfoBW9MquAe5zsEolcLNpxniiAO8z/s1600/x509.en.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;129&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoCGS77kwlEksTjxZxiymqpuKeWDgpDqxQavwAHgBULWF9lj-8BSzUu2M_KSok3lx66XICro11yU3fVdh8pfKIpuavEVFkyhbrDnneRuaeTUyzBqYKfoBW9MquAe5zsEolcLNpxniiAO8z/s200/x509.en.png&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;

According to X.509, you can create certificates with either RSA or DSA key pairs. But only RSA key pairs are capable of exchanging keys when starting a new SSL connection with a SSL server. You can only use RSA key pairs as your server certificates. On the other hand, CAs do not have to exchange keys. They only issue other certificates. You can use either RSA or DSA key pair as your CAs. But, some SSL programs do not support the DSA algorithm yet.&lt;br&gt;&lt;br&gt;
Sometimes u need check certificate valid date on server. U can do this in java simple:&lt;/span&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/12/read-data-from-ssl-x509-certificates.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/12/read-data-from-ssl-x509-certificates.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoCGS77kwlEksTjxZxiymqpuKeWDgpDqxQavwAHgBULWF9lj-8BSzUu2M_KSok3lx66XICro11yU3fVdh8pfKIpuavEVFkyhbrDnneRuaeTUyzBqYKfoBW9MquAe5zsEolcLNpxniiAO8z/s72-c/x509.en.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-6839296127807214886</guid><pubDate>Mon, 19 Nov 2012 12:53:00 +0000</pubDate><atom:updated>2012-11-19T16:53:08.936+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><title>Captcha for Java</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJKZGOXTOelnpWWAtIrzY-Hlw2-aby6EHpNIhDpYCmuEk8-DAnF1Gf6U8Ol4gLpZel_eJWUlP4TmyNhyphenhyphenGB7iAXb-KxfWdTsyTaWwdnl4q2F3nA3seTiF8jyBhlxsIZf5Jxc8SlsYH6-TVp/s1600/captcha.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;75&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJKZGOXTOelnpWWAtIrzY-Hlw2-aby6EHpNIhDpYCmuEk8-DAnF1Gf6U8Ol4gLpZel_eJWUlP4TmyNhyphenhyphenGB7iAXb-KxfWdTsyTaWwdnl4q2F3nA3seTiF8jyBhlxsIZf5Jxc8SlsYH6-TVp/s200/captcha.png&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;

       A CAPTCHA is a program that protects websites against bots by generating and grading tests that humans can pass but current computer programs cannot. For example, humans can read distorted text as the one shown on image, but current computer programs can&amp;#39;t.&lt;br&gt;
       The term CAPTCHA (for Completely Automated Public Turing Test To Tell Computers and Humans Apart) was coined in 2000 by Luis von Ahn, Manuel Blum, Nicholas Hopper and John Langford of Carnegie Mellon University.&lt;br&gt;
       When u create web project sometimes u need captcha with colors of your site. That cases u can create captcha yourself as following:&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/11/captcha-for-java.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/11/captcha-for-java.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJKZGOXTOelnpWWAtIrzY-Hlw2-aby6EHpNIhDpYCmuEk8-DAnF1Gf6U8Ol4gLpZel_eJWUlP4TmyNhyphenhyphenGB7iAXb-KxfWdTsyTaWwdnl4q2F3nA3seTiF8jyBhlxsIZf5Jxc8SlsYH6-TVp/s72-c/captcha.png" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-660400398054646411</guid><pubDate>Sun, 04 Nov 2012 15:58:00 +0000</pubDate><atom:updated>2012-11-04T20:00:41.349+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><title>Parse XML and Properties config files</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR6flrTcKBQBLPSQ9T9V2cYBvWo6WSQBJU5L5-Fla8VKhyphenhyphen2Ov7VJFvmCKNJbosF9JtS2NQ9dyMF2gB3SoKNs3R-w-UkWXRJ1UUu1mvx1AgJYsu2oRZkbfAiniq8eR38gmC9_NfRFW186yr/s1600/xml-file.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR6flrTcKBQBLPSQ9T9V2cYBvWo6WSQBJU5L5-Fla8VKhyphenhyphen2Ov7VJFvmCKNJbosF9JtS2NQ9dyMF2gB3SoKNs3R-w-UkWXRJ1UUu1mvx1AgJYsu2oRZkbfAiniq8eR38gmC9_NfRFW186yr/s200/xml-file.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
       .&lt;b&gt;xml&lt;/b&gt;(Extensible Markup Language) and .&lt;b&gt;properties &lt;/b&gt;is a file extension for files mainly used in Java related technologies to store the configurable parameters of an application.(.properties files can also be used for storing strings for Internationalization and localization - these are known as Property Resource Bundles.)&lt;br&gt;&lt;br&gt;
       Let&amp;#39;s first start with XML config files. There are many XML parser technologies, but I will show how u can use &lt;b&gt;Apache Commons Configuration&lt;/b&gt; library to parse and use XML config files. &lt;br&gt;&lt;br&gt;
       The Commons Configuration software library provides a generic configuration interface which enables a Java application to read configuration data from a variety of sources:&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/11/parse-xml-and-properties-config-files.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/11/parse-xml-and-properties-config-files.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR6flrTcKBQBLPSQ9T9V2cYBvWo6WSQBJU5L5-Fla8VKhyphenhyphen2Ov7VJFvmCKNJbosF9JtS2NQ9dyMF2gB3SoKNs3R-w-UkWXRJ1UUu1mvx1AgJYsu2oRZkbfAiniq8eR38gmC9_NfRFW186yr/s72-c/xml-file.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-4278174714692721255</guid><pubDate>Thu, 18 Oct 2012 11:24:00 +0000</pubDate><atom:updated>2019-11-05T13:19:25.326+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">Spring</category><title>Power of Spring&#39;s @ModelAttribute and @SessionAttributes</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgThsR_vgmheVLGvzhkn6dQO9noYFE6Ot4ebdvlBbTbR4k9SuPr3RoyCUH_R9kconMwebkGCpyugYJxAmPxxMn9CaW-4iIlIhcc476YojbwVsMezIozrV_gBqkDrxT95u6dIkrOUdjJhzl2/s1600/mvc_whole.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;141&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgThsR_vgmheVLGvzhkn6dQO9noYFE6Ot4ebdvlBbTbR4k9SuPr3RoyCUH_R9kconMwebkGCpyugYJxAmPxxMn9CaW-4iIlIhcc476YojbwVsMezIozrV_gBqkDrxT95u6dIkrOUdjJhzl2/s200/mvc_whole.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;

The Spring Framework is an open source application framework that aims to make J2EE development easier. Unlike single-tier frameworks, such as Struts or Hibernate, Spring aims to help structure whole applications in a consistent, productive manner, pulling together best-of-breed single-tier frameworks to create a coherent architecture.&lt;br&gt;&lt;br&gt;

&lt;b&gt;How does @ModelAttribute work?&lt;/b&gt;&lt;br&gt;
@ModelAttribute is a Spring-MVC specific annotation used for preparing the model data. It is also used to define the command object that would be bound with the HTTP request data. The annotation works only if the class is a Controller class (i.e. annotated with @Controller).&lt;br&gt;&lt;br&gt;

ModelAttribute can be applied on both methods as well as method-parameters. It accepts an optional &amp;quot;value&amp;quot;, which indicates the name of the attribute. If no value is supplied to the annotation, then the value would be defaulted to the return type name in case of methods and parameter type name in case of method-parameters.&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/10/power-of-springs-modelattribute-and.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/10/power-of-springs-modelattribute-and.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgThsR_vgmheVLGvzhkn6dQO9noYFE6Ot4ebdvlBbTbR4k9SuPr3RoyCUH_R9kconMwebkGCpyugYJxAmPxxMn9CaW-4iIlIhcc476YojbwVsMezIozrV_gBqkDrxT95u6dIkrOUdjJhzl2/s72-c/mvc_whole.jpg" height="72" width="72"/><thr:total>10</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-7277242544986467739</guid><pubDate>Tue, 18 Sep 2012 15:05:00 +0000</pubDate><atom:updated>2012-09-18T20:13:03.204+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">Spring</category><title>Spring 3 MVC Internationalization &amp; Localization (i18n &amp; l10N) and Reloader</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipCPw27zL7RadviE4Qwl0rLv2kTmQuplcUS9iHgL5GNaMeTriyJuMybtWI0Vvrb70C1hBeJEzDAXzLyqzs16QpSowUmYSXOQZKHltpqdmOXQbYLUau5gLdappN3GeDNDw3uGKBNkBU1r0p/s1600/i18narchitecture-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipCPw27zL7RadviE4Qwl0rLv2kTmQuplcUS9iHgL5GNaMeTriyJuMybtWI0Vvrb70C1hBeJEzDAXzLyqzs16QpSowUmYSXOQZKHltpqdmOXQbYLUau5gLdappN3GeDNDw3uGKBNkBU1r0p/s200/i18narchitecture-1.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, &amp;#39;Trebuchet MS&amp;#39;, Verdana, Tahoma; font-size: 14px; line-height: 23.03333282470703px;&quot;&gt;In this post I will discuss about Internationalization (I18N) and Localization (L10N) in Spring 3.0 MVC. &lt;/span&gt;
&lt;br&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, &amp;#39;Trebuchet MS&amp;#39;, Verdana, Tahoma; font-size: 14px; line-height: 23.03333282470703px;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, &amp;#39;Trebuchet MS&amp;#39;, Verdana, Tahoma; font-size: 14px; line-height: 23.03333282470703px;&quot;&gt;What is i18n and L10n?&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, &amp;#39;Trebuchet MS&amp;#39;, Verdana, Tahoma; font-size: 14px; line-height: 1.6em; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
In computing, internationalization and localization are means of adapting computer software to different languages and regional differences. Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. Localization is the process of adapting internationalized software for a specific region or language by adding locale-specific components and translating text.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, &amp;#39;Trebuchet MS&amp;#39;, Verdana, Tahoma; font-size: 14px; line-height: 1.6em; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The terms are frequently abbreviated to the numeronyms i18n (where 18 stands for the number of letters between the first i and last n in internationalization) and L10n respectively, due to the length of the words. The capital L in L10n helps to distinguish it from the lowercase i in i18n. Let&amp;#39;s begin:&lt;br&gt;
&lt;b style=&quot;background-color: white; line-height: 1.6em;&quot;&gt;&lt;/b&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/09/spring-3-mvc-internationalization.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/09/spring-3-mvc-internationalization.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipCPw27zL7RadviE4Qwl0rLv2kTmQuplcUS9iHgL5GNaMeTriyJuMybtWI0Vvrb70C1hBeJEzDAXzLyqzs16QpSowUmYSXOQZKHltpqdmOXQbYLUau5gLdappN3GeDNDw3uGKBNkBU1r0p/s72-c/i18narchitecture-1.jpg" height="72" width="72"/><thr:total>5</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-8710527450869124109</guid><pubDate>Thu, 13 Sep 2012 09:39:00 +0000</pubDate><atom:updated>2012-09-13T14:46:54.212+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">Spring</category><title>Intercepting requests (annotation based request mapping)</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP4UC-T6eLVGf03nlwTwGkIZdc0UPd6hzH7xSLH8o9xGhjb3itFKnVZIHBzOfG7PBys78SkucZ8dwI-dHWg7UzcFjOJ7gaonQ2lIAkXIe-9UyvgwkWLcz_4Kypl0mRmaE5Q15Ba_edWUIe/s1600/spring-interceptor.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP4UC-T6eLVGf03nlwTwGkIZdc0UPd6hzH7xSLH8o9xGhjb3itFKnVZIHBzOfG7PBys78SkucZ8dwI-dHWg7UzcFjOJ7gaonQ2lIAkXIe-9UyvgwkWLcz_4Kypl0mRmaE5Q15Ba_edWUIe/s200/spring-interceptor.png&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;       Spring Interceptors has the ability to pre-handle and post-handle the web requests. Each interceptor class should extend the HandlerInterceptorAdapter class. Here we will create a Login Interceptor by extending the HandlerInterceptorAdapter class. You can override any of the three callback methods preHandle(), postHandle() and afterCompletion(). As the names indicate the preHandle() method will be called before handling the request, the postHandle() method will be called after handling the request and the afterCompletion() method will be called after rendering the view.&lt;/span&gt;&lt;br&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/09/intercepting-requests-annotation-based.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/09/intercepting-requests-annotation-based.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP4UC-T6eLVGf03nlwTwGkIZdc0UPd6hzH7xSLH8o9xGhjb3itFKnVZIHBzOfG7PBys78SkucZ8dwI-dHWg7UzcFjOJ7gaonQ2lIAkXIe-9UyvgwkWLcz_4Kypl0mRmaE5Q15Ba_edWUIe/s72-c/spring-interceptor.png" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-3148721226181615316</guid><pubDate>Tue, 05 Jun 2012 13:43:00 +0000</pubDate><atom:updated>2012-06-05T18:56:28.939+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Oracle</category><title>Difference between Oracle DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFNF4rwoIZ32eQB2uZyW15RJ0d6P7pzOhaxuaofL0J5QCE_oZ1oOCBiwrULxZG7MdEY0ZfdtXTOjphzLgQuABcUJnF5IXx-iwSV1wLxRI2l_jnUghA7JYnrT6LJFKHnCiNiDL3cXHqGIZw/s1600/date-timezone.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 2em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;50&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFNF4rwoIZ32eQB2uZyW15RJ0d6P7pzOhaxuaofL0J5QCE_oZ1oOCBiwrULxZG7MdEY0ZfdtXTOjphzLgQuABcUJnF5IXx-iwSV1wLxRI2l_jnUghA7JYnrT6LJFKHnCiNiDL3cXHqGIZw/s200/date-timezone.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: 13px; line-height: 19px; text-align: left;&quot;&gt;In Oracle there are four date&amp;amp;time datatype:&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;background-color: white; text-align: left;&quot;&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;DATE&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;TIMESTAMP&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;TIMESTAMP WITH TIME ZONE&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;TIMESTAMP WITH LOCAL TIME ZONE&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;What is difference between this datatypes???&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;       TIMESTAMP datatype differs from DATE only with that it includes fractional seconds. But TIMESTAMP WITH TIME ZONE and TIMESTAMP WITH LOCAL TIME ZONE is more interesting :-)&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;#39;Droid Sans&amp;#39;, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/06/difference-between-oracle-date.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/06/difference-between-oracle-date.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFNF4rwoIZ32eQB2uZyW15RJ0d6P7pzOhaxuaofL0J5QCE_oZ1oOCBiwrULxZG7MdEY0ZfdtXTOjphzLgQuABcUJnF5IXx-iwSV1wLxRI2l_jnUghA7JYnrT6LJFKHnCiNiDL3cXHqGIZw/s72-c/date-timezone.jpg" height="72" width="72"/><thr:total>7</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-8607014266446558324</guid><pubDate>Fri, 25 May 2012 11:37:00 +0000</pubDate><atom:updated>2019-11-04T21:04:13.276+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><title>Avoiding the &quot;javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed&quot; error</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRqVv87zcFSzgQQk0LFH8TEp8ZT9wrLtqsrn2Lu4YLeRV8Pm4Wv3xiXz4jlNGD6JVai9KY6fBftQfFPuQryNC7ZdYotBnq8-1Y1q07GWSHZVXqUzeRoweZcLMoRlCiIoVNuPLGq3q8mlCh/s1600/ssl_handshake.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRqVv87zcFSzgQQk0LFH8TEp8ZT9wrLtqsrn2Lu4YLeRV8Pm4Wv3xiXz4jlNGD6JVai9KY6fBftQfFPuQryNC7ZdYotBnq8-1Y1q07GWSHZVXqUzeRoweZcLMoRlCiIoVNuPLGq3q8mlCh/s200/ssl_handshake.png&quot; width=&quot;190&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: rgba(255 , 255 , 255 , 0.917969); color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Hey folks,&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: rgba(255 , 255 , 255 , 0.917969); color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;today I&amp;#39;m gonna share one solution for a problem related to https hand-shake.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: rgba(255 , 255 , 255 , 0.917969); color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: rgba(255 , 255 , 255 , 0.917969); color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;The &lt;i&gt;SSLHandshakeException&lt;/i&gt; is thrown by java when the host you are trying to contact doesn&amp;#39;t have a valid SSL certificate for that hostname.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: rgba(255 , 255 , 255 , 0.917969); color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;For example, when I wanted to connect to the site which certificate details look like  &amp;quot;&lt;i&gt;This CA Root certificate is not trusted because it is not in the Trusted Root Certification Authorities store.&lt;/i&gt;&amp;quot; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;background-color: rgba(255 , 255 , 255 , 0.917969); color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: rgba(255 , 255 , 255 , 0.917969); color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;droid sans&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;So when we are making a request to that site using java URLConnection it gives us an exception look like &amp;quot;&lt;i&gt;javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed&lt;/i&gt;&amp;quot; . Then I did research for this problem and found a solution as follows:&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/05/avoiding-javaxnetsslsslhandshakeexcepti.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/05/avoiding-javaxnetsslsslhandshakeexcepti.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRqVv87zcFSzgQQk0LFH8TEp8ZT9wrLtqsrn2Lu4YLeRV8Pm4Wv3xiXz4jlNGD6JVai9KY6fBftQfFPuQryNC7ZdYotBnq8-1Y1q07GWSHZVXqUzeRoweZcLMoRlCiIoVNuPLGq3q8mlCh/s72-c/ssl_handshake.png" height="72" width="72"/><thr:total>9</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-4737970974177797368</guid><pubDate>Fri, 06 Apr 2012 05:37:00 +0000</pubDate><atom:updated>2012-04-06T10:37:48.627+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Alfresco</category><category domain="http://www.blogger.com/atom/ns#">Random</category><title>Broken pipe and Transactional update cache is full</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh27bD8g_vvCpF_cAgPs5IoNGGBAwlLWA_luKX0c_EohozYXFN2iCN_vG9XEa7zZmOyXWz2IpNL4etVqjhWdbQetFbM_1xK79KI-nVJhIT3G_xSAKvb4tD3EsMscdDh4QCl4rTVr9A1JRtD/s1600/broken_pipe.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;56&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh27bD8g_vvCpF_cAgPs5IoNGGBAwlLWA_luKX0c_EohozYXFN2iCN_vG9XEa7zZmOyXWz2IpNL4etVqjhWdbQetFbM_1xK79KI-nVJhIT3G_xSAKvb4tD3EsMscdDh4QCl4rTVr9A1JRtD/s320/broken_pipe.PNG&quot; width=&quot;320&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #414141; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small; line-height: 19px;&quot;&gt;In your web applications u can see errors like following:&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;line-height: 19px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;2012-04-06 10:01:05,031  WARN  [webscripts.connector.RemoteClient] [http-80-1] Exception during close() of HTTP API connection ClientAbortException:  java.net.SocketException: Broken pipe&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #414141; line-height: 19px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 19px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #414141;&quot;&gt; In most situations this occurs when your client ajax connection is closed but response is ready. And server can&amp;#39;t write response for client. In my case, I used &lt;a href=&quot;http://developer.yahoo.com/yui/&quot; target=&quot;_blank&quot;&gt;YUI&lt;/a&gt; AJAX Get connection and set timeout &amp;quot;5000&amp;quot;. When I see this warning message I increase timeout time to &amp;quot;300000&amp;quot; and log tail is happy now :)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #414141; line-height: 19px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/04/broken-pipe-and-transactional-update.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/04/broken-pipe-and-transactional-update.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh27bD8g_vvCpF_cAgPs5IoNGGBAwlLWA_luKX0c_EohozYXFN2iCN_vG9XEa7zZmOyXWz2IpNL4etVqjhWdbQetFbM_1xK79KI-nVJhIT3G_xSAKvb4tD3EsMscdDh4QCl4rTVr9A1JRtD/s72-c/broken_pipe.PNG" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-3558280244904936384</guid><pubDate>Fri, 02 Mar 2012 13:31:00 +0000</pubDate><atom:updated>2012-03-02T17:31:02.666+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Alfresco</category><title>End old tasks in Alfresco from Admin</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5rWnuV4j91b8ibfjDP_bikXBnUcSSTWCcAWDcbodCsu6sEg8mi_dYCbWC7EexbN9RnLULUVRjaN1f_tZhZv9d31eHJHe5hXq0UB1B-ZoP8gDdLsI4x1BKOXeyVfLKcvxLoUin_gOj0HlB/s1600/todo-lists-tasks-manager-software.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5rWnuV4j91b8ibfjDP_bikXBnUcSSTWCcAWDcbodCsu6sEg8mi_dYCbWC7EexbN9RnLULUVRjaN1f_tZhZv9d31eHJHe5hXq0UB1B-ZoP8gDdLsI4x1BKOXeyVfLKcvxLoUin_gOj0HlB/s200/todo-lists-tasks-manager-software.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;I have been working with Alfresco for a while now. It is a very comprehensive tool, but today I need delete old tasks in archive task node. &lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: x-small; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;line-height: 1.5em; margin-bottom: 0.5em; margin-top: 0.4em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The purpose of the Workflow JavaScript API is to allow access to Alfresco advanced workflows from within JavaScript. The API supports EMCA Script 1.6 compatible JavaScript. Through this API workflow definitions, instances, paths, tasks and transitions can be accessed and managed.&lt;/div&gt;
&lt;div style=&quot;line-height: 1.5em; margin-bottom: 0.5em; margin-top: 0.4em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/div&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/03/end-old-tasks-in-alfresco-from-admin.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/03/end-old-tasks-in-alfresco-from-admin.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5rWnuV4j91b8ibfjDP_bikXBnUcSSTWCcAWDcbodCsu6sEg8mi_dYCbWC7EexbN9RnLULUVRjaN1f_tZhZv9d31eHJHe5hXq0UB1B-ZoP8gDdLsI4x1BKOXeyVfLKcvxLoUin_gOj0HlB/s72-c/todo-lists-tasks-manager-software.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8866959409292491688.post-4419444816639576194</guid><pubDate>Wed, 29 Feb 2012 12:54:00 +0000</pubDate><atom:updated>2012-02-29T17:02:38.639+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Alfresco</category><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">MySQL</category><title>Connect to Remote database through SSH using Port Forwarding with Java</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOTIDY2eYwBvRr8FefgZSB84EEEmgRtcUW7dWJd9cwuqXD64FMSU0DSmLg5w-jVzVBChHEjGdADSk06lc7xblJKJMkevsewHCdhBiOnf1xN50QLeFafPWoU-EyK9cMEZuCPDUa5RnW0H-r/s1600/mysqlgui1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOTIDY2eYwBvRr8FefgZSB84EEEmgRtcUW7dWJd9cwuqXD64FMSU0DSmLg5w-jVzVBChHEjGdADSk06lc7xblJKJMkevsewHCdhBiOnf1xN50QLeFafPWoU-EyK9cMEZuCPDUa5RnW0H-r/s200/mysqlgui1.jpg&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Yesterday I need connect connect our remote MySQL database &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;that was setup on SSH enabled server &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;and query database. &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Since it was on SSH enabled server, we can’t connect it directly using JDBC connection API.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;To achieve this, we first need to create SSH session and then using Port Forwarding we can forward the request to server and connect to database. I used &lt;a href=&quot;http://www.jcraft.com/jsch/&quot; target=&quot;_blank&quot;&gt;JSch&lt;/a&gt;. &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;JSch is a pure Java implementation of SSH2.&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://vmustafayev4en.blogspot.com/2012/02/connect-to-remote-database-through-ssh.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>http://vmustafayev4en.blogspot.com/2012/02/connect-to-remote-database-through-ssh.html</link><author>noreply@blogger.com (SigmaTrader)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOTIDY2eYwBvRr8FefgZSB84EEEmgRtcUW7dWJd9cwuqXD64FMSU0DSmLg5w-jVzVBChHEjGdADSk06lc7xblJKJMkevsewHCdhBiOnf1xN50QLeFafPWoU-EyK9cMEZuCPDUa5RnW0H-r/s72-c/mysqlgui1.jpg" height="72" width="72"/><thr:total>1</thr:total></item></channel></rss>