cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Alfresco Web Quick Start 4.0

removedquasar
Champ in-the-making
Champ in-the-making
I have a problem with the manual installation of Alfresco Web Quick Start on Alfresco Community 4.0. I followed your guide:

    Download the Web Quick Start zip bundle file:
    alfresco-community-wcmqs-4.0.x.zip
    Unzip the file into a temporary location. The artifacts supplied with Web Quick Start are:
        alfresco-community-wcmqs-4.0.x.amp (AMP file for Alfresco)
        alfresco-community-wcmqs-share-4.0.x.amp (AMP file for Share)
        awe.war (Web Editor)
        wcmqs.war (Spring-based Web Quick Start application)
        awe-config-custom.xml
    Locate your Alfresco installation directory.
    Copy the AMP files into the relevant amps directories for Alfresco and Share:
        Copy the alfresco-community-wcmqs-4.0.x.amp file to the amps directory.
        Copy the alfresco-community-wcmqs-share-4.0.x.amp file to the amps-share directory.
    Apply the AMP files using the apply_amps command for the Tomcat application server, or, alternatively, use the Module Management Tool (MMT).
    Copy the website WAR (wcmqs.war) into the webapps directory of your existing Alfresco installation.
    For example, on Windows with a Tomcat application server, this is C:\Alfresco\tomcat\webapps.
    Copy the Alfresco Web Editor file (awe.war) into the webapps directory to replace the existing awe.war file.
    Delete the existing alfresco and share directories.
    Restart the Alfresco server.

I don't undestand this line:
Delete the existing alfresco and share directories.
Which directories and/or files i have to delete?

However i continued and i created a site with the Alfresco Share, i added the Web Quick dashlet and  i imported data from the "demo" site (choosed Finance). Now the link to Web Quick Start Help appared but i can't still open those two pages that i need : http://localhost:8080/wcmqs and http://127.0.0.1:8080/wcmqs. This is strange because during the Alfresco 4.0 Installation i choosed 127.0.0.1 as Dominion Server Web and 8080 for Tomcat so where is the problem?

ps: i tried to do the same thing with Alfresco Community 3.4.d (which have the Web Quick Start already installed) but i had the same error, this time the page http://localhost:8080/wcmqs/ work but the page http://127.0.0.1:8080/wcmqs/ still doesen't work.
2 REPLIES 2

stevegreenbaum
Champ in-the-making
Champ in-the-making
tomcat\webapps\alfresco
tomcat\webapps\share

trowe
Champ in-the-making
Champ in-the-making
I'm having the same problem.

I deleted the applications (alfresco & share) in the webapps area and they were instantly recreated (as I would expect).

So I stopped the server, cleared down the catalina.out log file for tomcat and restarted the the whole server.

Then I hit the urls http://127.0.0.1:8080/wcmqs/ and http://localhost:8080/wcmqs/ and get the error page.

I looked in the catalina.out file and I'm getting the following errors, which I reckon is the problem

INFO: Starting Coyote HTTP/1.1 on http-8443
Oct 23, 2011 5:28:28 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 84025 ms
Oct 23, 2011 5:28:35 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Type unsupported in CMIS queries: wa
   at org.alfresco.opencmis.search.CMISQueryParser.buildOrderings(CMISQueryParser.java:864)
   at org.alfresco.opencmis.search.CMISQueryParser.parse(CMISQueryParser.java:154)
   at org.alfresco.solr.AlfrescoSolrDataModel.parseCMISQueryToAlfrescoAbstractQuery(AlfrescoSolrDataModel.java:1037)
   at org.alfresco.solr.query.CmisQParserPlugin$CmisQParser.parse(CmisQParserPlugin.java:245)
   at org.apache.solr.search.QParser.getQuery(QParser.java:131)
   at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
   at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
   at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
   at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
   at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
   at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
….
Oct 23, 2011 5:28:35 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Type unsupported in CMIS queries: wa
   at org.alfresco.opencmis.search.CMISQueryParser.buildOrderings(CMISQueryParser.java:864)
   at org.alfresco.opencmis.search.CMISQueryParser.parse(CMISQueryParser.java:154)
   at org.alfresco.solr.AlfrescoSolrDataModel.parseCMISQueryToAlfrescoAbstractQuery(AlfrescoSolrDataModel.java:1037)
   at org.alfresco.solr.query.CmisQParserPlugin$CmisQParser.parse(CmisQParserPlugin.java:245)
   at org.apache.solr.search.QParser.getQuery(QParser.java:131)
   at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
   at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
   at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
   at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
   at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
   at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)


2011-10-23 17:28:35,857  ERROR [org_alfresco_module_wcmquickstart.util.WebassetCollectionHelper] [DefaultScheduler_Worker-5] Failed to complete update of dynamic asset collection (workspace://SpacesStore/42e814f9-e425-4ba5-833e-96e2cb856c8a): SELECT d.* FROM cmis:document AS d JOIN ws:webasset AS wa ON d.cmisSmiley SurprisedbjectId = wa.cmisSmiley SurprisedbjectId WHERE d.cmisSmiley SurprisedbjectTypeId='D:ws:article' AND in_tree(d, 'workspace://SpacesStore/e68d186b-1190-4ccc-ad4e-f6d5fc773bdd') ORDER BY wa.wsSmiley TongueublishedTime DESC
org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 09230006 Request failed 500 /solr/alfresco/cmis?q=SELECT+d.*+FROM+cmis%3Adocument+AS+d+JOIN+ws%3Awebasset+AS+wa+ON+d.cmis%3AobjectId+%3D+wa.cmis%3AobjectId+WHERE+d.cmis%3AobjectTypeId%3D%27D%3Aws%3Aarticle%27+AND+in_tree%28d%2C+%27workspace%3A%2F%2FSpacesStore%2Fe68d186b-1190-4ccc-ad4e-f6d5fc773bdd%27%29+ORDER+BY+wa.ws%3ApublishedTime+DESC&wt=json&fl=*%2Cscore&rows=3&df=TEXT&start=0&locale=en_US&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON
   at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:328)
   at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)
   at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:367)
   at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:78)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:65)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.