• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Using wsadmin to install/update apps in WAS ND environment

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We've been using WAS 5.0.2 ND for many moons. When updating apps, we've always used the browser-based admin console. But going forward, we'd like to automate things a bit and use wsadmin to update apps. On a base version of WAS 5.0.2, I've no problem running a script to update and app. An example such as this works fine on a base WAS:

install /QIBM/UserData/WebAS5/ND/default/installableApps/EAR_Files/xxxxdev.ear
{ -server xxxxdev -defaultbinding.virtual.host xxxxweb -appname xxxxdev}

$AdminConfig save

When I try running this script on an ND version of WAS, I'm not having much luck. I have a feeling I'm leaving out an important option. So the question is: Are there special considerations for installing/updating apps in WAS ND with wsadmin?

*** Later developments ***

Made the installation work by adding -cell and -node information:

install /QIBM/UserData/WebAS5/ND/default/installableApps/EAR_Files/xxxxdev.ear
{ -cell xxxxNetwork -node xxxx -server xxxxdev -defaultbinding.virtual.host xxxxweb -appname xxxxdev}

$AdminConfig save

BUT I had to do a synchronize request via the admin console. Would like to do a syncNode command, but the documentation states that the node agent must be stopped first. Is there a less drastic way to synchronize via wsadmin?

[ October 14, 2004: Message edited by: Chris Schletty ]
[ October 15, 2004: Message edited by: Chris Schletty ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!