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.
- Philippe
Hi Philippe,

Are you sure this is not linked to the issue you got previously which was related to your network setup and where some ports were not accessible remotely?

What is red on astor? Does your host appear in orange (<=> starter running but some servers are not started) in astor or in red (<=> starter not started or not reachable).
When you say tango-util is in red on astor… What is tango-util? Is it a device server or the name of your host?

http://www.tango-controls.org/community/forum/c/general/installation/some-ds-are-not-accessible

Kind regards,
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
You're right, it seems the issue is due to the same context and someone probably has launched the DS without this option to choose the port.
- Philippe
 
Register or login to create to post a reply.