<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cifs nullpointer exception on startup (getlocaldomainname) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cifs-nullpointer-exception-on-startup-getlocaldomainname/m-p/80311#M53593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I managed to resolve this problem as described below. I guess if it's working or not depends on the network you are on and what is setup there. That would explain why I have experienced different behaviour from time to time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/File_Server_Configuration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/File_Server_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I edited the file &lt;/SPAN&gt;&lt;EM&gt;&amp;lt;alfresco-install-dir&amp;gt;/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/file-server.xml&lt;/EM&gt;&lt;SPAN&gt; to include a specification for the domain in the &amp;lt;host&amp;gt; tag, like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;host name="${localname}_A" domain="WORKGROUP"/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Also useful for debugging is to modify the tag &amp;lt;sessionDebug&amp;gt; to add a few more logging options for CIFS, like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;sessionDebug flags="Negotiate,Socket,Tree,Errors,NetBIOS"/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I also modified the &lt;/SPAN&gt;&lt;EM&gt;&amp;lt;alfresco-install-dir&amp;gt;/tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties&lt;/EM&gt;&lt;SPAN&gt; to enable log output for classes related to CIFS (see the&amp;nbsp; comments in that file to locate it, it is easy to find).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/BjÃ¶rn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 14:07:17 GMT</pubDate>
    <dc:creator>bjornl</dc:creator>
    <dc:date>2007-06-11T14:07:17Z</dc:date>
    <item>
      <title>cifs nullpointer exception on startup (getlocaldomainname)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-nullpointer-exception-on-startup-getlocaldomainname/m-p/80310#M53592</link>
      <description>I have setup alfresco enterprise 2.0.1 on my local (ubuntu linux) machine, and managed to mount a cifs drive to access the AVM content, that worked out-of-the-box a few days ago, by the following command:sudo mount -t cifs //127.0.0.1/AVM /media/alfresco/cifs/v/ -o user,noauto,username=admin,passwor</description>
      <pubDate>Mon, 11 Jun 2007 12:23:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-nullpointer-exception-on-startup-getlocaldomainname/m-p/80310#M53592</guid>
      <dc:creator>bjornl</dc:creator>
      <dc:date>2007-06-11T12:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: cifs nullpointer exception on startup (getlocaldomainname)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-nullpointer-exception-on-startup-getlocaldomainname/m-p/80311#M53593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I managed to resolve this problem as described below. I guess if it's working or not depends on the network you are on and what is setup there. That would explain why I have experienced different behaviour from time to time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/File_Server_Configuration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/File_Server_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I edited the file &lt;/SPAN&gt;&lt;EM&gt;&amp;lt;alfresco-install-dir&amp;gt;/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/file-server.xml&lt;/EM&gt;&lt;SPAN&gt; to include a specification for the domain in the &amp;lt;host&amp;gt; tag, like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;host name="${localname}_A" domain="WORKGROUP"/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Also useful for debugging is to modify the tag &amp;lt;sessionDebug&amp;gt; to add a few more logging options for CIFS, like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;sessionDebug flags="Negotiate,Socket,Tree,Errors,NetBIOS"/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I also modified the &lt;/SPAN&gt;&lt;EM&gt;&amp;lt;alfresco-install-dir&amp;gt;/tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties&lt;/EM&gt;&lt;SPAN&gt; to enable log output for classes related to CIFS (see the&amp;nbsp; comments in that file to locate it, it is easy to find).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/BjÃ¶rn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 14:07:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-nullpointer-exception-on-startup-getlocaldomainname/m-p/80311#M53593</guid>
      <dc:creator>bjornl</dc:creator>
      <dc:date>2007-06-11T14:07:17Z</dc:date>
    </item>
  </channel>
</rss>

