Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is a user able to Open two consoles in one machine?

 
Ulises Pulido
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All:

I would like to know if you know whether we should let the user open two console's on the same machine or if we are supposed to not let him do it. This is related with the update issue I had, it seems that in server/console mode works as expected (If I update the database file using the direct access to the database and a remote console GUI is open when the user with the remote console tries to update that same row, he is not allowed, and vice versa), but this is not true with console/console (I open a direct access to the database connection twice and It seems they skip each other static member variables who I use to validate if one row was already updated or not).

A solution to this issue is the title of this thread, so are we able to stop the user of using two direct access console's in the same machine at the same time ?

And another question would be, when you start the app twice does the JVM creates two versions of classes that contains static values, I mean does the class loader loads twice the classes one per application running ?.
 
Ulises Pulido
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It really did,

Thanks Kevin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic