Win a copy of Rust Web Development this week in the Other Languages 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Help with jacl script

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone, I'm trying to use a script to stop and start an application in Websphere 5.1.
When the script runs, I get this error:
WASX7022E: Problem running command "'\$AdminApp" -- exception information: com.ibm.bsf.BSFException: error while eval'ing Jacl expression: invalid command name "'$AdminApp"

I'm just trying to stop/start an application. Also, after we get this part working, we would like to stop, uninstall the app, install, and start. Do we need to 'stop' the app first using wsadmin just like the gui or can we just go to uninstall? Feel free to email me asap. Thanks everyone.

JR
 
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here are some examples:
http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html

http://www.skywayradio.com/tech/WAS51/ND_V51/ae/ae/rxml_stopapplication.php

There are plenty more out there.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic