Forums » beCPG Designer » Installation »
Installation Issues
Ajouté par Lee Standing il y a presque 12 ans
Hi,
I am having problems getting your add in installed. I am new to Alfresco so apologise if I am missing something obvious. I would be very grateful for any help you can provide me with. Below is the set of steps we have run and the outcome.....
shut everything down:
ps -ef | grep tomcat
/opt/alfresco-4.0.d/tomcat-share/bin/shutdown.sh
/opt/alfresco-4.0.d/tomcat/bin/shutdown.sh
ps -ef | grep tomcat
found it was still running (even after log file suggested it had finished) so killed it:
sudo kill 1539
sudo kill 3922
ran the four lines, filling in $ALF, $BECPG_VERSION, and $SERVER (none of these env variables were set):
sudo java -jar /opt/alfresco-4.0.d/bin/alfresco-mmt.jar install becpg-controls-core-0.1.4.amp /opt/alfresco-4.0.d/tomcat/webapps/alfresco.war -force
sudo java -jar /opt/alfresco-4.0.d/bin/alfresco-mmt.jar install becpg-controls-share-0.1.4.amp /opt/alfresco-4.0.d/tomcat-share/webapps/share.war -force
sudo java -jar /opt/alfresco-4.0.d/bin/alfresco-mmt.jar install becpg-designer-core-0.1.4.amp /opt/alfresco-4.0.d/tomcat/webapps/alfresco.war -force
sudo java -jar /opt/alfresco-4.0.d/bin/alfresco-mmt.jar install becpg-designer-share-0.1.4.amp /opt/alfresco-4.0.d/tomcat-share/webapps/share.war -force
start it up again:
/opt/alfresco-4.0.d/tomcat-share/bin/startup.sh
/opt/alfresco-4.0.d/tomcat/bin/startup.sh
opened the modeller:
http://localhost:8081/share/page/model-designer
result: error page: "System Error": "A server error has occured..."
tried:
logged in as admin, clicked 'More..' button to show 'Admin Tools'
result: Model Designer was not listed.
tried:
appending stuff under share-config-custom.xml as described here:
https://becpg.fr/redmine/projects/designer/wiki/Designer
result: no difference.
Réponses (12)
RE: Installation Issues - Ajouté par Matthieu Laborie il y a presque 12 ans
RE: Installation Issues - Ajouté par Mahesh Viswam il y a presque 12 ans
I also had the same issue.
The following is the part from the log when I tried to access the model-designer.
Jun 13, 2012 1:08:41 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Spring Surf Dispatcher Servlet threw exception
javax.servlet.ServletException: Could not resolve view with name 'model-designer' in servlet with name 'Spring Surf Dispatcher Servlet'
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:301)
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: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)
RE: Installation Issues - Ajouté par Matthieu Laborie il y a presque 12 ans
Is it in the last 0.1.4.c version ?
RE: Installation Issues - Ajouté par Mahesh Viswam il y a presque 12 ans
yes.
below is our version.
Module 'becpg-controls-core' installed in '/opt/alfresco-3.4.e/tomcat/webapps/alfresco.war'
- Title: beCPG Controls core
- Version: 1.4.0
- Install Date: Tue Jun 12 18:07:11 GST 2012
- Desription: beCPG Controls
RE: Installation Issues - Ajouté par Matthieu Laborie il y a presque 12 ans
Designer 0.1.4.c is designed to run under alfresco 4.0.d not 3.4.
For 3.4 you should use 0.1.3 designer files which are not maintains.
If you need support on this version please susbcribe to enterprise version.
Regards Matthieu
RE: Installation Issues - Ajouté par Mahesh Viswam il y a presque 12 ans
thx. for the information.
Ok we will try on ver. 4.0
RE: Installation Issues - Ajouté par Mahesh Viswam il y a presque 12 ans
I tried again with Alfresco 4.0 d with beCPG module 0.1.4c version.
however I am not able to access the model-designer page.
RE: Installation Issues - Ajouté par Matthieu Laborie il y a presque 12 ans
Can you be more precise! Logs, errors, step to reproduce.
RE: Installation Issues - Ajouté par Mahesh Viswam il y a presque 12 ans
I have installed the module and tried to access the model-designer page http://localhost:8080/share/page/model-designer. Then I got an error page which is attached here.
The error logs read as follows,
16:17:04,814 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
16:17:04,815 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
16:17:04,815 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
16:17:12,757 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
16:17:12,757 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
16:17:12,758 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
16:17:42,738 ERROR [org.alfresco.web.site] javax.servlet.ServletException: Could not resolve view with name 'mode-designer' in servlet with name 'Spring Surf Dispatcher Servlet'
16:17:49,951 ERROR [org.alfresco.web.site] javax.servlet.ServletException: Could not resolve view with name 'model-designer' in servlet with name 'Spring Surf Dispatcher Servlet'
16:17:56,067 ERROR [org.alfresco.web.site] javax.servlet.ServletException: Could not resolve view with name 'model-designer' in servlet with name 'Spring Surf Dispatcher Servlet'
16:18:33,712 ERROR [org.alfresco.web.site] javax.servlet.ServletException: Could not resolve view with name 'model-designer/' in servlet with name 'Spring Surf Dispatcher Servlet'
16:18:55,011 INFO [org.alfresco.web.scripts.DictionaryQuery] Successfully retrieved dictionary information from Alfresco.
16:20:16,779 ERROR [org.alfresco.web.site] javax.servlet.ServletException: Could not resolve view with name 'model-designer' in servlet with name 'Spring Surf Dispatcher Servlet'
16:22:37,995 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
16:22:37,996 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
16:22:37,996 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
16:28:14,486 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Replication' subsystem, ID: [Replication, default]
16:28:14,553 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Replication' subsystem, ID: [Replication, default]
16:28:14,592 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Subscriptions' subsystem, ID: [Subscriptions, default]
16:28:14,592 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Subscriptions' subsystem, ID: [Subscriptions, default]
16:28:14,592 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'googledocs' subsystem, ID: [googledocs, default]
16:28:14,592 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'googledocs' subsystem, ID: [googledocs, default]
16:28:14,592 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'email' subsystem, ID: [email, inbound]
16:28:14,592 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'email' subsystem, ID: [email, inbound]
16:28:14,599 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'fileServers' subsystem, ID: [fileServers, default]
16:28:15,231 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'fileServers' subsystem, ID: [fileServers, default]
16:28:15,236 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
16:28:15,236 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
16:28:15,246 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'OOoDirect' subsystem, ID: [OOoDirect, default]
16:28:15,250 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'OOoDirect' subsystem, ID: [OOoDirect, default]
16:28:15,260 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Synchronization' subsystem, ID: [Synchronization, default]
16:28:15,295 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Synchronization' subsystem, ID: [Synchronization, default]
16:28:15,297 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'email' subsystem, ID: [email, outbound]
16:28:15,297 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'email' subsystem, ID: [email, outbound]
16:28:15,300 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'imap' subsystem, ID: [imap, default]
16:28:15,301 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'imap' subsystem, ID: [imap, default]
16:28:15,808 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Search' subsystem, ID: [Search, managed, solr]
16:28:15,808 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Search' subsystem, ID: [Search, managed, solr]
16:28:15,823 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'thirdparty' subsystem, ID: [thirdparty, default]
16:28:15,823 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'thirdparty' subsystem, ID: [thirdparty, default]
16:28:15,829 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
16:28:15,835 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
16:28:15,839 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
16:28:15,840 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
appreciate any help to resolve this issue.
error page.png (89 ko) error page.png |
RE: Installation Issues - Ajouté par Matthieu Laborie il y a presque 12 ans
Have you follow wiki https://becpg.fr/redmine/projects/designer/wiki/Designer
And this parts in particular :
you must go to http://localhost:8080/share/service/modules/deploy to deploy becpg-controls-extension or append :
<config evaluator="string-compare" condition="WebFramework" >
<web-framework>
<module-deployment>
<mode>manual</mode>
<enable-auto-deploy-modules>true</enable-auto-deploy-modules>
</module-deployment>
</web-framework>
</config>
under share-config-custom.xml
RE: Installation Issues - Ajouté par Mahesh Viswam il y a presque 12 ans
Yes we append the above details to /tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml.
Alternatively we found the attached page when visited http://localhost:8080/share/service/modules/deploy
What I could be missing out here...
deploy page.png (65,1 ko) deploy page.png |
RE: Installation Issues - Ajouté par Matthieu Laborie il y a presque 12 ans
It's seems that you didn't deploy amps into your install. You should see at startup:
Starting module 'becpg-controls-core' version 1.4.0
Starting module 'becpg-designer-core' version 1.4.0.
Regards