• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

abnormal window closing!!!

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am working on an data upload-download utility made in java.at start it offers a window with three buttons:upload,download,cancel and a textarea.as we press the buttons,respective actions are taken.when i transfer data(about 1000 rows) from MS Access to MS Access,the program works fine and after transfer is completed the window still exists.but when i transfer the same data from Oracle to MS Acess or vice-versa,in the end,the window disappears on its own.i want the window to stay open after the transfer is complete.why is this abnormal behaviour happening nad what can i do to rectify it?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have no idea what's causing your problem. You provided a good explination of the problem, but no real data for us to debug. Are there any error messages on the dos/shell screen? Is there some code you could show us? Maybe the 2 different transfer methods between the 2 differen types of DB's? Maybe you are doing something in one of those methods you are just missing?
Like I said, it's hard to determine with the information you provided.
 
kriti sharma
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the code remains the same for the two transfers only the connectivity to the database changes.i cannot show you the code as it is distributed over a number of java files.the tomcat console shows a socket error nad that is because the other side disconnects as soon as the transfer is complete.how to stop breaking this network connection basically?
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
socket question or window question?
socket question: (probably better handled in other forum but...) you might pose another question (along with the socket code) to ask how to keep the socket open unconditionally ...
window question: have you tried

?
reply
    Bookmark Topic Watch Topic
  • New Topic