mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added defaulting of domain/workgroup name to 'WORKGROUP' when the domain cannot
be resolved via network broadcast. Also outputs a message to indicate the domain was defaulted and possible causes (firewall settings/broadcast mask). Added hint message to check the broadcast mask when the host announcer fails with an IOException. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
*/
|
||||
package org.alfresco.filesys.smb.mailslot;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.alfresco.filesys.netbios.NetBIOSName;
|
||||
import org.alfresco.filesys.smb.ServerType;
|
||||
import org.alfresco.filesys.smb.TransactionNames;
|
||||
@@ -321,9 +323,19 @@ public abstract class HostAnnouncer extends Thread
|
||||
sleepTime = sleepNormal;
|
||||
}
|
||||
}
|
||||
catch ( IOException ex)
|
||||
{
|
||||
// Debug
|
||||
|
||||
if (m_shutdown == false)
|
||||
{
|
||||
logger.error("HostAnnouncer error", ex);
|
||||
logger.error(" Check <broadcast> setting in file-servers.xml");
|
||||
}
|
||||
m_shutdown = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
// Debug
|
||||
|
||||
if (m_shutdown == false)
|
||||
|
Reference in New Issue
Block a user