Log Service Error

  

Log Service not working although the service starts successfuly:


Environment Health:

javax.jms.IllegalStateException: Unable to create QueueSession because connection not initialized
   at outsystems.extensibility.MessageQueueClient.initSession(Unknown Source)
   at outsystems.extensibility.MessageQueueClient.internalRestart(Unknown Source)
   at outsystems.extensibility.MessageQueueClient.internalFullInit(Unknown Source)
   at outsystems.extensibility.MessageQueueClient.getReceiver(Unknown Source)
   at outsystems.extensibility.MessageQueueClient.peekLog(Unknown Source)
   at outsystems.extensibility.MessageQueueClient.peekLog(Unknown Source)
   at outsystems.hubedition.logservice.iIiiIiiIiIiI.$dkd(Unknown Source)
   at outsystems.hubedition.logservice.iiIiIiiiiiiI.$nod(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.servercommon.SandboxUtils.executeForAllSandboxes(Unknown Source)
   at outsystems.hubedition.logservice.iiIiIiiiiiiI.$ajd(Unknown Source)
   at outsystems.hubedition.logservice.IIIiIiiiIiii.executeImpl(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0.executeImplLambda(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:745)


and Server Log:

2017-03-20 11:21:13,726 ERROR [outsystems.hubedition.util.ServerLog] (default task-31) Error on Message Queue setup: queue/OutSystemsErrorLog
Exception: HornetQNotConnectedException[errorType=NOT_CONNECTED message=HQ119007: Cannot connect to server(s). Tried with all available servers.]
2017-03-20 11:21:13,726 ERROR [outsystems.hubedition.util.ServerLog] (default task-31) Error sending log: javax.jms.IllegalStateException: Unable to create QueueSession because connection not initialized
   at outsystems.extensibility.MessageQueueClient.initSession(Unknown Source)
   at outsystems.extensibility.MessageQueueClient.internalRestart(Unknown Source)
   at outsystems.extensibility.MessageQueueClient.internalFullInit(Unknown Source)
   at outsystems.extensibility.MessageQueueClient.createObjectMessageAndSend(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.LoggerAsynchronous.$kpc(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.LoggerAsynchronous.$vpc(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.LoggerAsynchronous.log(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.OSLogger.log(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.ErrorLog.$roc(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action2_Lambda.execute(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.ErrorLog.write(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.ErrorLog.$asc(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.ErrorLog.$hpc(Unknown Source)
   at outsystems.hubedition.runtimeplatform.log.ErrorLog.logApplicationError(Unknown Source)
   at osservicecenter.actions.ActGetHealth.executeGetHealth(Unknown Source)
   at osservicecenter.actions.ActNativizer_GetHealth.executeNativizer_GetHealth(Unknown Source)
   at osservicecenter.csrestexpose.cspingnativebuilderfromfe.CsPingNativeBuilderFromFEControllerFlows$FlowPingNativeBuilderFromFEActPingNativeBuilder.flowPingNativeBuilderFromFEActPingNativeBuilder(Unknown Source)
   at osservicecenter.csrestexpose.cspingnativebuilderfromfe.CsPingNativeBuilderFromFEController.PingNativeBuilderFromFEPingNativeBuilder(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor1419.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
   at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
   at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
   at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)


Any idea how to fix this?

running Wildfly 8.2.0 / 10.0.302.0


RMI Registry Service                               - RUNNING
OutSystems Deployment Controller Service           - RUNNING
OutSystems Deployment Service                      - RUNNING
OutSystems Log Service                             - RUNNING
OutSystems Scheduler Service                       - RUNNING





Solution

Hi Bruno,

Did you check if the message queue service was running? (service wildfly-outsystems-mq status)

If the service is not started or if it can't be reached you can try to restart it (service wildfly-outsystems-mq restart), and then restart the OutSystems services.

Solution

Pedro Borges wrote:

Hi Bruno,

Did you check if the message queue service was running? (service wildfly-outsystems-mq status)

If the service is not started or if it can't be reached you can try to restart it (service wildfly-outsystems-mq restart), and then restart the OutSystems services.


Thanks Pedro, that service was not in fact starting by default on system reboot plus I thought the only service responsible for the Log was "OutSystems Log Service".