we are using sas9.3 and jboss as content server .
when i ran above command it gives exception :-
Exception in thread "main" java.lang.SecurityException: Failed to authenticate principal=admin, securityDomain=jmx-console
How to stop this server ?
Then you'll need to pass credentials to the shutdown script as directed in http://support.sas.com/kb/46/371.html
"To work around the problem, add the -u user-name -p password options to the shutdown.sh section of the SASServer1.sh script.
Note: The user name and password are defined in the jmx-console-users.properties file that resides in the JBoss-home-directory/server/SASServer1/conf/props/ directory."
while I understand you might feel disoriented, please help us to help you. It might sound harsh (not my intention), but just wanna help you there.
First, please take your time to read the note, it is indeed what you need to follow. And read it well. Meaning: you changed 2 files, the note and the advise only mentions one file, the shutdown.sh script. THe other file is to take the right user and password, to be used on the shutdown.sh script.
Second, the note mentions an specific version of jBoss. Did you checked yours is the same than the SAS note mentions? Just to confirm the advise is correct in your case.
Third, you are asking to check your files... but they are not added as attachment, therefore we cannot review. (And please be aware, if you do this, the passwords on those files will be public to any SAS Communities user. Therefore, you might want to send those in private or directly to SAS Technical Support).
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.