Java package

Hello tangoers,

I have been said that we absolutly need to use Oracle Java and not OpenJDK, so we changed it several days ago.

However, since then, we encounter strange errors with ATK:

  • when connected through ssh on localhost, one can launch astor and check that a server is launched (tango-util in our example), but if launched on a distant host, astor indicates tango-util on red
  • when launching some ATKPanel on localhost (for example, “atkpanel sys/tg_test/1”), we do not encounter any problem, but launching it on distant host with TANGO_HOST correctly defined, we got this exception:

atkpanel sys/tg_test/1
AtkPanel: Cannot connect to the device.
AtkPanel: Check the device name you entered;
AtkPanel: Application aborted....
AtkPanel: Connection Exception : Severity: PANIC
Origin: Connection.dev_import(sys/tg_test/1)
Description: Cannot import sys/tg_test/1 :
	org.omg.CORBA.TRANSIENT: Retries exceeded, couldn't reconnect to 134.158.75.81:51167  vmcid: 0x0  minor code: 0  completed: No
Reason: TangoApi_CANNOT_IMPORT_DEVICE
Severity: ERROR
Origin: Connection.build_connection(sys/tg_test/1)
Description: Cannot import sys/tg_test/1
Reason: TangoApi_CANNOT_IMPORT_DEVICE

Here is the java version currently installed:


$ java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

Do you know how to correct this?

Thank you and happy new year.