@Override
    public void start() throws LifecycleException {

//        state = LifecycleState.STARTING_PREP;
//
//        WebResource classes = resources.getResource("/WEB-INF/classes");
//        if (classes.isDirectory() && classes.canRead()) {
//            localRepositories.add(classes.getURL());
//        }
//        WebResource[] jars = resources.listResources("/WEB-INF/lib");
//        for (WebResource jar : jars) {
//            if (jar.getName().endsWith(".jar") && jar.isFile() && jar.canRead()) {
//                localRepositories.add(jar.getURL());
//                jarModificationTimes.put(
//                        jar.getName(), Long.valueOf(jar.getLastModified()));
//            }
//        }
//
//        state = LifecycleState.STARTING;

        String encoding = null;
        try {
            encoding = System.getProperty("file.encoding");
        } catch (SecurityException e) {
            return;
        }
        if (encoding.indexOf("EBCDIC")!=-1) {
            needConvert = true;
        }

//        state = LifecycleState.STARTED;
    }
@ Override public void start ( ) throws LifecycleException { String encoding = null ; try { encoding = System . getProperty ( "file.encoding" ) ; } catch ( SecurityException e ) { return ; } if ( encoding . indexOf ( "EBCDIC" ) != - 1 ) { needConvert = true ; } }
Start the class loader.

@exception LifecycleException if a lifecycle error occurs