EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: pvaccess and Java 9 Re: PVA Java status
From: "Shroff, Kunal" <[email protected]>
To: "Kasemir, Kay" <[email protected]>
Cc: EPICS Core Talk <[email protected]>
Date: Tue, 27 Mar 2018 16:36:48 +0000
Hello,

As Kay suggested we are simply using some of the packages with the name "corba"

https://docs.oracle.com/javase/9/docs/api/java.corba-summary.html

Currently, the two pieces we need should be available in the above module...but since it is marked for removal we will have to figure out how to handle this in the future.
https://docs.oracle.com/javase/9/docs/api/org/omg/CORBA/ShortHolder.html
https://docs.oracle.com/javase/9/docs/api/org/omg/CORBA/BooleanHolder.html

Kunal

-----Original Message-----
From: Kasemir, Kay [mailto:[email protected]] 
Sent: Tuesday, March 27, 2018 11:26 AM
To: Shroff, Kunal <[email protected]>
Cc: EPICS Core Talk <[email protected]>
Subject: pvaccess and Java 9 Re: PVA Java status

Hi:
Hi:

Kunal, for what it's worth, pva doesn't work with Java 9, because it's trying to use some corba(?!) classes.
For example, phoebus is currently using epics-pvaccess-5.1.1.jar, and runs into the error shown below.
Is that a matter of updating to the 'latest'?

Thanks,
-Kay

 [org.epics.pvaccess.client.impl.remote.ClientContextImpl] Failed to create transport for: /127.0.0.1:49194
org.epics.pvaccess.impl.remote.ConnectionException: Failed to connect to '/127.0.0.1:49194'.
	at org.epics.pvaccess.client.impl.remote.tcp.BlockingTCPConnector.connect(BlockingTCPConnector.java:163)
	at org.epics.pvaccess.client.impl.remote.ClientContextImpl.getTransport(ClientContextImpl.java:1125)
	at org.epics.pvaccess.client.impl.remote.ChannelImpl.searchResponse(ChannelImpl.java:453)
	at org.epics.pvaccess.client.impl.remote.search.SimpleChannelSearchManagerImpl.searchResponse(SimpleChannelSearchManagerImpl.java:384)
	at org.epics.pvaccess.client.impl.remote.handlers.SearchResponseHandler.handleResponse(SearchResponseHandler.java:94)
	at org.epics.pvaccess.client.impl.remote.ClientResponseHandler.handleResponse(ClientResponseHandler.java:108)
	at org.epics.pvaccess.impl.remote.udp.BlockingUDPTransport.processBuffer(BlockingUDPTransport.java:336)
	at org.epics.pvaccess.impl.remote.udp.BlockingUDPTransport.processRead(BlockingUDPTransport.java:263)
	at org.epics.pvaccess.impl.remote.udp.BlockingUDPTransport$1.run(BlockingUDPTransport.java:159)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NoClassDefFoundError: org/omg/CORBA/ShortHolder
	at org.epics.pvaccess.impl.remote.IntrospectionRegistry.<init>(IntrospectionRegistry.java:77)
	at org.epics.pvaccess.impl.remote.tcp.BlockingTCPTransport.<init>(BlockingTCPTransport.java:64)
	at org.epics.pvaccess.client.impl.remote.tcp.BlockingClientTCPTransport.<init>(BlockingClientTCPTransport.java:96)
	at org.epics.pvaccess.client.impl.remote.ClientContextImpl$1.create(ClientContextImpl.java:417)
	at org.epics.pvaccess.client.impl.remote.tcp.BlockingTCPConnector.connect(BlockingTCPConnector.java:137)
	... 9 more
Caused by: java.lang.ClassNotFoundException: org.omg.CORBA.ShortHolder
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)




________________________________________
From: Timo Korhonen <[email protected]>
Sent: Tuesday, March 27, 2018 9:28 AM
To: Kasemir, Kay; EPICS Core Talk
Subject: Re: PVA Java status

Hi all,

With some more investigation the issue turned out to be related to the missing PVA security features. CAS has a function ca_write_access() ...

Replies:
Re: pvaccess and Java 9 Re: PVA Java status Kasemir, Kay
References:
PVA Java status Timo Korhonen
Re: PVA Java status Kasemir, Kay
Re: PVA Java status Timo Korhonen
pvaccess and Java 9 Re: PVA Java status Kasemir, Kay

Navigate by Date:
Prev: Re: pvaccess and Java 9 Re: PVA Java status Kasemir, Kay
Next: Re: pvaccess and Java 9 Re: PVA Java status Kasemir, Kay
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: pvaccess and Java 9 Re: PVA Java status Kasemir, Kay
Next: Re: pvaccess and Java 9 Re: PVA Java status Kasemir, Kay
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 27 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·