Questions tagged [disconnected]

93 questions
3
votes
1 answer

How to track disconnected entities over Web API

Assuming I have an application that allows customers to add/update products into my database over Web API. I have lightweight DTOs like this: public class ProductDTO { public int Id { get; set; } public string Name { get; set; } public…
Null Reference
  • 11,260
  • 40
  • 107
  • 184
3
votes
0 answers

eclipse debugging error - breakpoints not working

Whenever I set a breakpoint in eclipse (java), and resume it, it gives an error in the debug window: MyProgram at localhost:20878 The number after "localhost" is random and changes each time I debug. This is really preventing me from making my…
3
votes
3 answers

Teamcity build agent in disconnected state

I am running teamcity on Linux server, and it was working completely fine. Once I reboot the server machine and it stopped working. I managed to start the teamcity server using runAll.sh command, but the build agent stays in "disconnected" state.…
Narain Mittal
  • 1,150
  • 11
  • 25
2
votes
2 answers

Using JMS, is there any way to store messages on intermittently disconnected clients and forward them to a broker when a network is available?

I am considering an architecture where I have clients that are intermittently connected to a network. I would like to store messages created on these clients in a JMS queue when the network is not available and have these forwarded to a central…
Ken Liu
  • 22,503
  • 19
  • 75
  • 98
2
votes
2 answers

Using select() in thread does not react os host disconnection

I have main server code, which uses select and waits for hosts activities. I have also global structure, which stores all clients and theirs sockets. //old code Select in main thread unblocks intself when one of the hosts from clients array…
2
votes
4 answers

What would you choose - XPages or old forms style development?

Most of our Lotus Notes developers do not have XPages experiance. They are used to doing old style forms development. We are designing a new Lotus Notes database application that is required to be used in disconnected (offline) mode. Why would we…
Kaushik
  • 83
  • 2
  • 7
2
votes
0 answers

Device is not receiving shadow updates - too many disconnect events in AWS-IoT?

AWS IoT connection between server and device get a lot of [disconnected] events and device is not receiving delta messages. I am using AWS IoT to allow a secure communication between a self written "Controller" (running with AWSIoTPythonSDK in…
Daniel
  • 21
  • 1
2
votes
0 answers

socket.io-client-swift disconnect event can't handle

I'm using swift3 and i can't succeed to handle the "disconnected" event of SocketIOClient class. https://github.com/socketio/socket.io-client-swift [Docmentation Events][1] In the documentation you can see that there is an event when socket is…
Amaury
  • 21
  • 1
2
votes
1 answer

C# sockets How can I handle unplanned disconnections on socket servers?

I am building a socket server in C#, and i have an issue with unplanned sockets disconnects. For now, i am handling this like that: private List _acceptedClientsList = new List(); public void checkIfStillConnected() { while…
Ahonir
  • 142
  • 1
  • 6
2
votes
1 answer

android- ble device status shows connected for some seconds even after turning off the device

I m developing a ble app that goes out of range many times or turns off, it is designed to do so. if connected to android if i turn off my Bluetooth low energy (smart) device the Bluetooth manager still keeps that profile for some time and then…
Nouman Tahir
  • 819
  • 1
  • 9
  • 26
2
votes
1 answer

Exception with Entity Framework 6, disconnected context and many-to-many relationship

I have a problem with EF6 when using "disconnected" contexts. I'm using database first and have modelled a many-to-many relationship this way (there is a junction table behind the relation shown, with two FKs, which together make up the composite PK…
Thomas
  • 558
  • 4
  • 14
2
votes
0 answers

How to find all disconnected graphs in a node/edge sql representation?

Given a nodes and a edges tables, how to find all disconnected graphs using TSQL ? References : http://techportal.inviqa.com/2009/09/07/graphs-in-the-database-sql-meets-social-networks/ http://apps.cytoscape.org/apps/subnetworkcreator
2
votes
1 answer

ZooKeeper disconnects multiple connections from a single host

I use ZooKeeper in my web Application and found a very odd issue: if I deploy two applications (both use zookeeper) to same tomcat, ZooKeeper in one app will inexplicable disconnect when tomcat starts. Following is my code, which is very…
L.J.W
  • 1,575
  • 5
  • 18
  • 24
1
vote
1 answer

Insert record to datatable with column has the timestamp datatype - C#/SQL 2008

We have moved our application away from using EntityFramework 4.2 and a couple of other commercial ORM products to ADO.NET for the performance reason, and It does prove the purpose. but we have faced a problem that is the datatype timestamp. in EF,…
user1092875
  • 89
  • 3
  • 8
1
vote
1 answer

Persisting disconnected POCO entities

I'm working with disconnected POCO objects. When I persist a single object, it works fine! The problem starts when I want to persist related objects. For example: Retrieving object from Data layer: using (MyContext ctx = new MyContext ()) { …