cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to login because of Solr problem

lantonov
Champ on-the-rise
Champ on-the-rise

After starting the server I get the following error on the console:

INFO: Starting ProtocolHandler ["ajp-apr-8009"]
I 11, 2017 9:46:02 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 324400 ms
2017-01-11 09:46:03,044 ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr
.AlfrescoCoreAdminHandler@117b372_Worker-1] Model tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00110000 GetModelsDiff return stat
us is 403
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.ja
va:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.j
ava:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:
214)
at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTrac
ker.java:236)
at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(CoreWatcherJ
ob.java:145)
at org.alfresco.solr.tracker.CoreWatcherJob.execute(CoreWatcherJob.java:
82)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:563)
2017-01-11 09:46:03,294 ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr
.AlfrescoCoreAdminHandler@117b372_Worker-1] Model tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00110002 GetModelsDiff return stat
us is 403
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.ja
va:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.j
ava:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:
214)
at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTrac
ker.java:236)
at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(CoreWatcherJ
ob.java:145)
at org.alfresco.solr.tracker.CoreWatcherJob.execute(CoreWatcherJob.java:
82)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:563)
2017-01-11 09:46:03,294 ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr
.AlfrescoCoreAdminHandler@117b372_Worker-2] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00110001 GetModelsDiff return stat
us is 403
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.ja
va:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.j
ava:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:
214)
at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:174)

at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:
190)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:563)
2017-01-11 09:46:15,122 ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr
.AlfrescoCoreAdminHandler@117b372_Worker-3] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00110003 GetModelsDiff return stat
us is 403
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.ja
va:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.j
ava:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:
214)
at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:174)

at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:
190)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:563)

The alfresco.log entry is:

2017-01-11 09:42:33,811 INFO [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbc:mysql://localhost:3306/alfresco?useUnicode=yes&characterEncoding=UTF-8' with user 'alfresco'.
2017-01-11 09:42:33,962 INFO [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database MySQL version 5.6.20
2017-01-11 09:42:45,207 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes
2017-01-11 09:42:45,209 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes
2017-01-11 09:42:45,211 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db
2017-01-11 09:42:59,237 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2017-01-11 09:42:59,673 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2017-01-11 09:43:05,068 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor Repository Template Processor for extension ftl
2017-01-11 09:43:05,075 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor Repository Script Processor for extension js
2017-01-11 09:43:11,130 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2017-01-11 09:43:11,253 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted] complete
2017-01-11 09:43:11,396 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Connecting to database: jdbc:mysql://localhost:3306/alfresco?useUnicode=yes&characterEncoding=UTF-8, UserName=alfresco@localhost, MySQL-AB JDBC Driver
2017-01-11 09:43:11,401 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
2017-01-11 09:43:11,424 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Bypassing schema update checks.
2017-01-11 09:43:13,047 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2017-01-11 09:43:13,225 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] [localhost-startStop-1] ImageMagickContentTransformerWorker not available: 00110016 Failed to perform ImageMagick transformation:
Execution result:
os: Windows 8.1
command: ./ImageMagick/bin/convert D:\alfresco-community-distribution-201612\tomcat\temp\Alfresco\ImageMagickContentTransformerWorker_init_source_8854536912764883707.gif -strip D:\alfresco-community-distribution-201612\tomcat\temp\Alfresco\ImageMagickContentTransformerWorker_init_target_2171178244083419424.png
succeeded: false
exit code: 1
out:
err: Cannot run program "./ImageMagick/bin/convert": CreateProcess error=2, The system cannot find the file specified
2017-01-11 09:43:13,233 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2017-01-11 09:43:13,235 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2017-01-11 09:43:13,436 WARN [org.alfresco.util.AbstractTriggerBean] [localhost-startStop-1] Job openOfficeConnectionTesterTrigger is not enabled
2017-01-11 09:43:13,839 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2017-01-11 09:43:13,847 INFO [org.alfresco.repo.admin.ConfigurationChecker] [localhost-startStop-1] The Alfresco root data directory ('dir.root') is: D:\alfresco-community-distribution-201612\alf_data
2017-01-11 09:43:13,850 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Search' subsystem, ID: [Search, managed, solr4]
2017-01-11 09:43:14,441 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Search' subsystem, ID: [Search, managed, solr4] complete
2017-01-11 09:43:14,520 INFO [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Checking for patches to apply ...
2017-01-11 09:43:15,462 INFO [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] No patches were required.
2017-01-11 09:43:15,512 INFO [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Found 1 module package(s).
2017-01-11 09:43:15,566 INFO [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-trashcan-cleaner' version 2.2.
2017-01-11 09:43:15,592 WARN [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] A previously-installed module 'alfresco-aos-module' (version 1.1.4) is not present in your distribution.
2017-01-11 09:43:15,609 WARN [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] A previously-installed module 'org.alfresco.integrations.google.docs' (version 3.0.3) is not present in your distribution.
2017-01-11 09:43:15,626 WARN [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] A previously-installed module 'alfresco-share-services' (version 5.2.0) is not present in your distribution.
2017-01-11 09:43:15,630 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'fileServers' subsystem, ID: [fileServers, default]
2017-01-11 09:43:16,468 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2017-01-11 09:43:16,535 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
2017-01-11 09:43:16,618 ERROR [org.alfresco.fileserver] [localhost-startStop-1] java.lang.UnsatisfiedLinkError: no Win32NetBIOS in java.library.path
2017-01-11 09:43:16,620 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at java.lang.ClassLoader.loadLibrary(Unknown Source)
2017-01-11 09:43:16,622 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at java.lang.Runtime.loadLibrary0(Unknown Source)
2017-01-11 09:43:16,625 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at java.lang.System.loadLibrary(Unknown Source)
2017-01-11 09:43:16,626 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.jlan.netbios.win32.Win32NetBIOS.<clinit>(Win32NetBIOS.java:834)
2017-01-11 09:43:16,628 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.filesys.AbstractServerConfigurationBean.getLocalServerName(AbstractServerConfigurationBean.java:637)
2017-01-11 09:43:16,630 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.filesys.AbstractServerConfigurationBean.getLocalServerName(AbstractServerConfigurationBean.java:597)
2017-01-11 09:43:16,631 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.filesys.config.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:280)
2017-01-11 09:43:16,633 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.filesys.AbstractServerConfigurationBean.init(AbstractServerConfigurationBean.java:460)
2017-01-11 09:43:16,635 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(AbstractServerConfigurationBean.java:790)
2017-01-11 09:43:16,638 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
2017-01-11 09:43:16,640 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext.publishEvent(ChildApplicationContextFactory.java:569)
2017-01-11 09:43:16,643 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:954)
2017-01-11 09:43:16,644 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
2017-01-11 09:43:16,646 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:824)
2017-01-11 09:43:16,648 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:1098)
2017-01-11 09:43:16,650 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:637)
2017-01-11 09:43:16,653 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:214)
2017-01-11 09:43:16,655 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:185)
2017-01-11 09:43:16,658 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
2017-01-11 09:43:16,660 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:954)
2017-01-11 09:43:16,662 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
2017-01-11 09:43:16,664 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
2017-01-11 09:43:16,666 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
2017-01-11 09:43:16,668 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
2017-01-11 09:43:16,670 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
2017-01-11 09:43:16,674 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)
2017-01-11 09:43:16,676 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
2017-01-11 09:43:16,678 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
2017-01-11 09:43:16,679 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
2017-01-11 09:43:16,681 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
2017-01-11 09:43:16,683 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
2017-01-11 09:43:16,685 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
2017-01-11 09:43:16,688 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862)
2017-01-11 09:43:16,691 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
2017-01-11 09:43:16,692 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at java.util.concurrent.FutureTask.run(Unknown Source)
2017-01-11 09:43:16,694 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2017-01-11 09:43:16,695 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2017-01-11 09:43:16,697 ERROR [org.alfresco.fileserver] [localhost-startStop-1] at java.lang.Thread.run(Unknown Source)
2017-01-11 09:43:16,721 ERROR [org.alfresco.fileserver] [localhost-startStop-1] Error accessing Win32 NetBIOS, check DLL is on the path
2017-01-11 09:43:16,723 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
2017-01-11 09:43:16,725 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'imap' subsystem, ID: [imap, default]
2017-01-11 09:43:16,963 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'imap' subsystem, ID: [imap, default] complete
2017-01-11 09:43:16,964 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, outbound]
2017-01-11 09:43:17,937 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, outbound] complete
2017-01-11 09:43:17,939 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, inbound]
2017-01-11 09:43:18,104 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, inbound] complete
2017-01-11 09:43:38,228 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
2017-01-11 09:43:38,292 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
2017-01-11 09:43:38,392 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
2017-01-11 09:43:38,752 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
2017-01-11 09:43:38,815 INFO [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco JVM - v1.8.0_31-b13; maximum heap size 989,875MB
2017-01-11 09:43:38,817 INFO [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Server Mode :TEST
2017-01-11 09:43:38,826 INFO [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco started (Community). Current version: 5.2.0 (r133656-b12) schema 10 005. Originally installed version: 5.2.0 (r133656-b12) schema 10 005.
2017-01-11 09:43:38,841 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2017-01-11 09:43:39,347 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2017-01-11 09:43:39,350 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Replication' subsystem, ID: [Replication, default]
2017-01-11 09:43:39,411 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2017-01-11 09:43:48,389 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 321 Web Scripts (+0 failed), 422 URLs
2017-01-11 09:43:48,393 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed)
2017-01-11 09:43:48,395 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)
2017-01-11 09:43:51,665 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 321 Web Scripts (+0 failed), 422 URLs
2017-01-11 09:43:51,667 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 1 Package Description Documents (+0 failed)
2017-01-11 09:43:51,669 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2017-01-11 09:43:51,684 INFO [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Repository Web Script Container (in 9613.478ms)
2017-01-11 09:43:51,796 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2017-01-11 09:43:51,803 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2017-01-11 09:43:54,674 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 321 Web Scripts (+0 failed), 422 URLs
2017-01-11 09:43:54,676 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed)
2017-01-11 09:43:54,678 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)
2017-01-11 09:43:54,900 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 13 Web Scripts (+0 failed), 102 URLs
2017-01-11 09:43:54,902 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed)
2017-01-11 09:43:54,903 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)
2017-01-11 09:43:55,116 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 13 Web Scripts (+0 failed), 102 URLs
2017-01-11 09:43:55,118 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Package Description Documents (+0 failed)
2017-01-11 09:43:55,119 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2017-01-11 09:43:55,134 INFO [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Public Api Web Script Container (in 3150.8726ms)
2017-01-11 09:43:55,270 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 13 Web Scripts (+0 failed), 102 URLs
2017-01-11 09:43:55,273 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed)
2017-01-11 09:43:55,274 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)

The solr.log entry is:

2017-01-11 09:45:56,450 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2017-01-11 09:45:56,450 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2017-01-11 09:45:57,418 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loading suggester index for: shingleBasedSuggestions
2017-01-11 09:45:58,559 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loaded suggester shingleBasedSuggestions, took 1139 ms
2017-01-11 09:46:03,044 ERROR [org.alfresco.solr.tracker.AbstractTracker] Model tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00110000 GetModelsDiff return status is 403
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214)
at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:236)
at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(CoreWatcherJob.java:145)
at org.alfresco.solr.tracker.CoreWatcherJob.execute(CoreWatcherJob.java:82)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2017-01-11 09:46:03,294 ERROR [org.alfresco.solr.tracker.AbstractTracker] Model tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00110002 GetModelsDiff return status is 403
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214)
at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:236)
at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(CoreWatcherJob.java:145)
at org.alfresco.solr.tracker.CoreWatcherJob.execute(CoreWatcherJob.java:82)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2017-01-11 09:46:03,294 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00110001 GetModelsDiff return status is 403
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214)
at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:174)
at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:190)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

The share.log entry looks normal

2017-01-11 09:44:46,662 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2017-01-11 09:44:46,716 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2017-01-11 09:44:46,719 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2017-01-11 09:44:46,722 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2017-01-11 09:44:59,024 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 392 Web Scripts (+0 failed), 410 URLs
2017-01-11 09:44:59,026 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed)
2017-01-11 09:44:59,027 INFO [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2017-01-11 09:44:59,152 INFO [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Surf Container Web Script Container (in 12370.993ms)
2017-01-11 09:44:59,157 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2017-01-11 09:44:59,160 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js

I understand that this is something about the Solr model but deleting various Solr files and directories doesn't help and most often leads to "invalid keystore" error. I am using Solr4 from the Alfresco Community Distribution 201612 GA and this error prevents appearance of the Share login screen (SSL error).

1 ACCEPTED ANSWER

lantonov
Champ on-the-rise
Champ on-the-rise

Thanks for the tip about the server.xml file. With the above file but setting secure="false" I was able to log in a prompt which was entitled Alfresco Community (not Alfresco Share) on http://localhost:8080/share with username admin and password admin. Above the dashboard there was a warning: "Alfresco is running without Share Services. See your System Administrator for more details." but otherwise the menus were functional and I was able to change my password

I will close this question and open a new question for this new problem.

View answer in original post

9 REPLIES 9

afaust
Legendary Innovator
Legendary Innovator

SOLR issues never prevent users from logging in. All login operations use the database for lookups.

In any way: Your SOLR setup looks like it has an error / misconfiguration somewhere related to the SSL communication between SOLR and the Repository. It might be that the SOLR client-certificate is not accepted by the Repository-tier either for failure to validate its chain or because there is no corresponding user entry in the tomcat-users.xml file.

Usually such an issue only occurs when you manually set up Alfresco (not using the installer) or have replaced/regenerated any of the default certificates.

lantonov
Champ on-the-rise
Champ on-the-rise

Usually such an issue only occurs when you manually set up Alfresco (not using the installer) or have replaced/regenerated any of the default certificates.

In my case it is both manual set up of Alfresco and replaced/regenerated certificates. This Solr issue prevents me from logging in because on http://localhost:8080/share or  http://localhost:8080/alfresco instead of login screen I get a screen with error message: 

This site can’t provide a secure connection

localhost sent an invalid response.

ERR_SSL_PROTOCOL_ERROR
I regenerated the keys according to the instructions in alf_data/keystore/CreateSSLKeystores.txt because with the default keystore folder from the zip file I got the error "invalid keystore".
My tomcat-users.xml file is
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="repoclient"/>
<role rolename="repository"/>
<user username="CN=Alfresco Repository, OU=Unknown, O=Alfresco Software Ltd., L=Maidenhead, ST=UK, C=GB" password="null" roles="repository"/>
<user username="CN=Alfresco Repository Client, OU=Unknown, O=Alfresco Software Ltd., L=Maidenhead, ST=UK, C=GB" password="null" roles="repoclient"/>
</tomcat-users>
The usernames in this file and their roles are the same which I used for key generation. I couldn't find a default certificate (.crt file) in the zip archive.

afaust
Legendary Innovator
Legendary Innovator

Again, this error is not SOLR related, although the configuration may have been corrupted when you were preparing the SOLR integration. What is your port 8080 connector configured like in server.xml? Since you are trying to access a simple HTTP URL there should not be any SSL handling between the browser and the Share/Repository URLs that may prevent the login page from showing, so I assume there is something weird configured in the connector section.

The reason you didn't find any *.crt file is due to the fact that all certificates are contained in *.keystore and *.truststore files, which are Java keystores. Very few (if any) Java programs work with *.crt files directly...

lantonov
Champ on-the-rise
Champ on-the-rise

Below is my server.xml file. The sections that are commented out have been used at one time or another without success.

<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->

<Server port="8005" shutdown="SHUTDOWN">
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />

<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml"
readonly="false"/>
</GlobalNamingResources>

<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">

<!--The connectors can use a shared executor, you can define one or more named thread pools-->

<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="2" minSpareThreads="1"/>

<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->

<Connector port="8080" protocol="HTTP/1.1"
URIEncoding="UTF-8"
connectionTimeout="20000"
scheme="http"
secure="true"
redirectPort="8443"
maxHttpHeaderSize="32768"/>

<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the BIO implementation that requires the JSSE
style configuration. When using the APR/native implementation, the
OpenSSL style configuration is required as described in the APR/native
documentation -->

<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
SSLEnabled="true" maxThreads="150" scheme="https"
keystoreFile="D:\alfresco-community-distribution-201612\alf_data\keystore\ssl.keystore"
keystorePass="kT9X6oe68t" keystoreType="JCEKS" secure="true" connectionTimeout="240000"
truststoreFile="D:\alfresco-community-distribution-201612\alf_data\keystore\ssl.truststore"
truststorePass="kT9X6oe68t" truststoreType="JCEKS" clientAuth="want" sslProtocol="TLS" allowUnsafeLegacyRenegotiation="true" maxHttpHeaderSize="32768" maxSavePostSize="-1"/>
-->

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />


<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->

<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">

<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->

<!-- Use the LockOutRealm to prevent attempts to guess user passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost/mysql?user=dbuser&amp;password=dbpass"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name"/>
</Realm>

-->

<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">

<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->

<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />

</Host>
</Engine>
</Service>
</Server>

lantonov
Champ on-the-rise
Champ on-the-rise

Thanks for the tip about the server.xml file. With the above file but setting secure="false" I was able to log in a prompt which was entitled Alfresco Community (not Alfresco Share) on http://localhost:8080/share with username admin and password admin. Above the dashboard there was a warning: "Alfresco is running without Share Services. See your System Administrator for more details." but otherwise the menus were functional and I was able to change my password

I will close this question and open a new question for this new problem.