JUDDI-572, OpenJPA can throw a ClassCastException if an invalid key is given. Now catching this and sending out an InvalidKeyException.

git-svn-id: https://svn.apache.org/repos/asf/juddi/trunk@1466229 13f79535-47bb-0310-9956-ffa450edef68