Alfresco Community 6.2.0-ga Installation Issue

cancel
Showing results for 
Search instead for 
Did you mean: 
logicallimit
Active Member II

Alfresco Community 6.2.0-ga Installation Issue

Hi,

To my surprise, the installation of this latest version of Alfresco 6 has been made a terribly difficult thing to be done. I am pretty sure it could have been much much simpler.

I am following the installation documentation but not able to install it in my Windows workstation.

Here is the environment

OS: Windows 7 Professional 64Bit

Alfresco file used: alfresco-content-services-community-distribution-6.2.0-ga.zip

Database: PostgreSQL 9.5

Java: jdk-11.0.6

Tomcat: tomcat-9.0.30

 

The error shown when I start tomcat is as below:

Spoiler
13-Mar-2020 15:47:02.068 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
13-Mar-2020 15:47:02.069 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat
/9.0.30]
13-Mar-2020 15:47:02.078 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [D:\P
rojects\alfresco\tomcat9030\conf\Catalina\localhost\alfresco.xml]
13-Mar-2020 15:47:02.127 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descript
or [D:\Projects\alfresco\tomcat9030\conf\Catalina\localhost\alfresco.xml]
java.lang.IllegalStateException: Error starting child
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1831)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.DirRes
ourceSet@12c7a01b]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.webresources.StandardRoot.initInternal(StandardRoot.java:692)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4800)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4935)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
... 37 more
Caused by: java.lang.IllegalArgumentException: The directory specified by base and internal path [D:\Projects\alfresco\tom
cat9030/../modules/platform]\[] does not exist.
at org.apache.catalina.webresources.DirResourceSet.checkType(DirResourceSet.java:257)
at org.apache.catalina.webresources.AbstractFileResourceSet.initInternal(AbstractFileResourceSet.java:206)
at org.apache.catalina.webresources.DirResourceSet.initInternal(DirResourceSet.java:265)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 44 more
13-Mar-2020 15:47:02.133 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [
D:\Projects\alfresco\tomcat9030\conf\Catalina\localhost\alfresco.xml] has finished in [56] ms
13-Mar-2020 15:47:02.133 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [D:\P
rojects\alfresco\tomcat9030\conf\Catalina\localhost\share.xml]
13-Mar-2020 15:47:02.140 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descript
or [D:\Projects\alfresco\tomcat9030\conf\Catalina\localhost\share.xml]
java.lang.IllegalStateException: Error starting child
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1831)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.DirRes
ourceSet@130dca52]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.webresources.StandardRoot.initInternal(StandardRoot.java:692)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4800)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4935)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
... 37 more
Caused by: java.lang.IllegalArgumentException: The directory specified by base and internal path [D:\Projects\alfresco\tom
cat9030/../modules/share]\[] does not exist.
at org.apache.catalina.webresources.DirResourceSet.checkType(DirResourceSet.java:257)
at org.apache.catalina.webresources.AbstractFileResourceSet.initInternal(AbstractFileResourceSet.java:206)
at org.apache.catalina.webresources.DirResourceSet.initInternal(DirResourceSet.java:265)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 44 more
13-Mar-2020 15:47:02.171 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [
D:\Projects\alfresco\tomcat9030\conf\Catalina\localhost\share.xml] has finished in [38] ms
13-Mar-2020 15:47:02.176 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [D:\Projec
ts\alfresco\tomcat9030\webapps\ROOT.war]
13-Mar-2020 15:47:02.179 WARNING [main] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Cont
ext} Setting property 'debug' to '100' did not find a matching property.
13-Mar-2020 15:47:02.613 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet conta
ined no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. S
kipping unneeded JARs during scanning can improve startup time and JSP compilation time.
13-Mar-2020 15:47:02.995 WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRando
m instance for session ID generation using [SHA1PRNG] took [356] milliseconds.
13-Mar-2020 15:47:03.011 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [D:\Pr
ojects\alfresco\tomcat9030\webapps\ROOT.war] has finished in [835] ms
13-Mar-2020 15:47:03.013 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [D:\Projec
ts\alfresco\tomcat9030\webapps\_vti_bin.war]
13-Mar-2020 15:47:03.235 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet conta
ined no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. S
kipping unneeded JARs during scanning can improve startup time and JSP compilation time.
13-Mar-2020 15:47:03.238 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [D:\Pr
ojects\alfresco\tomcat9030\webapps\_vti_bin.war] has finished in [225] ms
13-Mar-2020 15:47:03.243 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
13-Mar-2020 15:47:03.252 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
13-Mar-2020 15:47:03.256 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [1,240] milliseconds

Any idea what might be going wrong. Did I miss something?

6 Replies
angelborroy
Alfresco Employee

Re: Alfresco Community 6.2.0-ga Installation Issue

Try creating this folder:

The directory specified by base and internal path [D:\Projects\alfresco\tom
cat9030/../modules/platform]\[] does not exist.

Hyland Developer Evangelist
logicallimit
Active Member II

Re: Alfresco Community 6.2.0-ga Installation Issue

Thanks for the pointer.

I created the directories as below:

D:\Projects\alfresco\tomcat9030\modules\platform

D:\Projects\alfresco\tomcat9030\modules\share

 

Apart from this, there were some other issues also.

Just wanted to share so that, if anyone else facing similar problem in windows environment can get help from it.

1. The certificate generation with custom parameters command should carry double quotes only for Distinguished Name values only. Here is the command that I used to generate my certificates

 

run.cmd -alfrescoversion community -keysize 2048 -keystoretype JCEKS -truststoretype JCEKS -keystorepass Pass -truststorepass Alfresco -encstorepass Pass -encmetadatapass Pass -cacertdname "/C=IN/ST=Madhya Pradesh/L=Bhopal/O=My Company Name/OU=LLC/CN=Custom Alfresco CA" -repocertdname "/C=IN/ST=Madhya Pradesh/L=Maidenhead/O=My Company Name/OU=LLC/CN=Custom Alfresco Repository" -solrcertdname "/C=IN/ST=Madhya Pradesh/L=Maidenhead/O=My Company Name/OU=LLC/CN=Custom Alfresco Repository Client Solr" -browsercertdname "/C=IN/ST=Madhya Pradesh/L=Maidenhead/O=My Company Name/OU=LLC/CN=Custom Browser Client"

 

2. This password is also needed to be set in the file server.xml of tomcat at

 

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
    SSLEnabled="true" maxThreads="150" scheme="https"
    keystoreFile="D:\Projects\alfresco\alf_data\keystore\ssl.keystore"
    keystorePass="Pass" keystoreType="JCEKS"
    secure="true" connectionTimeout="240000"
    truststoreFile="D:\Projects\alfresco\alf_data\keystore\ssl.truststore"
    truststorePass="Pass" truststoreType="JCEKS"
    clientAuth="false" sslProtocol="TLS" />

Also, note that in above server.xml code, I have set ->

 

protocol="org.apache.coyote.http11.Http11NioProtocol"

Using any other value as mentioned in Alfresco install document, gives some sort of protocol error.

3. I have also added attribute -> maxHttpHeaderSize="32768"

to the server.xml file

 

<Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
		maxHttpHeaderSize="32768"
               redirectPort="8443" />

4. Apart from that, my alfresco-global.properties file carries following values. Note the double slashes I have used in all windows path. Also, folder name in any path MUST not have any spaces or dots. Use camel case or underscore or dash only.

 

# Set this property unless you have explicitly chosen to expose some repository APIs without authentication
solr.secureComms=https

#
# Custom content and index data location
#
#dir.root=/srv/alfresco/alf_data
dir.root=D:\\Projects\\alfresco\\alf_data
dir.keystore=${dir.root}\\keystore

# ssl encryption
encryption.ssl.keystore.location=${dir.keystore}\\ssl.keystore
encryption.ssl.keystore.type=JCEKS
encryption.ssl.keystore.keyMetaData.location=${dir.keystore}\\ssl-keystore-passwords.properties
encryption.ssl.truststore.location=${dir.keystore}\\ssl.truststore
encryption.ssl.truststore.type=JCEKS
encryption.ssl.truststore.keyMetaData.location=${dir.keystore}\\ssl-truststore-passwords.properties

# secret key keystore configuration
encryption.keystore.location=${dir.keystore}\\keystore
encryption.keystore.keyMetaData.location=${dir.keystore}\\keystore-passwords.properties
encryption.keystore.type=JCEKS



#
# Sample database connection properties
#
db.username=postgres
db.password=password

#
# Choose DB connection properties for your database, e.g. for PostgreSQL
#
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/alfresco

#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#-------------
alfresco.context=alfresco
alfresco.host=${localname}
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=${localname}
share.port=8080
share.protocol=http


# encryption
solr.host=localhost
solr.secureComms=https
solr.port=8983
solr.port.ssl=8984

alfresco-pdf-renderer.root=D:\\Projects\\alfresco\\alfresco-pdf-renderer-1_1-win64
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}\\alfresco-pdf-renderer
alfresco-pdf-renderer.url=http://localhost:8090/

messaging.broker.url=failover:(tcp://localhost:8161)?timeout=3000

5. Active MQ,  ImageMagick to be installed as mentioned in alfresco documentation. Use folder names with only underscore or dash only.

 

 

EddieMay
Alfresco Employee

Re: Alfresco Community 6.2.0-ga Installation Issue

Hi @logicallimit,

Great to see you've now got Community installed. Also, many thanks for posting advice re: Windows mods - really helpful to other users.

All the best,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Bilal_MB
Member II

Re: Alfresco Community 6.2.0-ga Installation Issue

Hi @angelborroy

I have the same issue, i am using my mac for the setup. 

I have created the folder directory which you have mentioned but even after creating the folders. 

I am still facing the same issue, 

Any Solutions? 

09-Sep-2020 16:24:17.427 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
09-Sep-2020 16:24:17.428 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
09-Sep-2020 16:24:17.438 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
09-Sep-2020 16:24:17.449 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
09-Sep-2020 16:24:17.451 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
09-Sep-2020 16:24:19.600 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/8.5.57
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jun 30 2020 21:49:10 UTC
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.57.0
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Mac OS X
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.14.6
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          x86_64
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_222-b10
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            AdoptOpenJDK
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /Users/mbyousaf/Desktop/Tomcat
09-Sep-2020 16:24:19.602 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /Users/mbyousaf/Desktop/Tomcat
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/Users/mbyousaf/Desktop/Tomcat/conf/logging.properties
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/Users/mbyousaf/Desktop/Tomcat
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/Users/mbyousaf/Desktop/Tomcat
09-Sep-2020 16:24:19.603 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/Users/mbyousaf/Desktop/Tomcat/temp
09-Sep-2020 16:24:19.605 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/Users/mbyousaf/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
09-Sep-2020 16:24:19.667 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
09-Sep-2020 16:24:19.679 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
09-Sep-2020 16:24:19.687 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 350 ms
09-Sep-2020 16:24:19.703 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
09-Sep-2020 16:24:19.704 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.57
09-Sep-2020 16:24:19.710 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/Users/mbyousaf/Desktop/Tomcat/conf/Catalina/localhost/alfresco.xml]
09-Sep-2020 16:24:19.744 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
	org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.DirResourceSet@401b4279]
		at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
		at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
		at org.apache.catalina.webresources.StandardRoot.initInternal(StandardRoot.java:690)
		at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
		at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4803)
		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4939)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
		at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:614)
		at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1822)
		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.lang.IllegalArgumentException: The directory specified by base and internal path [/Users/mbyousaf/Desktop/Tomcat/../modules/platform]/[] does not exist.
		at org.apache.catalina.webresources.DirResourceSet.checkType(DirResourceSet.java:257)
		at org.apache.catalina.webresources.AbstractFileResourceSet.initInternal(AbstractFileResourceSet.java:206)
		at org.apache.catalina.webresources.DirResourceSet.initInternal(DirResourceSet.java:265)
		at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
		... 16 more
09-Sep-2020 16:24:19.744 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/Users/mbyousaf/Desktop/Tomcat/conf/Catalina/localhost/alfresco.xml]
	java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.DirResourceSet@401b4279]
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747)
		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
		at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:614)
		at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1822)
		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)
09-Sep-2020 16:24:19.745 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/Users/mbyousaf/Desktop/Tomcat/conf/Catalina/localhost/alfresco.xml] has finished in [35] ms
09-Sep-2020 16:24:19.746 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/Users/mbyousaf/Desktop/Tomcat/conf/Catalina/localhost/share.xml]
09-Sep-2020 16:24:19.749 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
	org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.DirResourceSet@3d37cf9a]
		at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
		at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
		at org.apache.catalina.webresources.StandardRoot.initInternal(StandardRoot.java:690)
		at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
		at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4803)
		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4939)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
		at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:614)
		at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1822)
		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.lang.IllegalArgumentException: The directory specified by base and internal path [/Users/mbyousaf/Desktop/Tomcat/../modules/share]/[] does not exist.
		at org.apache.catalina.webresources.DirResourceSet.checkType(DirResourceSet.java:257)
		at org.apache.catalina.webresources.AbstractFileResourceSet.initInternal(AbstractFileResourceSet.java:206)
		at org.apache.catalina.webresources.DirResourceSet.initInternal(DirResourceSet.java:265)
		at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
		... 16 more
09-Sep-2020 16:24:19.749 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/Users/mbyousaf/Desktop/Tomcat/conf/Catalina/localhost/share.xml]
	java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.DirResourceSet@3d37cf9a]
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747)
		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
		at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:614)
		at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1822)
		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)
09-Sep-2020 16:24:19.750 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/Users/mbyousaf/Desktop/Tomcat/conf/Catalina/localhost/share.xml] has finished in [4] ms
09-Sep-2020 16:24:19.752 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/Users/mbyousaf/Desktop/Tomcat/webapps/ROOT.war]
09-Sep-2020 16:24:19.754 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'debug' to '100' did not find a matching property.
09-Sep-2020 16:24:19.958 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
09-Sep-2020 16:24:20.037 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/Users/mbyousaf/Desktop/Tomcat/webapps/ROOT.war] has finished in [285] ms
09-Sep-2020 16:24:20.038 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/Users/mbyousaf/Desktop/Tomcat/webapps/_vti_bin.war]
09-Sep-2020 16:24:20.182 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
09-Sep-2020 16:24:20.184 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/Users/mbyousaf/Desktop/Tomcat/webapps/_vti_bin.war] has finished in [146] ms
09-Sep-2020 16:24:20.186 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
09-Sep-2020 16:24:20.191 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 503 ms

folder directoryfolder directoryshare and alfresco.xmlshare and alfresco.xml 

 

kaynezhang
Advanced

Re: Alfresco Community 6.2.0-ga Installation Issue

Dose the user you are using to run tomcat have permission to read folder platform and share?

Bilal_MB
Member II

Re: Alfresco Community 6.2.0-ga Installation Issue

Hi, 

Yes the user that i am using folder does have the permission to read folders platform and shareScreenshot 2020-09-09 at 17.01.47.png