Forums » beCPG PLM » Installation »
Could not get project reports 'https://alfresco.my.domain/share/proxy/alfresco/becpg/report/exportsearch/templates/pjt:project'.
Ajouté par Tom Robinson il y a environ 6 ans
Environment:
CentOS Linux release 7.4.1708 (Core) Alfresco Community - 5.2.0 (re21f2be5-b22) (5.2.g) beCPG PLM Share Alfresco share module for beCPG PLM 2.2.1 beCPG Project Share Alfresco share module for beCPG project 2.2.1 beCPG Designer Share Alfresco share module for beCPG designer 2.2.1 beCPG Vault Share Alfresco share module for beCPG 2.2.1
Hi,
I have installed PLM and initialised the repository but I get the error:
Could not get project reports 'https://alfresco.my.domain/share/proxy/alfresco/becpg/report/exportsearch/templates/pjt:project'
when I try to access the Project List. The catalina.log says:
ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-2] Exception from executeScript: 01260016 Wrapped Exception (with status template): Namespace prefix pjt is not mapped to a namespace URI org.springframework.extensions.webscripts.WebScriptException: 01260016 Wrapped Exception (with status template): Namespace prefix pjt is not mapped to a namespace URI
When I go to the Issues Management, I get the following error:
Namespace prefix qa is not mapped to a namespace URI
And the catalina.log says:
ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-1] Exception from executeScript: Namespace prefix qa is not mapped to a namespace URI org.alfresco.service.namespace.NamespaceException: Namespace prefix qa is not mapped to a namespace URI
Also, under 'beCPG->Administrattion beCPG:System characteristics', there is nothing listed (see attached image).
Does someone know how to fix this?
Kind regards,
Tom
PLM-AdminTools.png (67,6 ko) PLM-AdminTools.png |
Réponses (6)
RE: Could not get project reports 'https://alfresco.my.domain/share/proxy/alfresco/becpg/report/exportsearch/templates/pjt:project'. - Ajouté par Philippe Quéré il y a environ 6 ans
Hello Tom,
You must also install core modules (beCPG core, beCPG Designer core, beCPG Project core, beCPG PLM core).
Otherwise, model is not deployed and types are unknown (ex: pjt:project).
Best regards,
Philippe
RE: Could not get project reports 'https://alfresco.my.domain/share/proxy/alfresco/becpg/report/exportsearch/templates/pjt:project'. - Ajouté par Tom Robinson il y a environ 6 ans
Hi Philippe,
Thanks for your support on this.
I installed core but only in alfresco.war. Do I need to install the four core amps also into share.war?
Here are the commands I used to install what I currently have:
#!/bin/bash ALFRESCO_HOME=/opt/alfresco-community BECPG_VERSION=2.2.1 echo Install alfresco AMPS $ALFRESCO_HOME/java/bin/java -jar $ALFRESCO_HOME/bin/alfresco-mmt.jar install ./amps/becpg-core-$BECPG_VERSION.amp $ALFRESCO_HOME/tomcat/webapps/alfresco.war -force $ALFRESCO_HOME/java/bin/java -jar $ALFRESCO_HOME/bin/alfresco-mmt.jar install ./amps/becpg-designer-core-$BECPG_VERSION.amp $ALFRESCO_HOME/tomcat/webapps/alfresco.war -force $ALFRESCO_HOME/java/bin/java -jar $ALFRESCO_HOME/bin/alfresco-mmt.jar install ./amps/becpg-project-core-$BECPG_VERSION.amp $ALFRESCO_HOME/tomcat/webapps/alfresco.war -force $ALFRESCO_HOME/java/bin/java -jar $ALFRESCO_HOME/bin/alfresco-mmt.jar install ./amps/becpg-plm-core-$BECPG_VERSION.amp $ALFRESCO_HOME/tomcat/webapps/alfresco.war -force echo Install share AMPS $ALFRESCO_HOME/java/bin/java -jar $ALFRESCO_HOME/bin/alfresco-mmt.jar install ./amps/becpg-share-$BECPG_VERSION.amp $ALFRESCO_HOME/tomcat/webapps/share.war -force $ALFRESCO_HOME/java/bin/java -jar $ALFRESCO_HOME/bin/alfresco-mmt.jar install ./amps/becpg-designer-share-$BECPG_VERSION.amp $ALFRESCO_HOME/tomcat/webapps/share.war -force $ALFRESCO_HOME/java/bin/java -jar $ALFRESCO_HOME/bin/alfresco-mmt.jar install ./amps/becpg-project-share-$BECPG_VERSION.amp $ALFRESCO_HOME/tomcat/webapps/share.war -force $ALFRESCO_HOME/java/bin/java -jar $ALFRESCO_HOME/bin/alfresco-mmt.jar install ./amps/becpg-plm-share-$BECPG_VERSION.amp $ALFRESCO_HOME/tomcat/webapps/share.war -force
Kind regards,
Tom
RE: Could not get project reports 'https://alfresco.my.domain/share/proxy/alfresco/becpg/report/exportsearch/templates/pjt:project'. - Ajouté par Philippe Quéré il y a environ 6 ans
Hello Tom,
No, you don't need to install core amps in share.
You can look at the file apply_becpg_amps.bat
RE: Could not get project reports 'https://alfresco.my.domain/share/proxy/alfresco/becpg/report/exportsearch/templates/pjt:project'. - Ajouté par Tom Robinson il y a environ 6 ans
Hi Philippe,
Ok, that's what I thought. Still it does not work.
I've rolled back to a clean, backed-up alfresco.war and share.war and reapplied the beCPG amps.
I then removed the tomcat/webapps/{alfresco,share} directories and ran the clean_tomcat.sh to remove the temporary files from tomcat.
On Server Startup I got this in alfresco.log:
2018-02-27 21:46:27,283 INFO [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Checking for patches to apply ... 2018-02-27 21:46:27,735 INFO [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Applying patch 'patch.bcpg.plm.physicoUnitPatch' (null). 2018-02-27 21:46:27,739 INFO [fr.becpg.repo.admin.patch.PhysicoUnitPatch] [localhost-startStop-1] Importing physico chemical units 2018-02-27 21:46:27,817 ERROR [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] 01270018 java.lang.IllegalArgumentException: parentRef is a mandatory parameter --- 8< *snip* --- 2018-02-27 21:46:27,819 WARN [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Patch description is not available: Patch[ id=patch.bcpg.plm.physicoUnitPatch, description=patch.bcpg.plm.physicoUnitPatch.description, fixesFromSchema=0, fixesToSchema=10001, targetSchema=10170, ignored=false] --- 8< *snip* --- 2018-02-27 21:47:00,711 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: 01270019 Not all patches could be applied --- 8< *snip* --- 2018-02-27 21:47:00,995 WARN [org.springframework.web.context.support.XmlWebApplicationContext] [localhost-startStop-1] Exception thrown from ApplicationListener handling ContextClosedEvent java.lang.NullPointerException --- 8< *snip* ---
And, when I browse to beCPG->"Administration beCPG", I get this error:
An error has occured in the Share component: /share/service/components/console/becpg-admin. It responded with a status of 500 - Internal Error. Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request. Error Message: 01270001 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/components/custom-console/becpg-admin.get.js': 01270000 TypeError: Cannot call method "push" of null (file:/opt/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/custom-console/becpg-admin.get.js#30) Server: Alfresco Spring WebScripts - v6.15.0 schema 1,000 Time: 27-Feb-2018 21:48:07 Your request could not be processed at this time. Please contact your system administrator for further information.
There are a lot of solr.log ERRORs also:
--- 8< *snip* --- 2018-02-27 22:07:45,046 ERROR [org.alfresco.solr.tracker.AbstractTracker] Model tracking failed org.alfresco.error.AlfrescoRuntimeException: 01270405 GetModelsDiff return status is 404 --- 8< *snip* --- 2018-02-27 22:07:45,064 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed org.alfresco.error.AlfrescoRuntimeException: 01270406 GetModelsDiff return status is 404 --- 8< *snip* ---
Here are listings of the modules in my WARs.
For alfresco.war:
Module 'becpg-core' installed in '/opt/alfresco-community/tomcat/webapps/alfresco.war' - Title: beCPG Core - Version: 2.2.1 - Install Date: Tue Feb 27 21:43:45 AEDT 2018 - Description: BeCPG repository Module 'becpg-plm-core' installed in '/opt/alfresco-community/tomcat/webapps/alfresco.war' - Title: beCPG PLM core - Version: 2.2.1 - Install Date: Tue Feb 27 21:43:51 AEDT 2018 - Description: beCPG PLM Module 'becpg-project-core' installed in '/opt/alfresco-community/tomcat/webapps/alfresco.war' - Title: beCPG Project Core - Version: 2.2.1 - Install Date: Tue Feb 27 21:43:49 AEDT 2018 - Description: beCPG Project Module 'becpg-designer-core' installed in '/opt/alfresco-community/tomcat/webapps/alfresco.war' - Title: beCPG Designer core - Version: 2.2.1 - Install Date: Tue Feb 27 21:43:47 AEDT 2018 - Description: BeCPG designer Module 'org.alfresco.integrations.google.docs' installed in '/opt/alfresco-community/tomcat/webapps/alfresco.war' - Title: Alfresco / Google Docs Integration - Version: 3.0.4 - Install Date: Fri Feb 23 12:09:51 AEDT 2018 - Description: The Repository side artifacts of the Alfresco / Google Docs Integration. Module 'alfresco-aos-module' installed in '/opt/alfresco-community/tomcat/webapps/alfresco.war' - Title: Alfresco Office Services Module - Version: 1.1.6 - Install Date: Fri Feb 23 12:09:51 AEDT 2018 - Description: Allows applications that can talk to a SharePoint server to talk to your Alfresco installation Module 'alfresco-share-services' installed in '/opt/alfresco-community/tomcat/webapps/alfresco.war' - Title: Alfresco Share Services AMP - Version: 5.2.0 - Install Date: Fri Feb 23 12:09:50 AEDT 2018 - Description: Module to be applied to alfresco.war, containing APIs for Alfresco Share
And for share.war:
Module 'becpg-plm-share' installed in '/opt/alfresco-community/tomcat/webapps/share.war' - Title: beCPG PLM Share - Version: 2.2.1 - Install Date: Tue Feb 27 21:44:16 AEDT 2018 - Description: Alfresco share module for beCPG PLM Module 'becpg-project-share' installed in '/opt/alfresco-community/tomcat/webapps/share.war' - Title: beCPG Project Share - Version: 2.2.1 - Install Date: Tue Feb 27 21:44:11 AEDT 2018 - Description: Alfresco share module for beCPG project Module 'becpg-designer-share' installed in '/opt/alfresco-community/tomcat/webapps/share.war' - Title: beCPG Designer Share - Version: 2.2.1 - Install Date: Tue Feb 27 21:44:07 AEDT 2018 - Description: Alfresco share module for beCPG designer Module 'becpg-share' installed in '/opt/alfresco-community/tomcat/webapps/share.war' - Title: beCPG Vault Share - Version: 2.2.1 - Install Date: Tue Feb 27 21:44:04 AEDT 2018 - Description: Alfresco share module for beCPG Module 'org.alfresco.integrations.share.google.docs' installed in '/opt/alfresco-community/tomcat/webapps/share.war' - Title: Alfresco / Google Docs Share Module - Version: 3.0.4 - Install Date: Fri Feb 23 12:09:53 AEDT 2018 - Description: The Share side artifacts of the Alfresco / Google Docs Integration.
RE: Could not get project reports 'https://alfresco.my.domain/share/proxy/alfresco/becpg/report/exportsearch/templates/pjt:project'. - Ajouté par Tom Robinson il y a environ 6 ans
Hi Philippe,
Maybe this is it? I'm using Apache as a proxy for tomcat. Will that cause any issues?
Kind regards,
Tom
RE: Could not get project reports 'https://alfresco.my.domain/share/proxy/alfresco/becpg/report/exportsearch/templates/pjt:project'. - Ajouté par Tom Robinson il y a environ 6 ans
Hi Phillipe,
I've rolled back everything again and added just the project amps.
becpg-core-2.2.1.amp
becpg-project-core-2.2.1.amp
becpg-project-share-2.2.1.amp
becpg-share-2.2.1.amp
With only these installed I can access the beCPG Project Lists without error.
Not sure which of PLM or Designer is creating the issues.
Kind regards,
Tom