Can you please post your config file or checkt it.
The following file are concerned:
login-config.xml in deploy/conf directory
*.propertie in deploy/conf/props/ directory/
jboss-web.xml and web.xml in deploy/jmx-console.war/META-INF
Pay attention your directory structure may be differents as some are JBoss Version dependant .
Check well your config file you will find differences.
Hi Thanks for the reply.
After a long debugging I found the issue. The issue is in web.xml under jboss-web.deployer/conf I added the following entry to redirect from 8080 to 8443. This I did only couple of months back. If this code is there jmx-consloe or web-console won't force authentication and go directly to the page. If I comment that it force authentication in these two consoles.
<!-- auth-constraint goes here if you requre authentication -->
I am not sure how these two are related. Can you please help to make these two work together?