// Verify that the jndi.properties file exists, if specified
if (jndiProperties != null)
{
if (!new File(jndiProperties).canRead())
{
throw new ConfigurationException("Cannot locate the jndi.properties file " + jndiProperties);
}
}
// Verify that the openejb.xml resource exists, if specified
if (openEjbXml != null)
{
if (!new File(openEjbXml).canRead())
{
throw new ConfigurationException("Cannot locate OpenEJB Configuration file " + openEjbXml);
}
}
}