1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers |
From: | "Gofron, Kazimierz via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Mark Rivers <rivers at cars.uchicago.edu>, "'J. Lewis Muir'" <jlmuir at imca-cat.org> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 25 Aug 2020 14:55:20 +0000 |
Mark,
The .jar files in current ADViewer distribution:
I am not sure where sources for
Is epics-pvdatabase-4.3.1.jar needed?
Remaining most recent .jar files are distributed. The jca and caj is combined into jca, I think.
Kaz From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Tuesday, August 25, 2020 9:42 AM To: 'J. Lewis Muir' <jlmuir at imca-cat.org>; Gofron, Kazimierz <kgofron at bnl.gov> Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: RE: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers It appears that the CORBA dependency in pvAccess was removed in this commit in June 2018.
https://github.com/epics-base/epicsCoreJava/commit/1d300d365c91b7fdc89bb93ee4d7b4b3241c734a#diff-91dff54d9f3689d9045dbd98eea6b1f2 I will work on updating ADViewers to use the most recent pvAccess jar files. Mark -----Original Message----- From: J. Lewis Muir <jlmuir at imca-cat.org> Sent: Wednesday, August 19, 2020 5:45 PM To: Gofron, Kazimierz <kgofron at bnl.gov> Cc: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov Subject: Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers On 08/19, Gofron, Kazimierz via Tech-talk wrote: > The problem is in the epics-pvaccess-5.1.1.jar. Were these jar files created with Java 8? > > kaz@kaz-desktop:/epics/utils/ADViewers/ImageJ/EPICS_areaDetector$ > strings epics-pvaccess-5.1.1.jar | grep BlockingTCPConnector > org/epics/pvaccess/client/impl/remote/tcp/BlockingTCPConnector$Transpo > rtFactory.class > org/epics/pvaccess/client/impl/remote/tcp/BlockingTCPConnector.class > org/epics/pvaccess/client/impl/remote/tcp/BlockingTCPConnector$Transpo > rtFactory.classPK > org/epics/pvaccess/client/impl/remote/tcp/BlockingTCPConnector.classPK Where's the source code for the epics-pvaccess-5.1.1.jar? Is it the following? https://github.com/epics-rip/pvAccessJava/tree/5.1.1 If so, that code contains three classes that reference classes in the org.omg.CORBA package that have been removed in Java 11: src/org/epics/pvaccess/impl/remote/IntrospectionRegistry.java src/org/epics/pvaccess/util/IntHashMap.java src/org/epics/pvaccess/util/ShortHashMap.java I don't know anything about pvAccessJava, but if the latest version is at https://github.com/epics-base/epicsCoreJava then a search for "corba" there shows that it does not contain references to classes in the org.omg.CORBA package, so if you can upgrade to a newer version of pvAccessJava that does not reference CORBA classes, then I think the problem would go away. Another solution would be to add JARs to the Java classpath providing the CORBA classes such as from JacORB: https://github.com/JacORB/JacORB Yet another solution would of course be to use a Java 8 VM instead of a Java 11 VM. Lewis |