aspose file tools*
The moose likes Java in General and the fly likes How to ShutDown an executor service under Security Manager? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to ShutDown an executor service under Security Manager?" Watch "How to ShutDown an executor service under Security Manager?" New topic
Author

How to ShutDown an executor service under Security Manager?

Raihan Jamal
Ranch Hand

Joined: Mar 23, 2010
Posts: 86
I have my Batch Application Program, in which I am using ThreadPoolExecutor in my Batch Application Program. So as soon as it hits the-



line in my Batch Application program, I always get this below error in my Batch Application Program. And I am not able to ShutDown my own Executor Service. Can anyone suggest me how should I overcome this error.

. Below is the full stacktrace



How can I shut down my own ExecutorService under SecurityManager.

I am using Windows7 and Java6-IBM(java6-ibm-sr4ifx3-2009-06-22).

I am trying to shut down like this-

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to ShutDown an executor service under Security Manager?