* Fixed for bug [1619933] and [1619933], now it is possible to run adempiere client with only a single connection to the application server.

This commit is contained in:
Heng Sin Low 2007-01-07 07:37:01 +00:00
parent 72152751a1
commit 1acefd9871
1 changed files with 4 additions and 2 deletions

View File

@ -550,8 +550,10 @@ public final class ALogin extends CDialog
m_pwd = new String (passwordField.getPassword());
// Establish connection
connectToDatabase();
if (!DB.isConnected())
if (!DB.isConnected(false))
validateConnection();
if (!DB.isConnected(false))
{
statusBar.setStatusLine(txt_NoDatabase, true);
hostField.setBackground(AdempierePLAF.getFieldBackground_Error());