Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting Lock exception FTPCLient retrieveFile  RSS feed

 
SatyaSunil kapaganti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

While retrieving the file getting lock and application creating long running thread in server.
Below code am using retive the file. please help me with this why we are getting this lock error.



Below Exception we are getting in server




Regards,
Satya.
 
Paul Clapham
Sheriff
Posts: 22480
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That isn't a lock error, that's a thread dump. Why you are getting the thread dump is a different question -- usually it's caused by somebody asking the JVM to provide dumps of all its threads.
 
chandan Khatri
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you see any error in the console e.g OutOfMemory? This can happen if you are reading/loading a very large file in JVM and your max heap memory threshold is reached and there is no more memory.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!