07-01-2019 08:38 AM
Hi Everyone,
After installation of alfresco 6.1.2 with tomcat and postgres. Unable to access the share URL.
Please find the log below.
01-Jul-2019 08:29:18.766 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.34
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 4 2018 22:28:22 UTC
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.34.0
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-957.12.1.el7.x86_64
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_212-b04
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /opt/alfresco/apache-tomcat-8.5.34
01-Jul-2019 08:29:18.768 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /opt/alfresco/apache-tomcat-8.5.34
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/alfresco/tomcat/conf/logging.properties
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/alfresco/tomcat
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/alfresco/tomcat
01-Jul-2019 08:29:18.769 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/alfresco/tomcat/temp
01-Jul-2019 08:29:18.770 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
01-Jul-2019 08:29:18.866 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8880"]
01-Jul-2019 08:29:18.879 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
01-Jul-2019 08:29:18.890 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
01-Jul-2019 08:29:18.892 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
01-Jul-2019 08:29:18.892 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 503 ms
01-Jul-2019 08:29:18.915 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
01-Jul-2019 08:29:18.915 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.34
01-Jul-2019 08:29:18.944 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/ROOT.war]
01-Jul-2019 08:29:18.956 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'debug' to '100' did not find a matching property.
01-Jul-2019 08:29:19.285 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.
01-Jul-2019 08:29:19.330 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/ROOT.war] has finished in [385] ms
01-Jul-2019 08:29:19.332 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/share.war]
Jul 01, 2019 8:29:23 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: 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.
Jul 01, 2019 8:29:23 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jul 01, 2019 8:29:23 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
2019-07-01 08:29:28,082 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2019-07-01 08:29:28,086 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2019-07-01 08:29:28,086 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2019-07-01 08:29:28,087 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2019-07-01 08:29:29,598 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 392 Web Scripts (+0 failed), 410 URLs
2019-07-01 08:29:29,598 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed)
2019-07-01 08:29:29,598 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2019-07-01 08:29:29,668 INFO [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Surf Container Web Script Container (in 1580.6986ms)
2019-07-01 08:29:29,751 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2019-07-01 08:29:29,752 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
Jul 01, 2019 8:29:29 AM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
Jul 01, 2019 8:29:29 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
01-Jul-2019 08:29:29.967 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/share.war] has finished in [10,636] ms
01-Jul-2019 08:29:29.967 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/_vti_bin.war]
01-Jul-2019 08:29:30.061 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.
01-Jul-2019 08:29:30.063 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/_vti_bin.war] has finished in [96] ms
01-Jul-2019 08:29:30.064 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/alfresco.war]
Jul 01, 2019 8:29:39 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: 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.
Jul 01, 2019 8:29:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jul 01, 2019 8:29:39 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
2019-07-01 08:29:48,401 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes
2019-07-01 08:29:48,403 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes
2019-07-01 08:29:48,403 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db
2019-07-01 08:29:48,713 INFO [alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcostgresql://localhost:5432/alfresco' with user 'alfresco'.
2019-07-01 08:29:48,713 INFO [alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 9.2.24
2019-07-01 08:29:54,348 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2019-07-01 08:29:54,476 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2019-07-01 08:29:56,495 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor Repository Template Processor for extension ftl
2019-07-01 08:29:56,499 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor Repository Script Processor for extension js
2019-07-01 08:29:58,689 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2019-07-01 08:29:58,725 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted] complete
2019-07-01 08:29:58,765 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Connecting to database: jdbcostgresql://localhost:5432/alfresco, UserName=alfresco, PostgreSQL JDBC Driver
2019-07-01 08:29:58,765 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect org.alfresco.repo.domain.dialect.PostgreSQLDialect.
2019-07-01 08:29:58,800 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Applied patches detected: 226
2019-07-01 08:29:58,845 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Checking and patching Alfresco tables took 45 ms
2019-07-01 08:29:58,847 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Activiti tables need to be checked for patches
2019-07-01 08:29:58,883 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Checking and patching Activiti tables took 36 ms
2019-07-01 08:29:58,924 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Checking that all patches have been applied took 41 ms
2019-07-01 08:29:58,924 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Updating the DB schema took 157 ms
2019-07-01 08:29:58,925 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] No changes were made to the schema.
2019-07-01 08:29:59,895 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2019-07-01 08:30:00,214 ERROR [transform.pdfrenderer.AlfrescoPdfRendererContentTransformerWorker] [localhost-startStop-1] Remote Alfresco PDF Renderer is not available for transformations. 06010018 Remote Alfresco-PDF-Renderer check failed to connect or to read the response
2019-07-01 08:30:00,215 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2019-07-01 08:30:00,215 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default]
2019-07-01 08:30:00,275 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] complete
2019-07-01 08:30:00,280 INFO [repo.admin.ConfigurationChecker] [localhost-startStop-1] The root data directory ('dir.root') is: /opt/alfresco/alf_data
2019-07-01 08:30:00,302 INFO [admin.patch.PatchExecuter] [localhost-startStop-1] Checking for patches to apply ...
2019-07-01 08:30:00,615 INFO [admin.patch.PatchExecuter] [localhost-startStop-1] No patches were required.
2019-07-01 08:30:00,633 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Found 2 module package(s).
2019-07-01 08:30:00,713 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-share-services' version 6.1.0.
2019-07-01 08:30:00,753 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-trashcan-cleaner' version 2.3.
2019-07-01 08:30:00,772 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'fileServers' subsystem, ID: [fileServers, default]
2019-07-01 08:30:01,212 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
2019-07-01 08:30:01,213 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'imap' subsystem, ID: [imap, default]
2019-07-01 08:30:01,331 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'imap' subsystem, ID: [imap, default] complete
2019-07-01 08:30:01,331 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, outbound]
2019-07-01 08:30:01,654 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, outbound] complete
2019-07-01 08:30:01,654 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, inbound]
2019-07-01 08:30:01,739 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, inbound] complete
2019-07-01 08:30:01,739 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
2019-07-01 08:30:01,762 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
2019-07-01 08:30:01,794 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
2019-07-01 08:30:01,848 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2019-07-01 08:30:01,869 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
2019-07-01 08:30:01,943 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
2019-07-01 08:30:01,999 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco JVM - v1.8.0_212-b04; maximum heap size 1739.000MB
2019-07-01 08:30:01,999 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Server Mode :UNKNOWN
2019-07-01 08:30:02,003 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco Content Services started (Community). Current version: 6.1.2 (r4fe1d0d0-b205) schema 13,001. Originally installed version: 6.1.2 (r4fe1d0d0-b205) schema 13,001.
2019-07-01 08:30:02,012 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2019-07-01 08:30:02,340 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2019-07-01 08:30:02,340 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Replication' subsystem, ID: [Replication, default]
2019-07-01 08:30:02,360 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2019-07-01 08:30:03,470 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Messaging' subsystem, ID: [Messaging, default]
Please help me on this.
07-01-2019 09:25 AM
Are you able to access alfresco ? As per the log, both share and alfresco should be accessible at port 8880
Alfresco: http://localhost:8880/alfresco
Share: http://localhost:8880/share/page
If you are not able to access any of the above URLs can you please confirm if using docker ? if yes, can you share docker-compose.yml file ?
The log given does says that the share.war was deployed successfully.
1-Jul-2019 08:29:19.332 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/share.war]
.....
01-Jul-2019 08:29:29.967 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/alfresco/apache-tomcat-8.5.34/webapps/share.war] has finished in [10,636] ms
07-01-2019 09:45 AM
Not using the docker installed manually. I am unable to access both the urls.
07-01-2019 09:51 AM
Oh sad to hear that, you are not able to access the URLs. If its a local machine and you are trying to access the URLs from the same machine's browser then it should be accessible. Try 127.0.0.1 instead of localhost. Also check the host file to see if there is any mapping with localhost causing any issue.
07-01-2019 10:50 AM
Installed in VM. checked the ports are enabled and host entry also looks fine.
cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
IP hostname
Not sure where it went wrong. is there anything needs to be modified inside war??
07-01-2019 11:00 AM
Also not able to get the response from curl internally
07-01-2019 11:27 AM
Seems like the problem with network as far as i can think. Generally fixing the host file or any blocking firewall configuration should fix the issue.
Have you checked catalina.out log to see what you get when trying to access the share/alfresco ?
Try re-installing again or install to a different machine. Or try changing a port which you know that works already.
07-01-2019 11:55 PM
I tried reinstalling with a different machine with port 8080 but still, I am unable to access the URLs.
After accessing the URLs from browser it is not writing any log in Catalina.out
Explore our Alfresco products with the links below. Use labels to filter content by product module.