Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Can JSch be used within a web application?

Help
2009-09-10
2013-05-28
  • Nayela Khan
    Nayela Khan
    2009-09-10

    I have a website developed in java (struts) and using tomcat server.
    I tried using Jsch to upload files but every time the file upload code runs, the Catalina service stops..
    Can someone please explain this behavior to me?

     
    • Nayela Khan
      Nayela Khan
      2009-09-11

      Ok sorry for posting this, after examining the code i found a " System.exit(0) "

       
  • Are you using the tutorial code as is?
    It contains several references to System.exit, which will shutdown your container.