EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
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>
Date: Tue, 25 Aug 2020 13:42:58 +0000
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

Replies:
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
References:
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Mark Rivers via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Mark Rivers via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Mark Rivers via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Mark Rivers via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers J. Lewis Muir via Tech-talk

Navigate by Date:
Prev: EPICS 7.0.4.1 released Michael Davidsaver via Tech-talk
Next: Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Ralph Lange via Tech-talk
Next: Re: ADViewers: EPICS_NTNDA_VIEWER' does not connect - ADViewers Gofron, Kazimierz via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 25 Aug 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·