<?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 virtual_tomcat_home in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53873#M31997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Group,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting rmiAuthentication exceptions and avmRemote exceptions when I startup alfresco after a build form the fresh svn as of last evening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a configuration issue?&amp;nbsp; I was wondering if virtual_tomcat_home has anything to do with this.&amp;nbsp; I currently don't really have it pointed to anything.&amp;nbsp; I saw this in the wiki, but wasn't sure what I needed to do with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it absolutely necessary to have virtual_tomcat_home setup?&amp;nbsp; Could this be causing my startup errors (or hidden build problems - even though the build appeared clean)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;fyi - I am a community network user - not an enterprise user.&amp;nbsp; does this have anything to do with the authentication assumptions made in the svn?&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, 22 Dec 2006 16:56:36 GMT</pubDate>
    <dc:creator>mrudmann</dc:creator>
    <dc:date>2006-12-22T16:56:36Z</dc:date>
    <item>
      <title>virtual_tomcat_home</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53873#M31997</link>
      <description>Group,I am getting rmiAuthentication exceptions and avmRemote exceptions when I startup alfresco after a build form the fresh svn as of last evening.Is this a configuration issue?&amp;nbsp; I was wondering if virtual_tomcat_home has anything to do with this.&amp;nbsp; I currently don't really have it pointed to anyth</description>
      <pubDate>Fri, 22 Dec 2006 16:56:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53873#M31997</guid>
      <dc:creator>mrudmann</dc:creator>
      <dc:date>2006-12-22T16:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: virtual_tomcat_home</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53874#M31998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Prior to build:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[0]&amp;nbsp; Set&amp;nbsp; the VIRTUAL_TOMCAT_HOME environment variable &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to point at your virtulization server's home.&amp;nbsp;&amp;nbsp; For example, on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows my VIRTUAL_TOMCAT_HOME is c:/alfresco/virtual-tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (and my TOMCAT_HOME is c:/alfrseco/tomcat).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The build places sevderal important files in VIRTUAL_TOMCAT_HOME,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; including things that configure AVMRemote/RMI &amp;amp; permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The VIRTUAL_TOMCAT_HOME must be a valid tomcat installation,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and it must not be the same as your TOMCAT_HOME.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1]&amp;nbsp;&amp;nbsp; Stop tomcat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[2]&amp;nbsp; rm&amp;nbsp; $VIRTUAL_TOMCAT_HOME/conf/alfresco-*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[3]&amp;nbsp;&amp;nbsp; Get rid of old logfiles &amp;amp; 'work' dirs to avoid confusion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[4]&amp;nbsp;&amp;nbsp; Get rid of any previously expanded alfresco.war file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rm -rf&amp;nbsp; $TOMCAT_HOME/webapps/alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now build and run the tomcat that hosts Alfresco's webapp again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If all is well, you're set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this does not work for you, be aware that the backing store has&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;changed over time, so you might want to try stopping everything,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deleting your&amp;nbsp; backing store, doing a drop/create on the alfresco &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;database, then walking through steps 1-4 again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 17:03:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53874#M31998</guid>
      <dc:creator>jcox</dc:creator>
      <dc:date>2007-01-02T17:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: virtual_tomcat_home</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53875#M31999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Couple of questions &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. do I need to use the ant script to build my VIRTUAL_TOMCAT_HOME ? for an older version without WCM&amp;nbsp; I would only run the a build_war target that I created and then I would manually copy the war doing a hot deploy to an already existing&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat. This worked fine… can I do something similiar with WCM. what are the files that are placed in the VIRTUAL_TOMCAT_HOME&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If I cant… what order should the targets be run ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. is it possible to run alfresco without the VIRTUAL_TOMCAT_HOME running ie turn off WCM as it is not needed by us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 22:32:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53875#M31999</guid>
      <dc:creator>dcrossma</dc:creator>
      <dc:date>2007-01-04T22:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: virtual_tomcat_home</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53876#M32000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There were some server changes that may have temporarily&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;broken remote clients (including the virtualization server).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A checkin was done this afternoon to fix the situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That said, here are the answers to your questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1]&amp;nbsp; $VIRTUAL_TOMCAT_HOME is the location of an instance of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat that is devoted to virtualization.&amp;nbsp;&amp;nbsp; The ant-based build&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;places certain files in this instance of tomcat that are vital&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for its proper function.&amp;nbsp;&amp;nbsp; You must install this instance of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat and set&amp;nbsp; VIRTUAL_TOMCAT_HOME=&amp;lt;wherever-it-lives&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*prior* to doing your and-based build.&amp;nbsp;&amp;nbsp; Put another way, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the ant build does not comile the instance of tomcat devoted&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to virtualization — merely a few critial libs &amp;amp; config files that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are placed into it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[2]&amp;nbsp; Just follow the instructions in [1],&amp;nbsp; go to the root/common&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&amp;nbsp; type&amp;nbsp; "ant".&amp;nbsp;&amp;nbsp; No special targets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[3]&amp;nbsp; Yes.&amp;nbsp;&amp;nbsp; Typically, when you compile the source code, you have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;both the virtualization server and the tomcat devoted to running&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the Alfresco webapp turned off.&amp;nbsp;&amp;nbsp; It's more important to have the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat runing the Alfresco turned off so you can safely delete the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;expanded .war file prior to the compile&amp;nbsp; (thus ensuring a fairly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;context-free build).&amp;nbsp; If you want a totally context-free build, look&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at my earlier post and walk through steps [0]-[4], in order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; –Jon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 23:14:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/virtual-tomcat-home/m-p/53876#M32000</guid>
      <dc:creator>jcox</dc:creator>
      <dc:date>2007-01-04T23:14:23Z</dc:date>
    </item>
  </channel>
</rss>

