* don't test or init datasource for wan profile

This commit is contained in:
Heng Sin Low 2007-02-27 05:04:44 +00:00
parent 1d69ec3afc
commit ada57fd26c
1 changed files with 15 additions and 11 deletions

View File

@ -1243,9 +1243,13 @@ public class CConnection implements Serializable
break;
}
}
//hengsin, don't test datasource for wan profile
if (!isRMIoverHTTP())
{
if (m_db != null) // test class loader ability
m_db.getDataSource(this);
}
}
catch (NoClassDefFoundError ee)
{
System.err.println("Environment Error - Check Adempiere.properties - " + ee);