Fixing “SSL handshake failed: SSL error: Key usage violation in certificate has been detected.” error on SVN checkout

April 11, 2012

0

This one solved it for me   http://dionysus.uraganov.net/software/fixing-%E2%80%9Cssl-handshake-failed-ssl-error-key-usage-violation-in-certificate-has-been-detected-%E2%80%9D-error-on-svn-checkout/

Posted in: Java

QuckTip: Tagging your code on git

December 8, 2011

0

  For Tagging >git tag -a v1.4 -m ‘version 1.4’ For viewing the tag >git tag For pushing it for everyone >git push --tags For tagging an existing commit > git tag -a v1.2 9fceb02 <start of the changeset code> For fetching tags from repository > git fetch --tags

Tagged:
Posted in: Java

QuickTip: Limiting the number of rows returned by MySQL. Pagination

November 15, 2011

0

If you would like to get a row num, you would have to do something like this for getting it in the right order or simply For limiting the number of rows however, there is the LIMIT keyword [bash] mysql> select * from CODE_PANEL_DETAIL limit 1,4; +———————-+—————+——+—————————–+——————–+ | CODE_PANEL_DETAIL_ID | CODE_PANEL_ID | CODE | CODE_TYPE […]

Posted in: Java

QuickTip: VerifyError with jdk 7

October 9, 2011

0

If you are struggling with the following kind of error java.lang.VerifyError: Expecting a stackmap frame at branch target 6 bla bla bla …. then a simple solution is to add the following default JVM argument -XX:-UseSplitVerifier If you are doing it in eclipse, like i was, then goto Window -> Preferences -> Installed JREs -> […]

Tagged:
Posted in: Java

Power of Parallel Processing in Akka

September 19, 2011

0

If you have been following the Inphina blog and our work with Scala related technologies, you would have noticed a spurt in our blog feeds. The reason being that we have recently come out of a very successful massively scalable framework created with Akka. Inphina holds an active stake in the product and the details […]

Posted in: Scala

AMQP and AKKA

September 15, 2011

1

AMQP is a message protocol that deals with publishers and consumers. It would look a lot like JMS but it is not. The main entities are Exchanges, Queues and Bindings. Look at the following diagram So a producer would send a message to the exchange and it is the job of the message broker (RabbitMQ […]

Tagged: , , ,
Posted in: Architecture, Scala

Building a Plugin Based Architecture in Scala

September 15, 2011

0

A plugin based architecture has many advantages. Some of the common ones include Extending an application’s functionality without compiling it again Adding functionality without requiring access to the original source code. Replacing or adding new functionality becomes easy Help in organizing large projects Help in extending the functionality of the system to unimagined areas. I […]

Posted in: Architecture, Scala

Searching gmail inbox for unread mails only

September 8, 2011

0

in:inbox is:unread

Posted in: Java

QuickTip: Ignoring some jars from getting assembled in SBT 0.10x

September 1, 2011

0

We are using sbt-onejar and as expected but not intended all the jars along with thier transitive dependencies were getting included in the jar. This was giving us several warnings like JarClassLoader: Warning: org/hamcrest/BaseDescription.class in lib/mockito-all-1.8.5.jar is hidden by lib/junit-4.7.jar (with different bytecode) JarClassLoader: Warning: org/hamcrest/BaseMatcher.class in lib/mockito-all-1.8.5.jar is hidden by lib/junit-4.7.jar (with different bytecode) […]

Tagged: , ,
Posted in: Java

Akka Actors on Mac beating the S#!t Out of my Dell

August 26, 2011

7

Let me explain the scenario. We have n (tens, hundreds or thousands) of Akka actors listening to a queue on RabbitMQ server. So the scenario looks something like this As you would notice, each of the actors gets a message from the Q and invokes a plugin to do the processing and returns the results […]

Posted in: Scala