Forums Register Login

How to ShutDown an executor service under Security Manager?

+Pie Number of slices to send: Send
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-

Look ma! I'm selling my stuff!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1096 times.
Similar Threads
Java 2 Security Access denied Error
Java 2 Security Problems
RMI Server Connection Problem on XP prof
java.security.AccessControlException
java.lang.RuntimePermission accessDec on Jakarat Struts (delpoyed in JSDKEE1.3)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:35:04.