Article - CS387715

"Integration-Runtime" service is not able to get start with error "Unable to load configuration as JSON org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]"in IRLog in ThingWorx Navigate

Modified: 02-Mar-2023   


Applies To

  • Windchill Navigate (formerly ThingWorx Navigate) 9.2

Description

Integration-Runtime service is not able to get start with error in IRLog:
2023-14-02 00:44:04.932 [vert.x-eventloop-thread-0] INFO  c.t.i.IntegrationRuntimeConfiguration - Reading from config file /opt/ptc/Thingworx/ThingWorxFoundation/integration-runtime/integrationRuntime-settings.json.encrypted
2023-14-02 00:44:04.944 [vert.x-eventloop-thread-0] WARN  c.t.i.IntegrationRuntimeConfiguration - Unable to load configuration as JSON
org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
	at org.json.JSONTokener.syntaxError(JSONTokener.java:507)
	at org.json.JSONObject.<init>(JSONObject.java:222)
	at org.json.JSONObject.<init>(JSONObject.java:406)
	at com.twx.integration.IntegrationRuntimeConfiguration.readUnencryptedConfiguration(IntegrationRuntimeConfiguration.java:252)
	at com.twx.integration.IntegrationRuntimeConfiguration.getInstance(IntegrationRuntimeConfiguration.java:147)
	at com.twx.integration.route.IntegrationEngine.<init>(IntegrationEngine.java:53)
	at com.twx.integration.Entrypoint.start(Entrypoint.java:37)
	at io.vertx.core.AbstractVerticle.start(AbstractVerticle.java:106)
	at io.vertx.core.Verticle.start(Verticle.java:66)
	at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$9(DeploymentManager.java:556)
	at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
	at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:829)


 
This is a printer-friendly version of Article 387715 and may be out of date. For the latest version click CS387715