What is Shankh???


Shankh is a synonym for Conch Shell.So why that name for this blog?? My grandma used to say "When you put the conch shell to your ear, you hear the sound of ocean". Ignoring all scientific explanations to it, i would like this blog to bring you the sound of vast ocean of technology. Take a look

Some Random quotes


Innovation distinguishes between a leader and a follower. -Steve Jobs

It is not that i am smarter than others, i just persist with problems longer

Java Web Start, JNLP splash recv failed

When i was trying to run some JavaFX samples, Java web start returned the error “splash recv failed”. I searched through several forums and found out that my Comodo Firewall is interfering with the Java Web start and that is the cause of the error

Solution:

Add C:\Program Files\Java\jre1.6.0\bin\javaws.exe to trusted application in commodo firewall

If you are using 64 bit vista then the path is

C:\Program Files (x86)\Java\jre1.6.0\bin\javaws.exe

In all the forums i found out this problem to be specific to systems running on Windows Vista and having comodo Firewall. I am not sure whether this happens to systems with firewall from a different vendor.

  • Share/Bookmark

Devoxx 08 Rumblings

Finally after an adventurous coach journey (yes i accept that i was stupid and hence took a coach), i finally arrived in Antwerp to attend the famous Devoxx conference in Antwerp (Antwerepen…. in Belgium way). It surely lived up to its hype and made me think how much i still don’t know about the new technologies..

Devoxx is the same Javapolis conference, but had to change the name due to objections from Sun. It is strange that they had to change the name, knowing the fact that Sun is also sponsoring the event. Maybe sun wants to pre-empt any attempt to use the name ‘Java’ by any group and hence this carrot and stick approach.

On day two, I attended the talk ActiveMQ and ServiceMix by Bruce Snyder. Bruce is an active proponent of open source solutions and one of the founding members of Apache Geronimo propject. These days he is busy talking in conferences about ActiveMQ and co-authoring a book on it which is supposed to come out in early part of next year (quoting him from conference). He started off the talk with basic features of ActiveMQ, its benefits and how to configure it. ActiveMQ is an open source message broker with support of JMS and Enterprise Integration patterns. Although it is open source, it is used by a lot of companies and seems to be an ideal choice to replace the age-old JMS systems.

I couldn’t imagine that the configuration of ActiveMQ is so simple (or maybe a delusion in my head) and with Spring 2.5 it has become much easier. ActiveMQ is something which has been in my mind for some time, since at my workplace they decided of changing their old JbossMQ system which was totally unreliable. I was thinking of proposing ActiveMQ as a suitable candidate as it seems to perfectly fit our needs.

Some cool features of ActiveMQ

  • Support for Java, C, C++, C#, Ruby, Perl, Python, PHP
  • Support for EIP (Enterprise Integration Patterns)
  • Support for JMS 1.1 and J2EE 1.4 with support for transient, persistent, transactional and XA messaging
  • Supports TCP, SSL, NIO, UDP, multicast, JGroups and JXTA transports
  • Master Slave Configurability and Clustering support

http://www.devoxx.com/

  • Share/Bookmark

How to avoid Java SSL certificate Error

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This normally happens when we are using the user-generated-certificates instead of the certificate generated by Certification Authorities. So to avoid this download and run this little java program
http://blogs.sun.com/andreas/resource/InstallCert.java

java InstallCert myserver.xyz.com .  Here myserver.xyz.com is your server hostname

It downloads the certificate and asks whether to add it to the keystore

Enter certificate to add to trusted keystore or ‘q’ to quit: [1]

press Enter

this will generate the file jssecacerts in the current directory . Copy it to $JAVA_HOME/jre/lib/security . Hooray  … no more exception

For detailed information see the blog of andreas http://blogs.sun.com/andreas/entry/no_more_unable_to_find

Related Links
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html

  • Share/Bookmark

SQL Error State codes for DB2

How many times have you been left wondering all those weird codes in db2 means? Every time you had to open the db2 command prompt to find out what the code means.. In IBM website, there is a page explaining the sql error codes..

http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/r0sttmsg.htm

  • Share/Bookmark

Google’s Customised Search

Google, Inc.

Image via Wikipedia

Google has unveiled its new tool searchwiki which will make personalised searches. You can add or remove search results, reorder search results etc. I still can’t figure out how much this is going to influence people though.

One feature which might be useful is that It allows users to add their own comments which can be accessed by others.

Reblog this post [with Zemanta]
  • Share/Bookmark