• 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

Can install Module using wscp

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello out there.
I'm running WebSphere 4.0 on AIX and I'm trying to use wscp to script the installation of a Module on a machine. (I'm trying to install a war file)
From what I've been able to find online, if I enter the following command I should be able to add a Module.
Module install /Node:$myNode/ $warLocation -contextroot $myContextRoot -appname /EnterpriseApp:$EnterpriseAppName/Module:$ModuleName/
However, when I enter this command, I get the following error...
WSCP0086E: Exception installing EnterpriseApp: com.ibm.ejs.sm.ejscp.commands.ArchiveInstallException: WSCP0161E: No Virtual Host specified for Module: InstallableServlet.war
For the life of me, I cannot find a way to pass the virtual host of "default_host" because I don't know of what option to use.
Can anyone help?
 
Ron Ditch
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please note that the EnterpriseApp that I want to add the module to already exists and is not running at the point I'm installing the module.
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try this,
Module install /Node:$myNode/ $warLocation -contextroot $myContextRoot -appname /EnterpriseApp:$EnterpriseAppName/Module:$ModuleName/ -modvirtualhosts $virthostlist -moduleappservers $appsvrlist
reply
    Bookmark Topic Watch Topic
  • New Topic