<?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: Error Deploying Multiple Instances in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11986#M4831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is possible to run multiple instances of Alfresco with multiple CIFS servers. It requires some of the classes to be moved to the Tomcat shared\classes folder so that the JNI code used to interface with Windows Winsock NetBIOS is only loaded once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what you need to do. Extract the following packages from the repository.jar file into the Tomcat shared\classes folder (with the original package folder tree) :-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.filesys.netbios&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.filesys.netbios.win32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.filesys.smb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.filesys.util&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then delete them from the repository.jar, I used WinZip to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After deploying multiple versions of the Alfresco WAR file edit the following files :-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;repository.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Change the dir.root and db.name values&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;file-servers.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Change the second webapp to use &amp;lt;host name="${localname}B"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure each webapp is using the modified repository.jar with the shared classes removed, then startup Tomcat and you should see two file servers registered in the NetBIOS name table - nbtstat -n.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2006 10:41:46 GMT</pubDate>
    <dc:creator>gary_spencer</dc:creator>
    <dc:date>2006-01-20T10:41:46Z</dc:date>
    <item>
      <title>Error Deploying Multiple Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11985#M4830</link>
      <description>Error Deploying Multiple InstancesIn summary, I am trying to deploy Alfresco multiple times as separate web applications within one Tomcat instance and receiving error: ERROR [org.alfresco.smb.protocol] Error accessing Win32 NetBIOS, check DLL is on the path; on all but the first application that st</description>
      <pubDate>Mon, 19 Dec 2005 06:53:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11985#M4830</guid>
      <dc:creator>whitecrowe</dc:creator>
      <dc:date>2005-12-19T06:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error Deploying Multiple Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11986#M4831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is possible to run multiple instances of Alfresco with multiple CIFS servers. It requires some of the classes to be moved to the Tomcat shared\classes folder so that the JNI code used to interface with Windows Winsock NetBIOS is only loaded once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what you need to do. Extract the following packages from the repository.jar file into the Tomcat shared\classes folder (with the original package folder tree) :-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.filesys.netbios&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.filesys.netbios.win32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.filesys.smb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.filesys.util&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then delete them from the repository.jar, I used WinZip to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After deploying multiple versions of the Alfresco WAR file edit the following files :-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;repository.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Change the dir.root and db.name values&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;file-servers.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Change the second webapp to use &amp;lt;host name="${localname}B"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure each webapp is using the modified repository.jar with the shared classes removed, then startup Tomcat and you should see two file servers registered in the NetBIOS name table - nbtstat -n.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 10:41:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11986#M4831</guid>
      <dc:creator>gary_spencer</dc:creator>
      <dc:date>2006-01-20T10:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error Deploying Multiple Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11987#M4832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I'm a bit confused as how to do multiple instances of Alfresco/jboss on Linux using MySql.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as I see it as of now you create another directory where your second instance is in the jboss folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;seen as &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/jboss/default - main company instance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/jboss/company2 - secondary company &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you need everything that is in the default directory copied to the company2 directory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You would have two mysql databases default and company2 and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which files would need to be edited to create the second instance for the different ports and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for startup of the two instances?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help that can be given as I seem to be a bit confused as to what needs to be changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trac&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 21:20:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11987#M4832</guid>
      <dc:creator>trac</dc:creator>
      <dc:date>2006-01-24T21:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error Deploying Multiple Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11988#M4833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think it would be possible to run multiple Alfresco CIFS servers on linux. To do that properly would require a NetBIOS name service that is shared between the different instances of Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may be possible to configure one instance of Alfresco to use NetBIOS and the other instance to use native SMB. This is not ideal though as Windows clients can fail over to one or the other server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the linux version of the Alfresco CIFS server does not use any native code you should be able to use the Jar/War files as is. You would need to change the file-servers.xml files so that one instance is configured with &amp;lt;netBIOSSMB/&amp;gt; and the other instance configured to use &amp;lt;tcpipSMB/&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 21:39:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-multiple-instances/m-p/11988#M4833</guid>
      <dc:creator>gary_spencer</dc:creator>
      <dc:date>2006-01-24T21:39:27Z</dc:date>
    </item>
  </channel>
</rss>

