Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] Issue with disconnect in subscription mode

Hi Kevin,

Thank you!


This is observed while the server is halted or shutdown, i will upgrade to 0.3.6 and check again.



Regards,
Prashob K T

On Sun, Nov 24, 2019 at 10:04 PM Kevin Herron <kevinherron@xxxxxxxxx> wrote:
Prashob,

You should not use Stack.releaseSharedResources() except for when you intend to shut your application down completely, e.g. in a JVM shutdown hook.

As for the issue calling disconnect().get()inside the callbacks, try updating to at least 0.3.4, which fixed this issue: https://github.com/eclipse/milo/issues/560. The current release is 0.3.6.



On Sun, Nov 24, 2019 at 8:00 AM Prashob K T <prashob.ksd@xxxxxxxxx> wrote:
Hi,

our application is spinning 10-15 threads to connect with single OPC SERVER, and in events like exception, error, onSessionInactive and onServiceFault we are triggering a disconnect using "client.disconnect().get()" along with "Stack.releaseSharedResources()". 

But this take a lot of time to complete/ seldom completes making thread in a hang state. we are not using subscription listener as of now.

we are working with kepware and Monokot server(for testing).


kindly share your view on this issue.


Thanks & Regards,
Prashob K T

_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev

Back to the top