devnumbertwo - $h!t for developers

View Original

jboss – shutdown.sh -S Exception in thread “main” java.lang.SecurityException: Failed to authenticate principal=null…

the issue: running shutdown.sh -S causes the following error:

See this content in the original post

try: check your jmx-invoker-service.xml file in deploy folder – it may have the AuthenticationInterceptor uncommented indavertently:

See this content in the original post

if you wanted the authentication, edit your login-config.xml and define your own login class that will check if the user has valid roles and credentials for performing the startup.