AnsweredAssumed Answered

4.0.c Type not found: ws:webassetCollection

Question asked by wilsonb on Jan 13, 2012
Latest reply on Aug 8, 2018 by tkuprowski
This may be reported elsewhere but I have tried using the 4.0.c and I'm currently suffering the following issue:


WARNING: Type not found: {http://www.alfresco.org/model/content/1.0}ws:webassetCollection
13-Jan-2012 06:47:26 org.alfresco.repo.dictionary.DictionaryDAOImpl getType
WARNING: Type not found: {http://www.alfresco.org/model/website/1.0}website
13-Jan-2012 06:47:26 org.apache.solr.common.SolrException log
SEVERE: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 00130000 Invalid type: ws:webassetCollection
   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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
   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:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)

13-Jan-2012 06:47:26 org.apache.solr.common.SolrException log
SEVERE: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 00130001 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
   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:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)

I have downloaded the Alfresco with no additional packages, connected it to an existing MySQL. This works without the exception above. If I then release the wcmqs package I get the error above just after the server starts up. I expected it was something I was doing so I have tried this on 4.0.c release with everything bundled in and running against the bundled PostgreSQL database. It also appears to happen.

There may be an obvious thing I'm missing so I'm prepared to be embarrassed.

Outcomes