AnsweredAssumed Answered

Trying to get Web quick start going - out of ideas

Question asked by nightfalltech on Jul 3, 2012
Latest reply on Jul 17, 2012 by andrewuhm
ok, so i'm trying to get WebQuickStart going… it works on my stand alone dev machine (basic install using installer)…
However, it does NOT work in our UAT environment.

I've searched extensively, but i just can't find out what this problem is
(Running 4.0d community on windows)

Share and alfresco are otherwise working correctly, SOLR full text indexing otherwise appears to be working correctly

We are running SOLR, Share and alfresco on seperate servers and i'm trying to run wcmqs on the alfresco server
(Alfresco is on ports 80 & 443, SOLR on port 8080 on seperate server)

I've resolved authentication and endpoints, so its talking to the alfresco server

My browser displays
"Error

Sorry, there seems to be a problem with this part of the page."

I get the following error on the /alfresco server

2012-07-03 17:41:00,040  ERROR [quartz.core.ErrorLogger] [DefaultScheduler_Worker-6] Job (DEFAULT.org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean#7a5388b5 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor] failed; nested exception is org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 06030147 Request failed 500 /solr/alfresco/alfresco?q=TYPE%3A%22%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fwebsite%2F1.0%7Dwebsite%22&wt=json&fl=*%2Cscore&rows=2147483647&df=TEXT&start=0&locale=en_AU&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor] failed; nested exception is org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 06030147 Request failed 500 /solr/alfresco/alfresco?q=TYPE%3A%22%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fwebsite%2F1.0%7Dwebsite%22&wt=json&fl=*%2Cscore&rows=2147483647&df=TEXT&start=0&locale=en_AU&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON
   at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:273)
   at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   … 1 more
Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 06030147 Request failed 500 /solr/alfresco/alfresco?q=TYPE%3A%22%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fwebsite%2F1.0%7Dwebsite%22&wt=json&fl=*%2Cscore&rows=2147483647&df=TEXT&start=0&locale=en_AU&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON
   at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:333)
   at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)
   at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)
   at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:152)
   at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:67)
   at org.alfresco.repo.search.AbstractSearcherComponent.query(AbstractSearcherComponent.java:53)
   at sun.reflect.GeneratedMethodAccessor529.invoke(Unknown Source)
   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)
   at $Proxy13.query(Unknown Source)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor$1$1.execute(PublishQueueProcessor.java:62)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:259)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor$1.doWork(PublishQueueProcessor.java:55)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:519)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor.run(PublishQueueProcessor.java:50)
   at sun.reflect.GeneratedMethodAccessor536.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
   at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:264)
   … 3 more

I get the following error in the /solr server

03/07/2012 5:48:07 PM org.apache.solr.common.SolrException log
SEVERE: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 06030042 Invalid type: {http://www.alfresco.org/model/website/1.0}website
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser.createTypeQuery(AbstractLuceneQueryParser.java:1141)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser.getFieldQuery(AbstractLuceneQueryParser.java:804)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser.getFieldQuery(AbstractLuceneQueryParser.java:343)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser.getFieldQuery(AbstractLuceneQueryParser.java:269)
   at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1584)
   at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1337)
   at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1265)
   at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1254)
   at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:200)
   at org.alfresco.solr.query.AlfrescoLuceneQParserPlugin$AlfrescoLuceneQParser.parse(AlfrescoLuceneQParserPlugin.java:102)
   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)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Unknown Source)

Outcomes