Date Created: Tue 21-Dec-2010

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


    Problem:

    C:\IBM\WebSphere\AppServer\bin>wsadmin.sh -f c:\temp\wasscripts\jvm.py
    'wsadmin.sh' is not recognized as an internal or external command,
    operable program or batch file.

    C:\IBM\WebSphere\AppServer\bin>wsadmin -f c:\temp\wasscripts\jvm.py
    WASX7209I: Connected to process "server1" on node T60Windows7PNode01 using SOAP
    connector; The type of process is: UnManagedProcess
    WASX7017E: Exception received while running file "c:\temp\wasscripts\jvm.py"; ex
    ception information: com.ibm.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    (no code object) at line 0
    File "<string>", line 6
    attr.append([['name','name1'],['value',value1']])
    ^
    SyntaxError: Lexical error at line 6, column 50. Encountered: "\r" (13), after
    : ""


    Error:

    attr.append([['name','name1'],['value',value1']])

    Solution:

    Add missing single quote for string.

    attr.append([['name','name1'],['value','value1']])

    Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories