Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> Services >> Middleware >> Sun Java System Application Server >> Overview of the native appserver installed with the Solaris OS

Related Packages: SUNWas*

application root: /usr/appserver

How to check version

# /usr/appserver/bin/asadmin version

How to create domain test1 with domain dir in /app/SUNWappserver/domains/test1

if /app/SUNWappserver/domains do not exist, create it first

# mkdir -p /app/SUNWappserver/domains

# asadmin create-domain --domaindir /app/SUNWappserver/domains --adminport 4801 --adminuser admin --instanceport 4701 test1

How to delete domain test1

# asadmin delete-deomain --domaindir /app/SUNWappserver/domains test1

How to start domain test1

# asadmin start-domain --domaindir /app/SUNWappserver/domains test1

Simple start script

/app/SUNWappserver/domains/test1/bin/start.sh
asadmin start-domain --domaindir /app/SUNWappserver/domains --user admin --passwordfile password.txt test1

/app/SUNWappserver/domains/test1/bin/password.txt
AS_ADMIN_PASSWORD=youradminpassword
AS_ADMIN_MASTERPASSWORD=yourmasterpassword

Simple stop script

/appSUNWappserver/domains/test1/bin/stop.sh
asadmin stop-domain --domaindir /app/SUNWappserver/domains test1

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]