Thread.currentThread().setContextClassLoader( ApplicationRegistry.class.getClassLoader() );
    public StationServerPlugin( Logger logger, String[] args ) throws Exception    {            // parse the command group model                Parser parser = new Parser();        parser.setGroup( COMMAND_GROUP );                CommandLine line = parser.parse( args );        int port = getPortValue( line, Registry.REGISTRY_PORT );        URI uri = (URI) line.getValue( URI_OPTION, null );        if( null == uri )        {            URL url = ApplicationRegistry.DEFAULT_STORAGE_URI.toURL();            logger.info( "starting station on port: " + port );            m_station = new RemoteStation( logger, port, url );            setShutdownHook( m_station );        }        else        {            if( Artifact.isRecognized( uri ) )            {                URL url = Artifact.createArtifact( uri ).toURL();                logger.info(                   "starting station on port: "                   + port                   + " with registry "                   + url );                m_station = new RemoteStation( logger, port, url );            }            else            {                URL url = uri.toURL();                logger.info(                   "starting station on port: "                   + port                   + " with registry "                   + url );                m_station = new RemoteStation( logger, port, url );            }        }    }