<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Productively running multiple versions of Alfresco</title>
	<atom:link href="http://ecmarchitect.com/archives/2008/03/31/818/feed" rel="self" type="application/rss+xml" />
	<link>http://ecmarchitect.com/archives/2008/03/31/818</link>
	<description>Jeff Potts on ECM, portals, search, collaboration, and a bunch of personal stuff</description>
	<lastBuildDate>Mon, 14 May 2012 10:48:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Dan Wentworth</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-98804</link>
		<dc:creator>Dan Wentworth</dc:creator>
		<pubDate>Thu, 23 Feb 2012 07:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-98804</guid>
		<description>Great thread!
I would like to have multiple Alfresco Tomcat WebServers (dedicated resources)with Apache facing outward with a reverse proxy mod_jk acting as a gateway. This is primarily due to limitations found in MultiTenancy. Specifically CIFS. However I am having difficulty understanding how to reassign the CIFs port in Alfresco.  I am currently working with a single instance with port reassignments as a proof of concept. Any help would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Great thread!<br />
I would like to have multiple Alfresco Tomcat WebServers (dedicated resources)with Apache facing outward with a reverse proxy mod_jk acting as a gateway. This is primarily due to limitations found in MultiTenancy. Specifically CIFS. However I am having difficulty understanding how to reassign the CIFs port in Alfresco.  I am currently working with a single instance with port reassignments as a proof of concept. Any help would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-95735</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Fri, 03 Feb 2012 22:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-95735</guid>
		<description>You should have a webapps folder which contains &quot;alfresco&quot; and &quot;share&quot;. In my case, similar to what is explained in the blog post, I symlink the alfresco and share directories to another directory where my exploded WARs live. So here is what my $TOMCAT_HOME/webapps directory looks like:

&lt;code&gt;jpotts-alfresco-mbp:webapps jpotts$ pwd
/opt/apache/tomcat/apache-tomcat-6.0.32/webapps
jpotts-alfresco-mbp:webapps jpotts$ ls -la
total 16
drwxr-xr-x@  9 jpotts  admin   306 Feb  3 16:13 .
drwxr-xr-x  17 jpotts  admin   578 May 27  2011 ..
drwxr-xr-x@ 13 jpotts  admin   442 Sep  8 16:03 ROOT
lrwxr-xr-x   1 jpotts  admin    54 Feb  3 16:13 alfresco -&gt; /Users/jpotts/alfresco/webapps/alfresco-3.4d-community
drwxr-xr-x@ 45 jpotts  admin  1530 Feb  2  2011 docs
drwxr-xr-x@  6 jpotts  admin   204 Feb  2  2011 examples
drwxr-xr-x@  8 jpotts  admin   272 Feb  2  2011 host-manager
drwxr-xr-x@  9 jpotts  admin   306 Feb  2  2011 manager
lrwxr-xr-x   1 jpotts  admin    51 Feb  3 16:13 share -&gt; /Users/jpotts/alfresco/webapps/share-3.4d-community&lt;/code&gt;

Jeff</description>
		<content:encoded><![CDATA[<p>You should have a webapps folder which contains &#8220;alfresco&#8221; and &#8220;share&#8221;. In my case, similar to what is explained in the blog post, I symlink the alfresco and share directories to another directory where my exploded WARs live. So here is what my $TOMCAT_HOME/webapps directory looks like:</p>
<p><code>jpotts-alfresco-mbp:webapps jpotts$ pwd<br />
/opt/apache/tomcat/apache-tomcat-6.0.32/webapps<br />
jpotts-alfresco-mbp:webapps jpotts$ ls -la<br />
total 16<br />
drwxr-xr-x@  9 jpotts  admin   306 Feb  3 16:13 .<br />
drwxr-xr-x  17 jpotts  admin   578 May 27  2011 ..<br />
drwxr-xr-x@ 13 jpotts  admin   442 Sep  8 16:03 ROOT<br />
lrwxr-xr-x   1 jpotts  admin    54 Feb  3 16:13 alfresco -&gt; /Users/jpotts/alfresco/webapps/alfresco-3.4d-community<br />
drwxr-xr-x@ 45 jpotts  admin  1530 Feb  2  2011 docs<br />
drwxr-xr-x@  6 jpotts  admin   204 Feb  2  2011 examples<br />
drwxr-xr-x@  8 jpotts  admin   272 Feb  2  2011 host-manager<br />
drwxr-xr-x@  9 jpotts  admin   306 Feb  2  2011 manager<br />
lrwxr-xr-x   1 jpotts  admin    51 Feb  3 16:13 share -&gt; /Users/jpotts/alfresco/webapps/share-3.4d-community</code></p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cheers</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-95379</link>
		<dc:creator>Cheers</dc:creator>
		<pubDate>Wed, 01 Feb 2012 09:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-95379</guid>
		<description>Hi jeff, 

thanks for the reply,

i create the folder alfresco4-0c in my webapps folder and i create alfresco folder and share folder in alfresco4-0c and extract the .war files, but i have the same error.

What&#039;s wrong?

Thanks a lot</description>
		<content:encoded><![CDATA[<p>Hi jeff, </p>
<p>thanks for the reply,</p>
<p>i create the folder alfresco4-0c in my webapps folder and i create alfresco folder and share folder in alfresco4-0c and extract the .war files, but i have the same error.</p>
<p>What&#8217;s wrong?</p>
<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-94879</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Thu, 26 Jan 2012 17:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-94879</guid>
		<description>Nick,

You should test Share with the same version of the Alfresco repository. So if you are testing Share 4.0.b it should be against Alfresco 4.0.b.

The safest/easiest way to run multiple instances of Alfresco is to:
 1. Create a separate alf_data directory.
 2. Create a separate database
 3. Use separate tomcat instances or at least separate web applications

I have many different versions of Alfresco on my machine and I use a script to switch between them. This blog post talks about how that works. It was written a long time ago, but it all still applies. One big difference is that the properties file is now called alfresco-global.properties. That file is where you specify the data directory path, the database name, the database user, and the database password.

In your case you are upgrading so you&#039;ll want to test your upgrade first. To do this, dump the database then tar up your alf_data directory. Then create a new database and load it with the dump you created. Create a new alf_data directory for your new version and un-tar the old data directory into it. Edit alfresco-global.properties to point to the test database and alf_data directory. DOUBLE CHECK THIS. You do NOT want to start up Alfresco with the new WARs on a test server and have them inadvertently point to the production database and data directory. If everything is set appropriately, drop the new alfresco.war and share.war files into a test tomcat instance and restart. This will give you a chance to test the upgrade including any customizations or extensions you may have made. (In fact, if you have made any, there will be the obvious step of merging those with the new configuration files which may have changed since the old version).

If everything tests out okay and you are ready to do this in production, all you have to do is shut down, merge the config and other customizations, drop in the new WARs, then restart.

Hope this helps,

Jeff</description>
		<content:encoded><![CDATA[<p>Nick,</p>
<p>You should test Share with the same version of the Alfresco repository. So if you are testing Share 4.0.b it should be against Alfresco 4.0.b.</p>
<p>The safest/easiest way to run multiple instances of Alfresco is to:<br />
 1. Create a separate alf_data directory.<br />
 2. Create a separate database<br />
 3. Use separate tomcat instances or at least separate web applications</p>
<p>I have many different versions of Alfresco on my machine and I use a script to switch between them. This blog post talks about how that works. It was written a long time ago, but it all still applies. One big difference is that the properties file is now called alfresco-global.properties. That file is where you specify the data directory path, the database name, the database user, and the database password.</p>
<p>In your case you are upgrading so you&#8217;ll want to test your upgrade first. To do this, dump the database then tar up your alf_data directory. Then create a new database and load it with the dump you created. Create a new alf_data directory for your new version and un-tar the old data directory into it. Edit alfresco-global.properties to point to the test database and alf_data directory. DOUBLE CHECK THIS. You do NOT want to start up Alfresco with the new WARs on a test server and have them inadvertently point to the production database and data directory. If everything is set appropriately, drop the new alfresco.war and share.war files into a test tomcat instance and restart. This will give you a chance to test the upgrade including any customizations or extensions you may have made. (In fact, if you have made any, there will be the obvious step of merging those with the new configuration files which may have changed since the old version).</p>
<p>If everything tests out okay and you are ready to do this in production, all you have to do is shut down, merge the config and other customizations, drop in the new WARs, then restart.</p>
<p>Hope this helps,</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-94877</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Thu, 26 Jan 2012 17:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-94877</guid>
		<description>Silverio,

You need two WARs. The first one is alfresco.war. That contains the core repository and the Alfresco Explorer web client. The second is share.war. That contains only the Alfresco Share web client. I would extract alfresco.war into &quot;alfresco&quot; and share.war into &quot;share&quot;. If you extract alfresco.war into something different, you&#039;ll have to do some Share configuration because it needs to communicate with the repository, and it expects the app to be called &quot;alfresco&quot;.

Jeff</description>
		<content:encoded><![CDATA[<p>Silverio,</p>
<p>You need two WARs. The first one is alfresco.war. That contains the core repository and the Alfresco Explorer web client. The second is share.war. That contains only the Alfresco Share web client. I would extract alfresco.war into &#8220;alfresco&#8221; and share.war into &#8220;share&#8221;. If you extract alfresco.war into something different, you&#8217;ll have to do some Share configuration because it needs to communicate with the repository, and it expects the app to be called &#8220;alfresco&#8221;.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cheers</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-94166</link>
		<dc:creator>Cheers</dc:creator>
		<pubDate>Wed, 18 Jan 2012 14:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-94166</guid>
		<description>Hi Jeff,

i created alfresco-4.0c directory in my webapps folder, i extract the share.war manually, but when write this url: http://localhost:8081/alfresco-4.0c the browser response this message: 

HTTP Status 404 - /alfresco-4.0c/

type Status report

message /alfresco-4.0c/

description The requested resource (/alfresco-4.0c/) is not available.

What&#039;s wrong? Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>i created alfresco-4.0c directory in my webapps folder, i extract the share.war manually, but when write this url: <a href="http://localhost:8081/alfresco-4.0c" rel="nofollow">http://localhost:8081/alfresco-4.0c</a> the browser response this message: </p>
<p>HTTP Status 404 &#8211; /alfresco-4.0c/</p>
<p>type Status report</p>
<p>message /alfresco-4.0c/</p>
<p>description The requested resource (/alfresco-4.0c/) is not available.</p>
<p>What&#8217;s wrong? Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Taitano</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-92990</link>
		<dc:creator>Nick Taitano</dc:creator>
		<pubDate>Fri, 06 Jan 2012 20:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-92990</guid>
		<description>jpotts:

I&#039;m a new to Alfresco and I recently purchased the Alfresco developers guide to help me understand the system.

My question is pertaining to upgrades. We are currently using a Tomcat installation on a BSD system and we&#039;re running Alfresco version 3.4.c and we&#039;re hoping to upgrade to the latest version. 

In my tomcat/webapps folder I have /Alfresco and /Share. I downloaded and expanded Share 4.0b and was able to deploy the new Share instance in tomcat. So right now, I have the following:

/alfresco - version 3.4.c
/share - Production - version 3.4.c
/share4b - Testing new Share

How would I go about running multiple instances of the alfresco repository? I understand I must create a new mysql database, put the new information in the alfresco-global.properties file, specify a new alf_data directory as well.

How will the new &#039;share4b&#039; site know to use the new repository? I apologize if my terminology or general idea of Alfresco is summit convoluted
but again, I&#039;m starting from scratch and would like a better understanding of the upgrade procedures.

I appreciate any help you can provide. Excellent site, btw.</description>
		<content:encoded><![CDATA[<p>jpotts:</p>
<p>I&#8217;m a new to Alfresco and I recently purchased the Alfresco developers guide to help me understand the system.</p>
<p>My question is pertaining to upgrades. We are currently using a Tomcat installation on a BSD system and we&#8217;re running Alfresco version 3.4.c and we&#8217;re hoping to upgrade to the latest version. </p>
<p>In my tomcat/webapps folder I have /Alfresco and /Share. I downloaded and expanded Share 4.0b and was able to deploy the new Share instance in tomcat. So right now, I have the following:</p>
<p>/alfresco &#8211; version 3.4.c<br />
/share &#8211; Production &#8211; version 3.4.c<br />
/share4b &#8211; Testing new Share</p>
<p>How would I go about running multiple instances of the alfresco repository? I understand I must create a new mysql database, put the new information in the alfresco-global.properties file, specify a new alf_data directory as well.</p>
<p>How will the new &#8216;share4b&#8217; site know to use the new repository? I apologize if my terminology or general idea of Alfresco is summit convoluted<br />
but again, I&#8217;m starting from scratch and would like a better understanding of the upgrade procedures.</p>
<p>I appreciate any help you can provide. Excellent site, btw.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-72144</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Wed, 15 Jun 2011 16:41:31 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-72144</guid>
		<description>Sure, no problem. Glad it worked.

Jeff</description>
		<content:encoded><![CDATA[<p>Sure, no problem. Glad it worked.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pierluigi</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-72138</link>
		<dc:creator>pierluigi</dc:creator>
		<pubDate>Wed, 15 Jun 2011 16:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-72138</guid>
		<description>It WORKS!

I did choose really the worst solution to my problem!!!!

DO NOT RENAME WAR! 

Thank you very much Jeff</description>
		<content:encoded><![CDATA[<p>It WORKS!</p>
<p>I did choose really the worst solution to my problem!!!!</p>
<p>DO NOT RENAME WAR! </p>
<p>Thank you very much Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/03/31/818/comment-page-1#comment-72127</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Wed, 15 Jun 2011 13:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/03/31/818#comment-72127</guid>
		<description>Try creating a &quot;newname&quot; directory under webapps and expanding the share.war manually, then starting up Tomcat. I just did that locally and it worked fine.

If you put share-config-custom.xml in /WEB-INF/classes/alfresco/web-extension in your webapp instead of /shared/classes, you should be able to have a share-config-custom.xml that affects only a specific Share webapp.

Jeff</description>
		<content:encoded><![CDATA[<p>Try creating a &#8220;newname&#8221; directory under webapps and expanding the share.war manually, then starting up Tomcat. I just did that locally and it worked fine.</p>
<p>If you put share-config-custom.xml in /WEB-INF/classes/alfresco/web-extension in your webapp instead of /shared/classes, you should be able to have a share-config-custom.xml that affects only a specific Share webapp.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
</channel>
</rss>

