<?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: Deploying .WARs to an existing Tomcat installation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258917#M212047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The PermGen problems *are* simple to fix - all I did was add &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=128m&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; to my catalina.sh file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this thread will help others achieve the same thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your patience,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Dec 2010 17:08:24 GMT</pubDate>
    <dc:creator>matt_bennett</dc:creator>
    <dc:date>2010-12-03T17:08:24Z</dc:date>
    <item>
      <title>Deploying .WARs to an existing Tomcat installation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258910#M212040</link>
      <description>Hello,I have succeeded in installing a Alfresco Community 3.3 using the Linux and OS X installers, but I'm struggling to create a deployment into an existing Tomcat instance. There are several scant forum topics on the subject e.g. [1], and I'm new to Tomcat, but there does not seem to be a definiti</description>
      <pubDate>Thu, 18 Nov 2010 18:06:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258910#M212040</guid>
      <dc:creator>matt_bennett</dc:creator>
      <dc:date>2010-11-18T18:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying .WARs to an existing Tomcat installation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258911#M212041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What you have done should work….&amp;nbsp;&amp;nbsp;&amp;nbsp; It should be that simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However the more recent versions of Alfresco require Java 1.6.&amp;nbsp;&amp;nbsp;&amp;nbsp; And while Tomcat5.5 was a good and venerable platform most users will be using a more recent version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your problem is not connected to Alfresco,&amp;nbsp; Tomcat is not getting as far as doing anything with Alfresco.&amp;nbsp;&amp;nbsp; I've never seen anything like your problem :?&amp;nbsp; but have you changed or deleted anything else or possibly are you trying to run Alfresco with a different user account that does not have access to certain files&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 19:33:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258911#M212041</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-11-18T19:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying .WARs to an existing Tomcat installation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258912#M212042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What you have done should work…. It should be that simple&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;OK good, thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Your problem is not connected to Alfresco… have you changed or deleted anything else&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'manager' and 'admin' applications that ship with Tomcat work correctly. I modified tomcat-users.xml to add a manager role, but that's it. I wasn't given the opportunity to run alfresco as a different user - I just dropped in the .war, restarted and boom! Broken &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try again with Tomcat 6 and report back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 10:25:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258912#M212042</guid>
      <dc:creator>matt_bennett</dc:creator>
      <dc:date>2010-11-19T10:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying .WARs to an existing Tomcat installation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258913#M212043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cool. Some progress with Tomcat 6…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;deployed the .WARs into $CATALINA_HOME/webapps&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;created the $CATALINA_HOME/shared/classes and $CATALINA_HOME/shared/lib directories&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;copied commons-el.jar &amp;amp; mysql-connector-java-5.1.7-bin.jar into $CATALINA_HOME/shared/lib (which I got from the tomcat bundle within alfresco-community-tomcat-3.3.tar.gz)&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Predictably, alfresco now complains about the database connection:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;19-Nov-2010 12:12:59 org.apache.catalina.startup.HostConfig deployDirectory&lt;BR /&gt;INFO: Deploying web application directory docs&lt;BR /&gt;19-Nov-2010 12:12:59 org.apache.catalina.startup.HostConfig deployDirectory&lt;BR /&gt;INFO: Deploying web application directory examples&lt;BR /&gt;19-Nov-2010 12:13:00 org.apache.catalina.startup.HostConfig deployDirectory&lt;BR /&gt;INFO: Deploying web application directory ROOT&lt;BR /&gt;19-Nov-2010 12:13:00 org.apache.coyote.http11.Http11Protocol start&lt;BR /&gt;INFO: Starting Coyote HTTP/1.1 on http-8080&lt;BR /&gt;19-Nov-2010 12:13:00 org.apache.jk.common.ChannelSocket init&lt;BR /&gt;INFO: JK: ajp13 listening on /0.0.0.0:8009&lt;BR /&gt;19-Nov-2010 12:13:00 org.apache.jk.server.JkMain start&lt;BR /&gt;INFO: Jk running ID=0 time=0/35&amp;nbsp; config=null&lt;BR /&gt;19-Nov-2010 12:13:00 org.apache.catalina.startup.Catalina start&lt;BR /&gt;INFO: Server startup in 15458 ms&lt;BR /&gt;&lt;BR /&gt;12:13:02,814&amp;nbsp; INFO&amp;nbsp; [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]&lt;BR /&gt;12:13:02,816&amp;nbsp; INFO&amp;nbsp; [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]&lt;BR /&gt;12:13:02,904&amp;nbsp; INFO&amp;nbsp; [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]&lt;BR /&gt;12:13:05,202&amp;nbsp; WARN&amp;nbsp; [hibernate.cfg.SettingsFactory] Could not obtain connection metadata&lt;BR /&gt;org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure&lt;BR /&gt;&lt;BR /&gt;Last packet sent to the server was 0 ms ago.)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:855)&lt;BR /&gt;…&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't have a global config file, so I created a minimal one at $CATALINA_HOME/shared/classes/alfresco-shared.properties. But no dice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The docs seem sparse on this matter. Have I put it in the wrong place?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 13:41:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258913#M212043</guid>
      <dc:creator>matt_bennett</dc:creator>
      <dc:date>2010-11-19T13:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying .WARs to an existing Tomcat installation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258914#M212044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Right location but the file should be called alfresco-global.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And have you remembered to set up the shared class loader for Tomcat6?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Install_Tomcat6" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Install_Tomcat6&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 13:45:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258914#M212044</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-11-19T13:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying .WARs to an existing Tomcat installation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258915#M212045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks mrogers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had missed some of the steps listed in the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Install_Tomcat6" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Install_Tomcat6&lt;/A&gt;&lt;SPAN&gt; – specifically copying all the contents of shared/classes across. These steps aren't listed in the documentation at [1] (it just says "create the shared/classes directory") and the files aren't distributed in the alfresco-community-war archive, which is confusing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Explorer and Share attempt to start now, but Explorer dies in a storm of PermGen Space out-of-memory errors. For the time being I've given up and started using the bundled tomcat deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] &lt;/SPAN&gt;&lt;A href="http://www2.alfresco.com/e/1234/4-2009-10-05-F2TF5-1234-43621-/MUSXR/315847155" rel="nofollow noopener noreferrer"&gt;http://www2.alfresco.com/e/1234/4-2009-10-05-F2TF5-1234-43621-/MUSXR/315847155&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 15:11:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258915#M212045</guid>
      <dc:creator>matt_bennett</dc:creator>
      <dc:date>2010-11-25T15:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying .WARs to an existing Tomcat installation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258916#M212046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The PermGen problems are simple to fix and are well covered in these forums, you just need to increse the memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R.E. "specifically copying all the contents of shared/classes across."&amp;nbsp;&amp;nbsp; You should not copy everything, only the one or two bits that you need to change.&amp;nbsp;&amp;nbsp;&amp;nbsp; Minimising the configuration will help when it comes time to upgrade.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 15:14:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258916#M212046</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-11-25T15:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying .WARs to an existing Tomcat installation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258917#M212047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The PermGen problems *are* simple to fix - all I did was add &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=128m&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; to my catalina.sh file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this thread will help others achieve the same thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your patience,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 17:08:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-wars-to-an-existing-tomcat-installation/m-p/258917#M212047</guid>
      <dc:creator>matt_bennett</dc:creator>
      <dc:date>2010-12-03T17:08:24Z</dc:date>
    </item>
  </channel>
</rss>

