{
initCtx.lookup( "java:comp" );
}
catch ( NameNotFoundException e )
{
Util.bind( initCtx, "java:comp", new NamingContext() );
NamingContext compCtx = (NamingContext) initCtx.lookup( "java:comp" );
compCtx.setNameParser( new InitialContextFactory.DefaultParser() );
log.info( "No JNDI java:comp namespace found; creating it," );
// Context envCtx = compCtx.createSubcontext( "env" );
// System.out.println( envCtx );
}
log.info( "Initialized JNDI java:comp namespace.=" + contextFactoryClass );