# Continuous warnings generated in LOG file

**URL:** <https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591>\
**Category:** Module Development\
**Created:** [April 27, 2016, 2:09pm UTC](https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591 "2016-04-27T14:09:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [April 27, 2016, 2:09pm UTC](https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591/1 "2016-04-27T14:09:07Z")

</div>

Hi ,  
On activating OPC UA, I am getting continuous WARN in wrapper log file of Ignition every 5 seconds 3kb of this message is continuously appended in the log file every 5 seconds. How to get rid of is, what is wrong with the installation (Ignition 7.7.8 , 64 bit version on windows 10 system).  
regards  
Prafull

INFO | jvm 1 | 2016/04/27 19:29:23 | WARN [ReadService] [19:29:23,515]: Returning ServiceFault for request: com.inductiveautomation.opcua.types.messages.ReadRequest@1f7f6bda. StatusCode=StatusCode[Severity=Bad, Subcode=Bad\_SessionIdInvalid]  
INFO | jvm 1 | 2016/04/27 19:29:23 | WARN [OpcUaConnection[Ignition OPC-UA Server]] [19:29:23,515]: Error reading server time and state: ServiceFault: StatusCode[Severity=Bad, Subcode=Bad\_SessionIdInvalid]  
INFO | jvm 1 | 2016/04/27 19:29:23 | StatusCode[Severity=Bad, Subcode=Bad\_SessionIdInvalid]: ServiceFault: StatusCode[Severity=Bad, Subcode=Bad\_SessionIdInvalid]  
INFO | jvm 1 | 2016/04/27 19:29:23 | at com.inductiveautomation.xopc.client.stack.TCPClientChannel.validateResponseType(TCPClientChannel.java:832)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at com.inductiveautomation.xopc.client.stack.TCPClientChannel.receiveMessage(TCPClientChannel.java:793)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at com.inductiveautomation.xopc.common.stack.UAChannel$1DeliverMessage.deliver(UAChannel.java:967)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at com.inductiveautomation.xopc.common.stack.UAChannel$DeliverToDelegate.run(UAChannel.java:1599)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at com.inductiveautomation.xopc.client.stack.SerialExecutionQueue$RunnableExecutor.execute(SerialExecutionQueue.java:100)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at com.inductiveautomation.xopc.client.stack.SerialExecutionQueue$RunnableExecutor.execute(SerialExecutionQueue.java:97)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at com.inductiveautomation.xopc.client.stack.SerialExecutionQueue$PollAndExecute.run(SerialExecutionQueue.java:75)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
INFO | jvm 1 | 2016/04/27 19:29:23 | at java.lang.Thread.run(Thread.java:745)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 27, 2016, 2:46pm UTC](https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591/2 "2016-04-27T14:46:25Z")

</div>

It seems the session has timed out underneath the client. This can happen on laptops, for example, when waking from sleep. If you just edit/save the OPC-UA connection it will reset.

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [April 27, 2016, 3:06pm UTC](https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591/3 "2016-04-27T15:06:35Z")

</div>

Yes Indeed, it stopped generating the warnings!

The System was running fine at about 4PM the I put the Laptop on sleep mode and whne I restarted it, the warning started generating! But I had not stared the OPC Client application! Which client underneath is causing this I don't know!

regards  
Prafull

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [April 27, 2016, 3:23pm UTC](https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591/4 "2016-04-27T15:23:30Z")

</div>

Also ever since I installed the OPC UA License Key received by Mail, replacing the previously entered Developer mode License Key, generated on the module developer page, I am getting the BUILD FAILED error for my module (NON OPC Module):

C:\Ignition-ModuleSDK-7.7.8\gatewaycomm\Build\build.xml:83: java.io.FileNotFoundException: [localhost:8088/main/system/Devel ... ingServlet](http://localhost:8088/main/system/DeveloperModuleLoadingServlet)

Previously I was getting this error when I had not entered the Developer License Key on developer portal.

Does the OPC UA License key not include Developer Key?

regards  
Prafull

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 27, 2016, 3:26pm UTC](https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591/5 "2016-04-27T15:26:04Z")

</div>

It doesn’t, developer mode is only enabled on developer licenses.

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [April 27, 2016, 4:12pm UTC](https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591/6 "2016-04-27T16:12:23Z")

</div>

Then How do I enable both (i.e. developer license as well as OPC UA license)?  
regards

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [April 27, 2016, 5:19pm UTC](https://forum.inductiveautomation.com/t/continuous-warnings-generated-in-log-file/11591/7 "2016-04-27T17:19:34Z")

</div>

I guess I should use developer key when I am developing the module and then once the module is deployed, I can USE OPC UA Key when I am need OPC UA connectivity. I wish there was a way to keep OPC UA key enabled when Developer key is active.  
regards  
prafull
