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

runtime permission modify thread
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,
This solved the issue !!!

if anybody has other thoughts,please share it here.


Next tip

Comments

Popular posts from this blog

BCC site status inaccessible Agent Production in error state

Weblogic Issues during EAR Deployment Exception in AppMerge flows progression

DUseSunHttpHandler=true weblogic.net.http.SOAPHttpsURLConnection Weblogic/Java HttpHandler issues