/** Local initialization - for standalone use
*/
public void initCli() throws IOException {
WorkerEnv wEnv=new WorkerEnv();
AprImpl apr=new AprImpl();
wEnv.addHandler( "apr", apr );
wEnv.addHandler( "shm", this );
apr.init();
if( ! apr.isLoaded() ) {
log.error( "No native support. " +
"Make sure libapr.so and libjkjni.so are available in LD_LIBRARY_PATH");
return;
}
}