Fix of loading OrientDB in JBOSS env by avoiding direct use of com.sun package

Please approve PR. Without this change it's not possible to deploy application with embedded OrientDB to JBOSS env.