1 of 1 people found this helpful
Install jython wherever the jython scripts will run from.
Understood. Eventually I'll have to install on the application server so the jython scripts can run from there, but for now I want to run jython locally.
Any ideas on what the problem could be then with my local installation? I used Jython 2.5.2 and we're running 18.104.22.1685 of BBSAS.
bljython is not in your path. it should be in <install>/NSH/br or <install>/NSH/bin
Both <install>/NSH/br and <install>/NSH/bin are in my path. When I run "bljython" from a command prompt it is found, but when I run "bljython" from a NSH prompt it is not found.
Echo $PATH in the nsh shell? What’s in your path?
nsh: command not found: bljython
W7% echo $PATH
/cygdrive/C/Program Files (x86)/BMC Software/BladeLogic/8.1/NSH/bin:/cygdrive/C/
Program Files (x86)/BMC Software/BladeLogic/8.1/NSH/sbin:/cygdrive/C/Program Fil
es (x86)/BMC Software/BladeLogic/8.1/NSH/bin:/cygdrive/c/oracle/product/11.2.0/c
Program Files (x86)/Microsoft SQL Server/100/Tools/Binn/:/cygdrive/c/Program Fil
es/Microsoft SQL Server/100/Tools/Binn/:/cygdrive/c/Program Files/Microsoft SQL
Server/100/DTS/Binn/:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/100/To
ols/Binn/VSShell/Common7/IDE/:/cygdrive/c/Program Files (x86)/Microsoft SQL Serv
er/100/DTS/Binn/:/cygdrive/c/Program Files (x86)/WinMerge:/cygdrive/c/Program Fi
les/System Center Operations Manager 2007/:/cygdrive/c/Program Files (x86)/Front
Range Solutions/Service Management/:/cygdrive/c/Windows/idmu/common:/cygdrive/c/Progr
am Files (x86)/BMC Software/BladeLogic/8.1/NSH/bin:/cygdrive/c/Program Files/Tor
toiseSVN/bin:/cygdrive/c/Program Files (x86)/BMC Software/BladeLogic/8.1/NSH/br:
/cygdrive/c/Program Files/System Center Operations Manager 2007/
* The last two PATH entries are there when I "echo %PATH%" from a CMD prompt. The first three entries are being added to PATH by some other method (NSH?).
I was digging around in <install>/NSH/bin & <install>/NSH/br, and I noticed that there is no "bljython.exe" or "bljython.cfg"...but there is "bljythonexe.exe" and "bljythonexe.cfg".
For testing whether jython is installed properly, the BLCLI help states to run "bljython". If I switch to use "bljythonexe" instead, all is well. I ended up renaming "bljythonexe.exe" to just "bljython.exe" in \bin (and the "bljythonexe.cfg" to "bljython.cfg" in \br), and that worked as well.
Not sure whether its just the BLCLI help that isn't correct or whether I should have "bljython.exe" rather than "bljythonexe.exe" from the installation.
Bill or whomever can answer: Should this situation be raised to support for correcting the mismatch in naming (or correcting the documentation)?
is there a bljython.bat?
if so, from w/in nsh you need to run 'bljython.bat'.