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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Simultaneous Channel access
From: <[email protected]>
To: <[email protected]>
Date: Tue, 6 Dec 2016 17:05:09 +0000

Hi Marty,

 

I tried that and the TestSimultaneous test does pass, but only because it waits until the RPC call has finished, before doing the GET. I had implemented PvaClientRPCRequesterImpl to ensure that the GET was called whilst the RPC was still being processed by the Server.

 

I’ve done some debugging in the Epics jars today, and have maybe seen what’s happening:

 

The server seems to be processing requests using the ‘BlockingTCPAcceptor.java’ class, and several other class with ‘Blocking’ in the name. In one of them, it has the comment:

 

// NOTE: supports 2 threads per connection (receive and send)

 

I’ve put some debugging in the client and the server, and as far as I can see, the client is sending the request to connect, but the server doesn’t respond/get it.

 

It also seems that the client is reusing an existing ‘Transport’ object, and so isn’t creating a new connecting to the server, but reusing an existing one. I’m assuming now that the server can’t receive any new connections on this existing connection as it is Blocking, and is currently dealing with a request.

 

My question then is, (given that I don’t have much control over the server), how can I force the client to create a new Transport and connection each time, regardless of whether there is an existing connection or not in the Context?

 

Basically, my key requirement is to be able to connect to the same server from the same client (to perform an RPC call or a GET), whilst the server is already processing an RPC call from the client.

 

Thanks again,

 

Matt

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


Navigate by Date:
Prev: Re: SNL sequencer apparently losing connection to underlying network Benjamin Franksen
Next: Re: SNL sequencer apparently losing connection to underlying network Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Simultaneous Channel access Marty Kraimer
Next: IOC segfaults with epicsMutexLock (pmutexNode=0x0) Blaz Kranjc
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 06 Dec 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·