Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Using wsadmin to install/update apps in WAS ND environment

 
Greenhorn
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:

$AdminApp
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:

$AdminApp
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 ]
 
rubbery bacon. crispy tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic