java.lang.RuntimePermission modifyThread
I encountered this issue while trying to run an ear module
from our application,the console logs are given below
After researching a while,it seems that we need to add a
specific permission,'modifyThread' in the java policy file
if its not there.
I had tweaked the java.policy file(location - jdk_xxx->jre->lib->security->java.policy)and added the below entry
Be sure to take a back up of your policy file before doing
such changes,as there are chances your original file may
get corrupt if something goes wrong.
Now restart your Server and load your application,
from our application,the console logs are given below
After researching a while,it seems that we need to add a
specific permission,'modifyThread' in the java policy file
if its not there.
I had tweaked the java.policy file(location - jdk_xxx->jre->lib->security->java.policy)and added the below entry
Be sure to take a back up of your policy file before doing
such changes,as there are chances your original file may
get corrupt if something goes wrong.
Now restart your Server and load your application,
Comments
Post a Comment