* 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:
parent
72152751a1
commit
1acefd9871
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue