<?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: Confusion over web client... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166734#M120308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok the extra detail really helps.&amp;nbsp; In that case I'd suggest installing a single standalone Alfresco instance and have the marketing types use the Web Client UI for management, then design your 10 web apps to read content out of that repository via one of the remote APIs mentioned earlier (JCR-RMI for example, if JCR is your preference).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use ACLs etc. within the repository to "firewall" the content between the different marketing groups, if need be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2008 15:24:34 GMT</pubDate>
    <dc:creator>pmonks</dc:creator>
    <dc:date>2008-03-17T15:24:34Z</dc:date>
    <item>
      <title>Confusion over web client...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166729#M120303</link>
      <description>Hi,I am currently evaluating Alfresco for implementation at my company which is involved in the online gambling business. I have gone through the examples especially the FirstJCRClient example. However I see quite often in the accompanying text things like 'to see the content created simply use the</description>
      <pubDate>Sun, 16 Mar 2008 10:17:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166729#M120303</guid>
      <dc:creator>jeffbannister</dc:creator>
      <dc:date>2008-03-16T10:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion over web client...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166730#M120304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;1) How do I run the webclient to see the content created by the FirstJCRClient?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;The easiest way to do this is to install the full web client (eg. using the Tomcat bundle for your OS) then configure it to use the same database and content store (the directory pointed to by the "dir.root" property) as the FirstJCRClient.&amp;nbsp; It would probably be a good idea to reconfigure the FirstJCRClient to use a content store located in a shared location - from memory the default configuration is to use a subdirectory of the FirstJCRClient directory itself, which (while technically fine) is a bit confusing when it's shared.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that you can't (in the default configuration) run both the full web client and the various embedded examples against the same repository (database and content store) at the same time - technically this configuration is a cluster with two nodes (the web client is one node and the embedded example the other node), but the default configurations for the web client and embedded examples aren't setup as a cluster so running both at the same time won't work properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;2) What is the purpose of the webclient? Is this mean't to be used as a standalone administration console for another sites content?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;The web client is Alfresco's user interface, and is primarily an end user tool - it includes an administration console as well, although that's a minor part of the system.&amp;nbsp; If you've used the content community site (&lt;/SPAN&gt;&lt;A href="http://www.alfresco.com/community/register/" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.com/community/register/&lt;/A&gt;&lt;SPAN&gt;) or customer / partner portal (&lt;/SPAN&gt;&lt;A href="http://customers.alfresco.com/" rel="nofollow noopener noreferrer"&gt;http://customers.alfresco.com/&lt;/A&gt;&lt;SPAN&gt;) you've seen the web client - both of those sites are vanilla Alfresco installations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 14:44:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166730#M120304</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-03-16T14:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion over web client...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166731#M120305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Peter for taking the time to reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would just like to clarify a couple of things based on your last reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had done pretty much what you have suggested before I posted i.e. Installed the full web client and changed it's configuration to use ta MySQL database and shared 'data.dir'. I then modified the FirstJCRSample to use the same MySQL database and shared directory. When I run the second client i.e. FirstJCRExample is complains with an obscure message about the 'data.dir' not pointing to a valid location etc. The one I did NOT do however was configure an Alresco cluster. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is this to have the deployment I desire i.e. Two separate processes 1) The web client and 2) My web site with CMS/JCR I need to configure a cluster? I am looking for a simple y/n here as I will look into this again tomorrow and need to know I'm on the right track.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks once again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 22:07:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166731#M120305</guid>
      <dc:creator>jeffbannister</dc:creator>
      <dc:date>2008-03-16T22:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion over web client...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166732#M120306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When I run the second client i.e. FirstJCRExample is complains with an obscure message about the 'data.dir' not pointing to a valid location etc.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;It's probably complaining about "dir.root", which indicates that the FirstJCRClient is not configured with the same database or content store (filesystem directory) as the web client installation.&amp;nbsp; Alfresco performs a series of integrity checks on startup, to ensure that the database and content store it's been configured with are in sync.&amp;nbsp; If they're not in sync, you'll get the kinds of errors you describe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the FirstJCRClient, open up the source/alfresco/extension/custom-repository.properties file and ensure that the database coordinates and dir.root setting are pointing to &lt;/SPAN&gt;&lt;EM&gt;*exactly*&lt;/EM&gt;&lt;SPAN&gt; the same database and content store as configured in the main Alfresco installation.&amp;nbsp; You should avoid relative directories at all costs - they are a common source of problems (since they can refer to different directories on disk, depending on where you start the Alfresco server or run the FirstJCRClient).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So my question is this to have the deployment I desire i.e. Two separate processes 1) The web client and 2) My web site with CMS/JCR I need to configure a cluster?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;The short answer is yes - if you have two separate processes (JVMs) that interact with the same repository (database + content store) then they need to be configured as a cluster if you ever expect to run both of them concurrently.&amp;nbsp; If you intend to only run one of them at a time, then they do not need to be configured as a cluster however.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The long answer is really a question :wink: - why design things this way?&amp;nbsp; If you've embedded Alfresco in your own web app and your users will be manipulating content via that app, then a second content management UI (ie. the web client) is redundant.&amp;nbsp; If your intent is to use the web client as a troubleshooting tool, then I'd suggest either designing your web app to interact with the repository remotely (more detail below), or build troubleshooting / browse tools into your own web app.&amp;nbsp; Both of these options will be less work and (more importantly) less intrusive than trying to configure a cluster simply to support troubleshooting activities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For programmatically interacting with a remote Alfresco repository (eg. the web client), there are a number of options, including:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;REST API (Web Scripts) - &lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;SOAP API - &lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;JCR-RMI - &lt;A href="http://wiki.alfresco.com/wiki/JCR-RMI_Extension" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JCR-RMI_Extension&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Of these, Web Scripts are recommended for a variety of reasons, including:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;They're extensible (you can roll your own APIs)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;They're technology agnostic&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;They're lighter weight&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 23:13:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166732#M120306</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-03-16T23:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion over web client...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166733#M120307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure I explained myself clearly in the previous question. I have several online web applications i.e. 10. Each one has content within it which needs to be managed by marketing types. I do not want to re-invent the wheel with regards to CMS as I have little time and these problems have already been solved countless times before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not want to write a content management console for these marketing types because I feel it would be quicker to simply customize an existing one e.g. The Alfresco web client. So each of the online apps just needs to read content from the repository. For this I plan to use the JCR API to prevent vendor lock in. So my current thinking is this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Create online web app which gets content from repository from via JCR API. e.g. mysite.com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Customize the existing web client for marketing types to manage content for the online web app. e.g. admin.mysite.com&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only other approach I could take would be to add the web client features and code into my online web application e.g. &lt;/SPAN&gt;&lt;A href="http://mysite.com/admin" rel="nofollow noopener noreferrer"&gt;mysite.com/admin&lt;/A&gt;&lt;SPAN&gt;. This approach seems ugly as I would have to add a whole bunch of JSF features etc into the online web app which uses different presentation frameworks to the web client e.g. Tapestry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a single content driven site scenario. Do customers create a new content management UI (for content editors) that is deployed within the site being managed. Or do they use a customized version of the web client deployable separately?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 14:15:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166733#M120307</guid>
      <dc:creator>jeffbannister</dc:creator>
      <dc:date>2008-03-17T14:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion over web client...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166734#M120308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok the extra detail really helps.&amp;nbsp; In that case I'd suggest installing a single standalone Alfresco instance and have the marketing types use the Web Client UI for management, then design your 10 web apps to read content out of that repository via one of the remote APIs mentioned earlier (JCR-RMI for example, if JCR is your preference).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use ACLs etc. within the repository to "firewall" the content between the different marketing groups, if need be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 15:24:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/confusion-over-web-client/m-p/166734#M120308</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-03-17T15:24:34Z</dc:date>
    </item>
  </channel>
</rss>

