Home > Forum > Installation > SOLR problem - not initialized

SOLR problem - not initialized
0

Hello,

after restarting server on which we have installed webcon 2021.1.3.188 (freemium) there is some problem with SOLR.
Similar problem is in thread https://community.webcon.com/forum/thread/776 but solution which community suggest there doesn't help me.
I've tried to restart Webcon WorkFlow Service but it's still not work.

In log:

Message=SOLR not initialized
Source=WebCon.WorkFlow.Data.Solr
StackTrace= at WebCon.WorkFlow.Data.Solr.BPSSolrServerProxy.GetInstance[T]()
at WebCon.WorkFlow.Data.Solr.DirectSolrIndexAdder.AddToIndex(BPSActivity activity, ActivityTypes type)
at WebCon.WorkFlow.Base.Solr.SolrLogger.AddWithDirectSolrAdder(BPSActivity activity, ActivityTypes activityType)

InnerException:

Message=SOLR not initialized
Source=WebCon.WorkFlow.Data.Solr
StackTrace= at WebCon.WorkFlow.Data.Solr.BPSSolrServerProxy.GetInstance[T]()
at WebCon.WorkFlow.Data.Solr.DirectSolrIndexAdder.AddToIndex(BPSActivity activity, ActivityTypes type)
at WebCon.WorkFlow.Base.Solr.SolrLogger.AddWithDirectSolrAdder(BPSActivity activity, ActivityTypes activityType)

Outer stack trace:

at WebCon.WorkFlow.Common.Logging.BaseLogger.WriteToEventLog(WriteToSystemLogParams args)
at WebCon.WorkFlow.Base.Solr.SolrLogger.AddWithDirectSolrAdder(BPSActivity activity, ActivityTypes activityType)
at WebCon.WorkFlow.Base.Solr.SolrLogger.OpenDashboard(OpenDashboardSolrParams parameters)
at WebCon.BPSCloud.Core.SolrEngine.ActivityLogger.ActionOpenDashboard(Int32 dashboardId)
at lambda_method(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()....

That situation is annoying because we have message on portal.
Thank you for your help.

MVP

Hey,
im digging an old thread, but i've faced the same issue and found a solution, so I'm leaving a write-up how to deal with it "for those who come after" ;)

First of all, check the folder where SOLR is installed, by default look up here:
C:\Program Files\WEBCON\WEBCON BPS Search Server\Logs

In my case this was the content of the log file:
[2026-03-20T06:44:51.8596075Z] Service starting.
"Solr will start in SolrCloud mode by default in version 10, and you will have to provide --user-managed if you want to stay on the user-managed (aka. standalone) mode."
Java 25 detected. Enabled workaround for SOLR-16463
CompileCommand: exclude com/github/benmanes/caffeine/cache/BoundedLocalCache.put bool exclude = true
Error occurred during initialization of VM
java.lang.Error: A command line option has attempted to allow or enable the Security Manager. Enabling a Security Manager is not supported.
at java.lang.System.initPhase3(java.base@25.0.2/System.java:1969)

What is important - we see the error - "Enabling a Security Manager is not supported"
This is something in java environment, that is being deprecated for some time:
Java 17: Deprecated it.
Java 21: Made it "disallowed by default."
Java 24/25: Removed the ability to enable it entirely.

According to "Standalone Installation" guide, bundled in zip with the installer, there is a note that "Java 11 or higher (recommended distribution is OpenJDK)", based on which i defaulted me to the latest Java 25.

So to handle that error in my case i just had to remove Java 25, and install Java 21.
A small task for Webcon team if anyone will see it, please make a correction in the docs to specify range of possible versions of Java, as 11 or higher is not good enough currently :)