• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

installing applications from dos console.

 
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi everyone
Does anyone have an idea for installing / uninstalling applcations into WAS 5.1 using the dos console?
i seem to have uninstalled my admin console application from my default server and do not have any option but to reinstall WAS.
if anyone out there can help me out well it would save me a lot of trouble.


thanks a lot.
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To install, assuming you are using WAS base, invoke the wsadmin program in $WAS_HOME/bin, then enter the following jacl commands:

set installOptions [list -node "YOUR NODE NAME" -server "YOUR SERVER NAME"]
$AdminApp install "EAR TO INSTALL" $installOptions
$AdminConfig save

For "YOUR NODE NAME" substitute your node name. For "YOUR SERVER NAME" substitute your server name. For "EAR TO INSTALL" substitute the fully qualified name of the ear file you want to install, in your case that would be adminconsole.ear in the installableApps directory. Put the name in quotes if you have spaces in the directory name.

To uninstall an application, invoke wsadmin and enter the following command, substituting "ENTERPRISE APP NAME" with the enterprise application name (not the ear name):
$AdminApp uninstall "ENTERPRISE APP NAME"

See the InfoCenter for complete information on using the scripting facility. You can write very powerful administration scripts using either jacl or jython scripting languages.

Bill Lasley
Versant Corp.
http://www.versant.com
[ May 01, 2005: Message edited by: Bill Lasley ]
 
Niki Nono
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks bill
i will try it out and get back to you if i have any problems.
 
this is supposed to be a surprise, but it smells like a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic