OL Learn

Connect 1.2.1 Application Service Terminated Unexpectedly

Dear all,

I am facing a challenge with one of the customer machine here when they try to start the OL Connect Server service, the application failed to work and generated the event logs of the application terminated unexpectedly. Further check on the application log, we manage to see this:

Log Name: Application
Source: OLConnect_Server
Date: 3/18/2016 4:31:59 PM
Event ID: 0
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: XXXXXX
Description:
Child process [3364 - Server ] finished with 1
Event Xml:

0
3
0
0x80000000000000

16887
Application
XXXXXX



Child process [3364 - Server ] finished with 1

This happened after the password change and we had updated all the service logon rights but still the issue persist. We even have the re-installation of Designer and Workflow. The Connect version will be 1.2.1.

Any help on this issue is much appreciated.

Hello edexter79,

The Windows Event Log doesn’t provide enough information to understand why a Connect service isn’t functional (especially since this seems to be only a warning, not an error!). Can you please take a look at the Connect Logs? These are located in the following folder: %USERPROFILE%\Connect\logs

Hello,

I know this is an old issue, but I’m seeing the exactly same issue, the connect service will start, but after about 20 seconds it will stop with a warning in the windows event log as described in the original post.

If I look in the debug log as requested in the original post, I see the following entries:

[2020-01-28 16:03:53,661] INFO [pool-4-thread-1] org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java) Started SelectChannelConnector@0.0.0.0:9340
[2020-01-28 16:03:53,661] INFO [pool-4-thread-1] org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java) Pax Web available at [0.0.0.0]:[9340]
[2020-01-28 16:03:53,667] INFO [pool-4-thread-1] org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl.getService(HttpServiceFactoryImpl.java) Binding bundle: [com.objectiflune.weaver.service.rest_2019.2.0.20190917-2329-60266 [150]] to http service
[2020-01-28 16:03:53,688] INFO [OLSpringOsgiExtenderThread-1] org.hibernate.validator.internal.util.Version.(Version.java) HV000001: Hibernate Validator 6.0.16.Final
[2020-01-28 16:03:53,762] INFO [Start Level: Equinox Container: c8c5203d-9ed1-45e0-b997-a938248eb334] com.objectiflune.datamining.DataminingPluginsFactory.registerDataminingPlugin(DataminingPluginsFactory.java) Registered Datamining plugin [PDF] hash[1984204457] total [1] plugins registered
[2020-01-28 16:03:54,249] INFO [Start Level: Equinox Container: c8c5203d-9ed1-45e0-b997-a938248eb334] com.objectiflune.datamining.DataminingPluginsFactory.registerDataminingPlugin(DataminingPluginsFactory.java) Registered Datamining plugin [CSV] hash[1604990702] total [2] plugins registered
[2020-01-28 16:03:54,250] INFO [Start Level: Equinox Container: c8c5203d-9ed1-45e0-b997-a938248eb334] com.objectiflune.datamining.DataminingPluginsFactory.registerDataminingPlugin(DataminingPluginsFactory.java) Registered Datamining plugin [DATABASE] hash[1604990702] total [3] plugins registered
[2020-01-28 16:03:54,250] INFO [Start Level: Equinox Container: c8c5203d-9ed1-45e0-b997-a938248eb334] com.objectiflune.datamining.DataminingPluginsFactory.registerDataminingPlugin(DataminingPluginsFactory.java) Registered Datamining plugin [XLSX] hash[1604990702] total [4] plugins registered
[2020-01-28 16:03:54,266] INFO [Start Level: Equinox Container: c8c5203d-9ed1-45e0-b997-a938248eb334] com.objectiflune.datamining.DataminingPluginsFactory.registerDataminingPlugin(DataminingPluginsFactory.java) Registered Datamining plugin [TEXT] hash[918409082] total [5] plugins registered
[2020-01-28 16:03:54,292] INFO [Start Level: Equinox Container: c8c5203d-9ed1-45e0-b997-a938248eb334] com.objectiflune.datamining.DataminingPluginsFactory.registerDataminingPlugin(DataminingPluginsFactory.java) Registered Datamining plugin [XML] hash[1295102845] total [6] plugins registered
[2020-01-28 16:03:54,419] INFO [pool-4-thread-1] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java) Initiating Jersey application, version ‘Jersey: 1.19.4 05/24/2017 03:20 PM’
[2020-01-28 16:03:54,638] INFO [main] com.objectiflune.serverengine.product.ServerEngineApplication.start(ServerEngineApplication.java) Server Engine starting up … (SRV000200)
[2020-01-28 16:03:54,638] INFO [main] com.objectiflune.serverengine.product.ServerEngineApplication.start(ServerEngineApplication.java) Add Shutdown Hook
[2020-01-28 16:03:55,053] INFO [main] com.objectiflune.repository.generic.SQLHelper.verifyDatabaseConnection(SQLHelper.java) Database jdbc:mysql://address=(protocol=tcp)(host=127.0.0.1)(port=3306)/objectiflune?verifyServerCertificate=false&requireSSL=false&useUnicode=true&rewriteBatchedStatements=true&connectionCollation=utf8_unicode_ci&characterEncoding=utf8&useSSL=false connection successful.
[2020-01-28 16:03:55,074] WARN [main] com.objectiflune.preferences.synchronizer.PreferencesSynchronizer.a(PreferencesSynchronizer.java) Unable to locate the Server Engine Configuration tool’s working directory (COR000940)
[2020-01-28 16:03:55,078] INFO [main] com.objectiflune.preferences.synchronizer.PreferencesSynchronizer.(PreferencesSynchronizer.java) PreferencesSynchronizer source path: null (Core_1519)
[2020-01-28 16:03:55,078] INFO [main] com.objectiflune.preferences.synchronizer.PreferencesSynchronizer.(PreferencesSynchronizer.java) PreferencesSynchronizer target path: C:\Users\rdksvcall\Connect\workspace\Server.metadata.plugins\org.eclipse.core.runtime.settings (Core_1521)
[2020-01-28 16:03:57,043] INFO [OLSpringOsgiExtenderThread-2] out.b(a.java) transformer added; Standard ClassFileTransformer wrapping JPA transformer: org.eclipse.persistence.internal.jpa.weaving.PersistenceWeaver@6bc96898
[2020-01-28 16:03:57,395] INFO [OLSpringOsgiExtenderThread-2] com.objectiflune.repository.generic.GenericRepository.setBase(GenericRepository.java) Set base repository (Core_1507)
[2020-01-28 16:03:57,458] INFO [OLSpringOsgiExtenderThread-2] com.objectiflune.repository.generic.SQLHelper.verifyDatabaseConnection(SQLHelper.java) Database jdbc:mysql://address=(protocol=tcp)(host=127.0.0.1)(port=3306)/objectiflune?verifyServerCertificate=false&requireSSL=false&useUnicode=true&rewriteBatchedStatements=true&connectionCollation=utf8_unicode_ci&characterEncoding=utf8&useSSL=false connection successful.
[2020-01-28 16:03:57,493] INFO [pool-4-thread-1] org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl.getService(HttpServiceFactoryImpl.java) Binding bundle: [com.objectiflune.serverengine.rest_2019.2.0.20191011-0548-60818 [136]] to http service
[2020-01-28 16:03:57,516] ERROR [pool-7-thread-1] com.objectiflune.licensing.protection.impl.win32.Protection.e(SecretFile.java) Protection data file reading corrupted data
[2020-01-28 16:03:57,516] ERROR [pool-7-thread-1] com.objectiflune.licensing.protection.impl.win32.Protection.a(Protection.java) License validation issue found. Category X-4. (COR001053)
[2020-01-28 16:03:57,520] ERROR [pool-7-thread-1] com.objectiflune.licensing.operations.RunStrategyImpl.protect(RunStrategyImpl.java) License validation issue found. Category X-4. (COR001053)
[2020-01-28 16:03:57,521] ERROR [pool-7-thread-1] com.objectiflune.licensing.service.listeners.LicenseExpirationTerminatingListener.licenseErrorShutdown(LicenseExpirationTerminatingListener.java) License checking is shutting down the application: License validation issue found. Category X-4. (COR001053) (COR001031)
[2020-01-28 16:03:57,532] INFO [Thread-29] com.objectiflune.serverengine.product.ServerEngineApplication.run(a.java) Shutdown hook called!
[2020-01-28 16:03:57,533] INFO [Thread-29] com.objectiflune.serverengine.product.ServerEngineApplication.shutdown(ServerEngineApplication.java) Shutdown requested (Se_621)
[2020-01-28 16:03:57,541] INFO [Framework stop] com.objectiflune.serverengine.product.ServerEngineApplication.shutdown(ServerEngineApplication.java) Shutdown requested (Se_621)
[2020-01-28 16:03:57,582] INFO [Framework stop] com.objectiflune.serverengine.product.ServerEngineApplication.stop(ServerEngineApplication.java) Server Engine shutting down … (Se_622)
[2020-01-28 16:03:57,925] INFO [Preferences Synchronizer Thread] com.objectiflune.preferences.synchronizer.PreferencesSynchronizerTarget.run(PreferencesSynchronizerTarget.java) The PreferencesSynchronizer has been shut down. (Core_1523)

I have tried to reinstall the entire system and to relicense, but I keep getting this error messages. When I try to activate my license, I can see there is a validation error, but i’m able to upload the license file to the system…

Any good ideas on how to resolve this issue…?

I’d start by trying to delete your old license file here: C:\ProgramData\Objectif Lune\OL Connect\licenses

Then import a fresh copy again from the Web Activation Manager.

If that doesn’t work, open a ticket with your local Support team so we can assist with a clean un-install and license cleanup.