File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

main problem

 
subodh gupta
Ranch Hand
Posts: 203
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,

I am running one application program, what it has do is:

1) Open input file read it and insert the records in the database
2) So i am using BufferedReader, BufferedWritter and Jdbc
3) I am closing all the resources in the finally block (all checks are done for null...)

Problem is:
The main never exit by itself

Means if i put the
code:
--------------------------------------------------------------------------------

System.exit(0);

--------------------------------------------------------------------------------


line at the end of the main all is doing well otherwise program doesn't terminate.

Has anybody faced this problem?
 
Peter Chase
Ranch Hand
Posts: 1970
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Third cross-posted copy of same question. Getting annoying.

Everyone, please ignore this cross-posted copy.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic