Usage of JTGO in a multithreaded application

Article ID: 2173
Last updated: 28 May, 2018
Article ID: 2173
Last updated: 28 May, 2018
Revision: 3
Views: 683
Posted: 16 Sep, 2010
by Dean J.
Updated: 28 May, 2018
by Gargani A.

Question

How to properly initialize JTGO in a multithreaded application?

Answer

In order to avoid exceptions like: "java.lang.InternalError: Init() failed to initialize the default context" in multithreaded applications, a call to  ilog.tgo.IltSystem.init() must be made before creating object, data source, or component instances.

This kind of error usually occurs because one thread is initializing the application while another thread is creating objects or performing styling.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2173
Last updated: 28 May, 2018
Revision: 3
Views: 683
Posted: 16 Sep, 2010 by Dean J.
Updated: 28 May, 2018 by Gargani A.
Also listed in


Others in this category