WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Run jython script remotely on windows

    Posted Thu February 21, 2013 03:45 PM
    Hi,

    Is it possible to run jython script remotely on a windows machine?
    I tried creating bat file with Call command. But no luck. Is there any other way?

    set WASBIN=D:\IBM\WebSphere\WAS70\profiles\Dmgr01\bin\wsadmin
    set DMGRNODE= remotehostname
    set PORT=8879
    set jythonfile=restartcluster.py
    call %WASBIN% -host %DMGRNODE% -port %PORT% -lang jython -f %jythonfile%

    Thanks!


  • 2.  Run jython script remotely on windows

    Posted Thu February 21, 2013 07:40 PM
    So Im trying to execute restartcluster.py script from a remote windows machine on another windows machine. I have this bat file to access the wsadmin.bat and execute the jython script. But it does not work. I would like to know if its possible to execute jython script remotely?


  • 3.  Run jython script remotely on windows

    Posted Fri February 22, 2013 01:26 AM
    Hi su29,

      As Ralph say, is better if you detail your problem (error code, Operating System, WAS version,...)

      What you want is call from one windows machine (without WAS installed in it) to another?

      If yes, my recommendation is to use Administration Thin Client, i have used a lot of times, the link is for v6.1 you can found for later versions too.:

      Using the Administration Thin Client
      pic.dhe.ibm.com/infocenter/wasinfo/v6r1/...

      Tell us if you need more support.

    regards,