12-29-2016 07:55 AM
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 ?
01-02-2017 09:34 AM
If you don't have the credentials to pass to stop (as indicated in the note) you can use the kill argument instead - it's not the graceful shutdown you'd get, but it's better than terminating the process.
01-03-2017 09:45 AM
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."
01-09-2017 04:19 AM
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).