{
String file = null;
if(messageContext != null)
{
AxisEngine engine = messageContext.getAxisEngine();
ContainerConfig config = ContainerConfig.getConfig(engine);
file = config.getOption("jndiConfigFileOption");
}
return (file == null) ? "etc/" + JNDI_CONFIG : file;
}