Monday, March 2, 2009

Command to deploy war file on Sun App Server

/opt/SUNWappserver/appserver/bin/asadmin deploy --user admin --passwordfile XXXXXXXX --host s-6000b-t6300d-zone7-sca11.sfbay.sun.com --port 4849 --contextroot amserver --name amserver --target domain /opt/SUNWam/amserver.war

1 comment:

  1. what an *obnoxious* hostname :)

    People complain to me because I always make them have a -1 on their hostname (brm-opensso-1) in (the likely) case that we have a -2 as well.... THAT looks like a horrific example of someone naming a local zone based on the global zones's name, and naming the global (physical) host based on the hardware. (blade 6300d in a Blade 6000 chassis... and the building code.. sheesh!

    ~tommy

    ReplyDelete