Wednesday, December 20, 2006

Starting Sun Appserver 8.1 without Typing in a Password

Since the Appserver tends to die quite often, this is good for adding a cronjob to cycle the thing every day.


Edit

/opt/SUNWappserver/sbin/passwordfile



Add the following:

AS_ADMIN_password=XXXXX



then start asadmin like so:

/opt/SUNWappserver/sbin/asadmin start-domain --user admin --passwordfile 
/opt/SUNWappserver/sbin/passwordfile domain1

(note that there should be no line wrap above)

No comments:

Labels

Blog Archive

Contributors