cancel
Showing results for 
Search instead for 
Did you mean: 

Webquickstart installation failed using AMP and WAR files

jiby_jose
Champ in-the-making
Champ in-the-making
I am trying to install webquick start using docker.
I have two docker files as if below.
dockerfile 1
FROM alfresco/alfresco-content-repository-community:6.1.1

COPY uploader-plus-repo-1.6.amp /usr/local/tomcat/amps/uploader-plus-repo-1.6.amp

COPY alfresco-community-wcmqs-3.4.b.amp /usr/local/tomcat/amps/alfresco-community-wcmqs-3.4.b.amp

RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \
/usr/local/tomcat/amps/uploader-plus-repo-1.6.amp \
/usr/local/tomcat/webapps/alfresco -nobackup -force

RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \
/usr/local/tomcat/amps/alfresco-community-wcmqs-3.4.b.amp \
/usr/local/tomcat/webapps/alfresco -nobackup -force
dockerfile 2
FROM alfresco/alfresco-share:6.0.c

COPY uploader-plus-surf-1.6.amp /usr/local/tomcat/amps_share/uploader-plus-surf-1.6.amp

COPY alfresco-community-wcmqs-share-3.4.b.amp /usr/local/tomcat/amps_share/alfresco-community-wcmqs-share-3.4.b.amp

RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \
/usr/local/tomcat/amps_share/uploader-plus-surf-1.6.amp \
/usr/local/tomcat/webapps/share -nobackup -force

RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \
/usr/local/tomcat/amps_share/alfresco-community-wcmqs-share-3.4.b.amp \
/usr/local/tomcat/webapps/share -nobackup -force
I manually copied the awe.war and wcmqs.war,
docker cp 'D:\Alfresco\editAndCopyToVM\awe.war' dockercompose_alfresco_1:/usr/local/tomcat/webapps
docker cp 'D:\Alfresco\editAndCopyToVM\wcmqs.war' dockercompose_alfresco_1:/usr/local/tomcat/webapps
When I started the Alfresco using docker-compose up I am getting error:
While deploying web application archive awe.war I am getting error:
Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/awe]]
The following is the error in my log.
0-Dec-2018 08:46:43.886 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called
20-Dec-2018 08:48:46.394 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
20-Dec-2018 08:48:46.510 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
20-Dec-2018 09:27:14.068 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContext
20-Dec-2018 09:28:55.947 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
20-Dec-2018 09:28:56.027 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [Alfresco Web Editor Filter]
java.lang.ExceptionInInitializerError
at org.alfresco.web.awe.filter.WebEditorFilter.<clinit>(WebEditorFilter.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:151)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4599)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5241)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:129)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:150)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:140)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:726)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "org.apache.commons.logging.LogFactory.HashtableImpl" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1294)
at java.lang.System.getProperty(System.java:717)
at org.apache.commons.logging.LogFactory.createFactoryStore(LogFactory.java:320)
at org.apache.commons.logging.LogFactory.<clinit>(LogFactory.java:1725)
Can somebody please help me to fix this.
4 REPLIES 4

jpotts
World-Class Innovator
World-Class Innovator

Web QuickStart is deprecated as of 6.0, is no longer being developed, and will be removed from a future version according to https://community.alfresco.com/community/ecm/blog/2018/01/03/architecture-changes-for-alfresco-conte... 

You can do so much better than WQS now.

jiby_jose
Champ in-the-making
Champ in-the-making

Thanks for the reply Jeff. It is also mentioned like this:

There are many ways to use the Alfresco Digital Business Platform to deliver content to the Web, and we would be happy to discuss your specific needs with you or point you to a partner.

So I would like to know with Alfresco Share what are the ways to deliver content to the web. Or is that ADF the possible solution?

jpotts
World-Class Innovator
World-Class Innovator

ADF is an option if you are trying to build a user interface that would benefit from the components that ship with ADF or you would like to use the alfresco.js client-side JavaScript library. Otherwise, you don't need the ADF.

Your custom web application can deliver content by:

  * Making calls to the Alfresco repository via the alfresco.js client-side JavaScript library that ships with ADF.

  * Making calls to the Alfresco REST API

  * Making calls to the Apache Chemistry API (probably via the JSON binding)

  * Making calls to your own custom Alfresco web scripts

Hope that helps.

jiby_jose
Champ in-the-making
Champ in-the-making

Thanks Jeff

Welcome to the new Hyland Connect. Get started or submit feedback.