Architecting, installing and maintaining your SAS environment

How to stop SASserver5 in webserver

Reply
Contributor
Posts: 49

How to stop SASserver5 in webserver

 we are using sas9.3 and jboss as content server .

 

when i ran above command it gives exception :-

/jboss/jboss-eap-5.1/jboss-as/bin/SASServer1.sh  stop

 

Exception :- 

Exception in thread "main" java.lang.SecurityException: Failed to authenticate principal=admin, securityDomain=jmx-console
at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:89)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264).

 

How to stop this server ?

 

New Contributor
Posts: 3

Re: How to stop SASserver5 in webserver

Below link may help you to resolve this issue.  http://support.sas.com/kb/46/371.html. 
Contributor
Posts: 49

Re: How to stop SASserver5 in webserver

Above metioned link is not available.Please check .

New Contributor
Posts: 3

Re: How to stop SASserver5 in webserver

http://support.sas.com/kb/46/371.html

 

Pls check this link. this may helpful.

SAS Employee
Posts: 102

Re: How to stop SASserver5 in webserver

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. 

Contributor
Posts: 49

Re: How to stop SASserver5 in webserver

Right now , i am killing the all process to stop server but it is not a good way so i want to stop it 

SAS Employee
Posts: 102

Re: How to stop SASserver5 in webserver

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."

Contributor
Posts: 49

Re: How to stop SASserver5 in webserver

HI , i have made the changes in  both file but problem i sstill there. Can please review both files 

Trusted Advisor
Posts: 1,314

Re: How to stop SASserver5 in webserver

Hi @MG18,

 

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).

Ask a Question
Discussion stats
  • 8 replies
  • 397 views
  • 2 likes
  • 4 in conversation